gmo_payment 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +7 -2
- data/CHANGELOG.md +7 -2
- data/Gemfile +4 -0
- data/README.md +20 -22
- data/lib/gmo_payment/client.rb +1 -1
- data/lib/gmo_payment/version.rb +1 -1
- data/spec/cassettes/GmoPayment_Client/_auth_to_sales/return_6_items.yml +22 -22
- data/spec/cassettes/GmoPayment_Client/_change_tran/return_6_items.yml +22 -22
- data/spec/cassettes/GmoPayment_Client/_delete_card/return_1_items.yml +16 -16
- data/spec/cassettes/GmoPayment_Client/_delete_member/return_1_items.yml +12 -12
- data/spec/cassettes/GmoPayment_Client/_delete_tran/return_6_items.yml +22 -22
- data/spec/cassettes/GmoPayment_Client/_entry_tran/return_2_items.yml +6 -6
- data/spec/cassettes/GmoPayment_Client/_entry_tran_btc/return_2_items.yml +7 -7
- data/spec/cassettes/GmoPayment_Client/_exec_tran/return_12_items.yml +17 -17
- data/spec/cassettes/GmoPayment_Client/_exec_tran_3d/return_4_items.yml +12 -12
- data/spec/cassettes/GmoPayment_Client/_exec_tran_btc/return_3_items.yml +14 -14
- data/spec/cassettes/GmoPayment_Client/_exec_tran_member/return_12_items.yml +29 -28
- data/spec/cassettes/GmoPayment_Client/_exec_tran_member_3d/return_4_items.yml +23 -23
- data/spec/cassettes/GmoPayment_Client/_get_rate_btc/return_1_item.yml +4 -4
- data/spec/cassettes/GmoPayment_Client/_re_exec_tran/return_6_items.yml +27 -27
- data/spec/cassettes/GmoPayment_Client/_save_card/return_3_items.yml +11 -11
- data/spec/cassettes/GmoPayment_Client/_save_member/return_1_items.yml +6 -6
- data/spec/cassettes/GmoPayment_Client/_save_traded_card/return_3_items.yml +34 -33
- data/spec/cassettes/GmoPayment_Client/_search_card/return_7_items.yml +16 -16
- data/spec/cassettes/GmoPayment_Client/_search_member/return_3_items.yml +12 -12
- data/spec/cassettes/GmoPayment_Client/_search_trade/return_21_items.yml +12 -12
- data/spec/cassettes/GmoPayment_Client/_search_trade_btc/return_11_items.yml +13 -13
- data/spec/cassettes/GmoPayment_Client/_secure_tran/return_11_items.yml +26 -26
- data/spec/cassettes/GmoPayment_Client/_update_card/return_3_items.yml +16 -16
- data/spec/cassettes/GmoPayment_Client/_update_member/return_1_items.yml +12 -12
- data/spec/gmo_payment/client_spec.rb +66 -29
- data/spec/gmo_payment/errors_spec.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0dd1544385032d526e95e4b5761dd882f0ec4d3bcb3524f38af317af1f940134
|
4
|
+
data.tar.gz: 661868f8607f279cd3eaeb461fbf1fa8336e1e42fefd4df766f3260bff55f2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7807dfac26992aef1cd938111eb2eaea1ab3068ac84c506cacf3c1226dedd596cbd1e36dbd28b25f74de9b7c697afd58f4ab473cf3177154e76b8acecf343c1
|
7
|
+
data.tar.gz: 7d5fe2bca51fa10b68208291c65722e6f1320746af9f2caba4f0882d11c3d8cece5bbf87baca85d9504285348a07b5bc308bc661288d8368f8f2ce414f9f9cd5
|
data/.travis.yml
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.0.0
|
4
3
|
- 2.1
|
5
4
|
- 2.2
|
5
|
+
- 2.3
|
6
|
+
- 2.4
|
7
|
+
- 2.5
|
6
8
|
env:
|
7
9
|
global:
|
8
10
|
- GMO_TEST_API_ENDPOINT="example.com"
|
@@ -17,4 +19,7 @@ env:
|
|
17
19
|
- GMO_TEST_CARD_NO_Y_MASK="*************999"
|
18
20
|
- GMO_TEST_ACS_URL="https://example.com/"
|
19
21
|
- GMO_TEST_BTC_URL="https://example.com/"
|
20
|
-
bundler_args: --without docs
|
22
|
+
bundler_args: --without docs development
|
23
|
+
notifications:
|
24
|
+
slack:
|
25
|
+
secure: I2C1iHx9Vq8U9DtBeernMNCzSoo7pLWz1Cdy8ya/Kx2yAvCcNAAnB697EBH2h38O0QkCjRR0IcHgv3yzpVyKSx7YuNLwLyljhvgoiSGtCK7wcMnlmtrQ2tR/0Ef+R1o83YAma7P34yo41FUmwbr7+77sCfEGlZZqzttBt0a9Gg9uekYptw2zu/dO1QWxNeyHbfm0ChlMq0/KKRK4StpZG4XKK1dWlf4agU9I93aNkc8u/h6gbNdpK4BoeLSgJEguSpFmboL6dsVyR7ZqnoQfHSWJdxlKsW+UyKo9ZiDvUoV8lx3/wR0G/cxG25jalcEojFhUN+clGdfFINhFJTgJzZTU509UvjPrPG+MosDrvmGzLU5uCx+2wZ6PQl/vJNYvlfR708XsUS6iNcqZpklqNV09hMgrFzqersu+dqaIzQjb9BgPOs1Rgc4TbCgEdsqE+YvxIcocHZyCuhmrgGGYuPFeYCm6PxLf+C0hacvgz6YG0ZQJ3tmcpUxDgIFJaMUgOP6g5qX4+nfrDe8DV4BZzM4hMrITEyJR1qmJD1ik8bRO5BFG/yhdYWSEmlRfIwBNA9PlfDbrRvFbzzzfPyrrOl7jJrk2BKXWfXee15y4iNcquXbGcUG3qyqutY2B4aRWL0rW93yOzIi9pqG5OEqwLqQT6mGkFdiseK8VwpBV6wI=
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -6,9 +6,9 @@ Ruby client for the protocol type API provided by GMO Payment Gateway.
|
|
6
6
|
|
7
7
|
This library includes:
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
* Credit-Card protocol API - Version: 2014/03/18 1.13
|
10
|
+
* Multi-Payment protocol API (Bitcoin) - Version: 2015/04/01 1.32
|
11
|
+
* ErrorCode - Version: 2015/02/26 1.43
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
@@ -73,28 +73,26 @@ You can use generator in Ruby on Rails:
|
|
73
73
|
|
74
74
|
If you want to test in your environment, you have to define:
|
75
75
|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
- GMO_TEST_ACS_URL
|
89
|
-
- GMO_TEST_BTC_URL
|
76
|
+
* `GMO_TEST_API_ENDPOINT`
|
77
|
+
* `GMO_TEST_SITE_ID`
|
78
|
+
* `GMO_TEST_SITE_PASS`
|
79
|
+
* `GMO_TEST_SHOP_ID`
|
80
|
+
* `GMO_TEST_SHOP_PASS`
|
81
|
+
* `GMO_TEST_CARD_EXPIRE`
|
82
|
+
* `GMO_TEST_CARD_NO_N`: _Non-ACS test card number_
|
83
|
+
* `GMO_TEST_CARD_NO_N_MASK`
|
84
|
+
* `GMO_TEST_CARD_NO_Y`: _ACS test card number_
|
85
|
+
* `GMO_TEST_CARD_NO_Y_MASK`
|
86
|
+
* `GMO_TEST_ACS_URL`
|
87
|
+
* `GMO_TEST_BTC_URL`
|
90
88
|
|
91
89
|
## Contributing
|
92
90
|
|
93
|
-
1.
|
94
|
-
2.
|
95
|
-
3.
|
96
|
-
4.
|
97
|
-
5.
|
91
|
+
1. Fork it (https://github.com/kouhei-fuji/gmo_payment/fork)
|
92
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
93
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
94
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
95
|
+
5. Create a new Pull Request
|
98
96
|
|
99
97
|
## License
|
100
98
|
|
data/lib/gmo_payment/client.rb
CHANGED
@@ -51,7 +51,7 @@ module GmoPayment
|
|
51
51
|
http = ::Net::HTTP.new(@options.api_endpoint, 443,
|
52
52
|
proxy.host, proxy.port, proxy.user, proxy.password)
|
53
53
|
http.use_ssl = true
|
54
|
-
http.ssl_version = :
|
54
|
+
http.ssl_version = :TLSv1_2
|
55
55
|
http.verify_mode = @options.verify_mode
|
56
56
|
http.ssl_timeout = 120
|
57
57
|
http.open_timeout = 15
|
data/lib/gmo_payment/version.rb
CHANGED
@@ -5,16 +5,16 @@ http_interactions:
|
|
5
5
|
uri: https://<API_ENDPOINT>/payment/EntryTran.idPass
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: OrderID=
|
8
|
+
string: OrderID=60b2d5fc510b875e1bc054a755&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
12
12
|
User-Agent:
|
13
|
-
- RubyGem/GmoPayment/0.0.
|
13
|
+
- RubyGem/GmoPayment/0.0.2
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Content-Length:
|
17
|
-
- '
|
17
|
+
- '93'
|
18
18
|
Content-Type:
|
19
19
|
- application/x-www-form-urlencoded
|
20
20
|
response:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Server:
|
26
26
|
- nginx
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 28 May 2018 09:14:45 GMT
|
29
29
|
Content-Type:
|
30
30
|
- text/plain;charset=Windows-31J
|
31
31
|
Transfer-Encoding:
|
@@ -34,24 +34,24 @@ http_interactions:
|
|
34
34
|
- close
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: AccessID=
|
37
|
+
string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Mon, 28 May 2018 09:14:45 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: https://<API_ENDPOINT>/payment/ExecTran.idPass
|
43
43
|
body:
|
44
44
|
encoding: US-ASCII
|
45
|
-
string: AccessID=
|
45
|
+
string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c&OrderID=60b2d5fc510b875e1bc054a755&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23auth_to_sales&ClientFieldFlag=1
|
46
46
|
headers:
|
47
47
|
Accept:
|
48
48
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
49
49
|
User-Agent:
|
50
|
-
- RubyGem/GmoPayment/0.0.
|
50
|
+
- RubyGem/GmoPayment/0.0.2
|
51
51
|
Accept-Encoding:
|
52
52
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
53
|
Content-Length:
|
54
|
-
- '
|
54
|
+
- '270'
|
55
55
|
Content-Type:
|
56
56
|
- application/x-www-form-urlencoded
|
57
57
|
response:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
Server:
|
63
63
|
- nginx
|
64
64
|
Date:
|
65
|
-
-
|
65
|
+
- Mon, 28 May 2018 09:14:46 GMT
|
66
66
|
Content-Type:
|
67
67
|
- text/plain;charset=Windows-31J
|
68
68
|
Transfer-Encoding:
|
@@ -72,25 +72,25 @@ http_interactions:
|
|
72
72
|
body:
|
73
73
|
encoding: ASCII-8BIT
|
74
74
|
string: !binary |-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
75
|
+
QUNTPTAmT3JkZXJJRD02MGIyZDVmYzUxMGI4NzVlMWJjMDU0YTc1NSZGb3J3
|
76
|
+
YXJkPTJhOTk2NjImTWV0aG9kPTEmUGF5VGltZXM9JkFwcHJvdmU9NDU2MzI1
|
77
|
+
NCZUcmFuSUQ9MTgwNTI4MTgxNDExMTExMTExMTExMTg3MDg5NyZUcmFuRGF0
|
78
|
+
ZT0yMDE4MDUyODE4MTQ0NSZDaGVja1N0cmluZz0xZDRhNmYyMjcyZWRhMzc4
|
79
|
+
N2E2NjBjMGRkODEyN2Y5YyZDbGllbnRGaWVsZDE9REVWVEVTVCZDbGllbnRG
|
80
|
+
aWVsZDI9ikqUrYNlg1iDZyZDbGllbnRGaWVsZDM9I2F1dGhfdG9fc2FsZXM=
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Mon, 28 May 2018 09:14:46 GMT
|
83
83
|
- request:
|
84
84
|
method: post
|
85
85
|
uri: https://<API_ENDPOINT>/payment/AlterTran.idPass
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
|
-
string: AccessID=
|
88
|
+
string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c&Amount=1&JobCd=SALES&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
89
89
|
headers:
|
90
90
|
Accept:
|
91
91
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
92
92
|
User-Agent:
|
93
|
-
- RubyGem/GmoPayment/0.0.
|
93
|
+
- RubyGem/GmoPayment/0.0.2
|
94
94
|
Accept-Encoding:
|
95
95
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
96
96
|
Content-Length:
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
Server:
|
106
106
|
- nginx
|
107
107
|
Date:
|
108
|
-
-
|
108
|
+
- Mon, 28 May 2018 09:14:46 GMT
|
109
109
|
Content-Type:
|
110
110
|
- text/plain;charset=Windows-31J
|
111
111
|
Transfer-Encoding:
|
@@ -114,7 +114,7 @@ http_interactions:
|
|
114
114
|
- close
|
115
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
|
-
string: AccessID=
|
117
|
+
string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c&Forward=2a99662&Approve=4563254&TranID=1805281814111111111111870897&TranDate=20180528181446
|
118
118
|
http_version:
|
119
|
-
recorded_at:
|
119
|
+
recorded_at: Mon, 28 May 2018 09:14:46 GMT
|
120
120
|
recorded_with: VCR 2.9.3
|
@@ -5,16 +5,16 @@ http_interactions:
|
|
5
5
|
uri: https://<API_ENDPOINT>/payment/EntryTran.idPass
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: OrderID=
|
8
|
+
string: OrderID=ff96841982338452012ab9a855&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
12
12
|
User-Agent:
|
13
|
-
- RubyGem/GmoPayment/0.0.
|
13
|
+
- RubyGem/GmoPayment/0.0.2
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Content-Length:
|
17
|
-
- '
|
17
|
+
- '93'
|
18
18
|
Content-Type:
|
19
19
|
- application/x-www-form-urlencoded
|
20
20
|
response:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Server:
|
26
26
|
- nginx
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 28 May 2018 09:14:38 GMT
|
29
29
|
Content-Type:
|
30
30
|
- text/plain;charset=Windows-31J
|
31
31
|
Transfer-Encoding:
|
@@ -34,24 +34,24 @@ http_interactions:
|
|
34
34
|
- close
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: AccessID=
|
37
|
+
string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Mon, 28 May 2018 09:14:38 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: https://<API_ENDPOINT>/payment/ExecTran.idPass
|
43
43
|
body:
|
44
44
|
encoding: US-ASCII
|
45
|
-
string: AccessID=
|
45
|
+
string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9&OrderID=ff96841982338452012ab9a855&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23change_tran&ClientFieldFlag=1
|
46
46
|
headers:
|
47
47
|
Accept:
|
48
48
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
49
49
|
User-Agent:
|
50
|
-
- RubyGem/GmoPayment/0.0.
|
50
|
+
- RubyGem/GmoPayment/0.0.2
|
51
51
|
Accept-Encoding:
|
52
52
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
53
|
Content-Length:
|
54
|
-
- '
|
54
|
+
- '268'
|
55
55
|
Content-Type:
|
56
56
|
- application/x-www-form-urlencoded
|
57
57
|
response:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
Server:
|
63
63
|
- nginx
|
64
64
|
Date:
|
65
|
-
-
|
65
|
+
- Mon, 28 May 2018 09:14:40 GMT
|
66
66
|
Content-Type:
|
67
67
|
- text/plain;charset=Windows-31J
|
68
68
|
Transfer-Encoding:
|
@@ -72,25 +72,25 @@ http_interactions:
|
|
72
72
|
body:
|
73
73
|
encoding: ASCII-8BIT
|
74
74
|
string: !binary |-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
75
|
+
QUNTPTAmT3JkZXJJRD1mZjk2ODQxOTgyMzM4NDUyMDEyYWI5YTg1NSZGb3J3
|
76
|
+
YXJkPTJhOTk2NjImTWV0aG9kPTEmUGF5VGltZXM9JkFwcHJvdmU9NDU2MzI1
|
77
|
+
MCZUcmFuSUQ9MTgwNTI4MTgxNDExMTExMTExMTExMTg3MDg5MyZUcmFuRGF0
|
78
|
+
ZT0yMDE4MDUyODE4MTQ0MCZDaGVja1N0cmluZz1jMzgxMzU2MjJhZmVlMGRm
|
79
|
+
MjhhODljNmM5MjE3MjY3OSZDbGllbnRGaWVsZDE9REVWVEVTVCZDbGllbnRG
|
80
|
+
aWVsZDI9ikqUrYNlg1iDZyZDbGllbnRGaWVsZDM9I2NoYW5nZV90cmFu
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Mon, 28 May 2018 09:14:40 GMT
|
83
83
|
- request:
|
84
84
|
method: post
|
85
85
|
uri: https://<API_ENDPOINT>/payment/ChangeTran.idPass
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
|
-
string: AccessID=
|
88
|
+
string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9&JobCd=AUTH&Amount=2&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
89
89
|
headers:
|
90
90
|
Accept:
|
91
91
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
92
92
|
User-Agent:
|
93
|
-
- RubyGem/GmoPayment/0.0.
|
93
|
+
- RubyGem/GmoPayment/0.0.2
|
94
94
|
Accept-Encoding:
|
95
95
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
96
96
|
Content-Length:
|
@@ -105,7 +105,7 @@ http_interactions:
|
|
105
105
|
Server:
|
106
106
|
- nginx
|
107
107
|
Date:
|
108
|
-
-
|
108
|
+
- Mon, 28 May 2018 09:14:44 GMT
|
109
109
|
Content-Type:
|
110
110
|
- text/plain;charset=Windows-31J
|
111
111
|
Transfer-Encoding:
|
@@ -114,7 +114,7 @@ http_interactions:
|
|
114
114
|
- close
|
115
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
|
-
string: AccessID=
|
117
|
+
string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9&Forward=2a99662&Approve=4563252&TranID=1805281814111111111111870895&TranDate=20180528181442
|
118
118
|
http_version:
|
119
|
-
recorded_at:
|
119
|
+
recorded_at: Mon, 28 May 2018 09:14:43 GMT
|
120
120
|
recorded_with: VCR 2.9.3
|
@@ -5,16 +5,16 @@ http_interactions:
|
|
5
5
|
uri: https://<API_ENDPOINT>/payment/SaveMember.idPass
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: MemberID=
|
8
|
+
string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
12
12
|
User-Agent:
|
13
|
-
- RubyGem/GmoPayment/0.0.
|
13
|
+
- RubyGem/GmoPayment/0.0.2
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Content-Length:
|
17
|
-
- '
|
17
|
+
- '84'
|
18
18
|
Content-Type:
|
19
19
|
- application/x-www-form-urlencoded
|
20
20
|
response:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Server:
|
26
26
|
- nginx
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 28 May 2018 09:14:55 GMT
|
29
29
|
Content-Type:
|
30
30
|
- text/plain;charset=Windows-31J
|
31
31
|
Transfer-Encoding:
|
@@ -34,24 +34,24 @@ http_interactions:
|
|
34
34
|
- close
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: MemberID=
|
37
|
+
string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Mon, 28 May 2018 09:14:55 GMT
|
40
40
|
- request:
|
41
41
|
method: post
|
42
42
|
uri: https://<API_ENDPOINT>/payment/SaveCard.idPass
|
43
43
|
body:
|
44
44
|
encoding: US-ASCII
|
45
|
-
string: MemberID=
|
45
|
+
string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
|
46
46
|
headers:
|
47
47
|
Accept:
|
48
48
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
49
49
|
User-Agent:
|
50
|
-
- RubyGem/GmoPayment/0.0.
|
50
|
+
- RubyGem/GmoPayment/0.0.2
|
51
51
|
Accept-Encoding:
|
52
52
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
53
|
Content-Length:
|
54
|
-
- '
|
54
|
+
- '120'
|
55
55
|
Content-Type:
|
56
56
|
- application/x-www-form-urlencoded
|
57
57
|
response:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
Server:
|
63
63
|
- nginx
|
64
64
|
Date:
|
65
|
-
-
|
65
|
+
- Mon, 28 May 2018 09:14:58 GMT
|
66
66
|
Content-Type:
|
67
67
|
- text/plain;charset=Windows-31J
|
68
68
|
Transfer-Encoding:
|
@@ -73,22 +73,22 @@ http_interactions:
|
|
73
73
|
encoding: UTF-8
|
74
74
|
string: CardSeq=0&CardNo=<CARD_NO_N_MASK>&Forward=2a99662
|
75
75
|
http_version:
|
76
|
-
recorded_at:
|
76
|
+
recorded_at: Mon, 28 May 2018 09:14:59 GMT
|
77
77
|
- request:
|
78
78
|
method: post
|
79
79
|
uri: https://<API_ENDPOINT>/payment/DeleteCard.idPass
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
|
-
string: MemberID=
|
82
|
+
string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f&CardSeq=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
|
83
83
|
headers:
|
84
84
|
Accept:
|
85
85
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
86
86
|
User-Agent:
|
87
|
-
- RubyGem/GmoPayment/0.0.
|
87
|
+
- RubyGem/GmoPayment/0.0.2
|
88
88
|
Accept-Encoding:
|
89
89
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
90
90
|
Content-Length:
|
91
|
-
- '
|
91
|
+
- '94'
|
92
92
|
Content-Type:
|
93
93
|
- application/x-www-form-urlencoded
|
94
94
|
response:
|
@@ -99,7 +99,7 @@ http_interactions:
|
|
99
99
|
Server:
|
100
100
|
- nginx
|
101
101
|
Date:
|
102
|
-
-
|
102
|
+
- Mon, 28 May 2018 09:14:59 GMT
|
103
103
|
Content-Type:
|
104
104
|
- text/plain;charset=Windows-31J
|
105
105
|
Transfer-Encoding:
|
@@ -110,5 +110,5 @@ http_interactions:
|
|
110
110
|
encoding: UTF-8
|
111
111
|
string: CardSeq=0
|
112
112
|
http_version:
|
113
|
-
recorded_at:
|
113
|
+
recorded_at: Mon, 28 May 2018 09:14:59 GMT
|
114
114
|
recorded_with: VCR 2.9.3
|