gmo_payment 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -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=6220713d-123e-428e-acb1-1ff9ae74ce08&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:15:02 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=6220713d-123e-428e-acb1-1ff9ae74ce08
|
|
38
38
|
http_version:
|
|
39
|
-
recorded_at:
|
|
39
|
+
recorded_at: Mon, 28 May 2018 09:15:02 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=6220713d-123e-428e-acb1-1ff9ae74ce08&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:15:04 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:15:04 GMT
|
|
77
77
|
- request:
|
|
78
78
|
method: post
|
|
79
79
|
uri: https://<API_ENDPOINT>/payment/EntryTran.idPass
|
|
80
80
|
body:
|
|
81
81
|
encoding: US-ASCII
|
|
82
|
-
string: OrderID=
|
|
82
|
+
string: OrderID=1628026c4da080993e075ce0dc&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_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
|
+
- '93'
|
|
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:15:04 GMT
|
|
103
103
|
Content-Type:
|
|
104
104
|
- text/plain;charset=Windows-31J
|
|
105
105
|
Transfer-Encoding:
|
|
@@ -108,24 +108,24 @@ http_interactions:
|
|
|
108
108
|
- close
|
|
109
109
|
body:
|
|
110
110
|
encoding: UTF-8
|
|
111
|
-
string: AccessID=
|
|
111
|
+
string: AccessID=bae9a80811ed14ef4b73c154d9fc02d3&AccessPass=cfbc9039fb2e24520c0fc47d0228c908
|
|
112
112
|
http_version:
|
|
113
|
-
recorded_at:
|
|
113
|
+
recorded_at: Mon, 28 May 2018 09:15:04 GMT
|
|
114
114
|
- request:
|
|
115
115
|
method: post
|
|
116
116
|
uri: https://<API_ENDPOINT>/payment/ExecTran.idPass
|
|
117
117
|
body:
|
|
118
118
|
encoding: US-ASCII
|
|
119
|
-
string: AccessID=
|
|
119
|
+
string: AccessID=bae9a80811ed14ef4b73c154d9fc02d3&AccessPass=cfbc9039fb2e24520c0fc47d0228c908&OrderID=1628026c4da080993e075ce0dc&MemberID=6220713d-123e-428e-acb1-1ff9ae74ce08&CardSeq=0&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23exec_tran_member&ClientFieldFlag=1&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
|
|
120
120
|
headers:
|
|
121
121
|
Accept:
|
|
122
122
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
|
123
123
|
User-Agent:
|
|
124
|
-
- RubyGem/GmoPayment/0.0.
|
|
124
|
+
- RubyGem/GmoPayment/0.0.2
|
|
125
125
|
Accept-Encoding:
|
|
126
126
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
127
127
|
Content-Length:
|
|
128
|
-
- '
|
|
128
|
+
- '332'
|
|
129
129
|
Content-Type:
|
|
130
130
|
- application/x-www-form-urlencoded
|
|
131
131
|
response:
|
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
|
136
136
|
Server:
|
|
137
137
|
- nginx
|
|
138
138
|
Date:
|
|
139
|
-
-
|
|
139
|
+
- Mon, 28 May 2018 09:15:06 GMT
|
|
140
140
|
Content-Type:
|
|
141
141
|
- text/plain;charset=Windows-31J
|
|
142
142
|
Transfer-Encoding:
|
|
@@ -146,12 +146,13 @@ http_interactions:
|
|
|
146
146
|
body:
|
|
147
147
|
encoding: ASCII-8BIT
|
|
148
148
|
string: !binary |-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
QUNTPTAmT3JkZXJJRD0xNjI4MDI2YzRkYTA4MDk5M2UwNzVjZTBkYyZGb3J3
|
|
150
|
+
YXJkPTJhOTk2NjImTWV0aG9kPTEmUGF5VGltZXM9JkFwcHJvdmU9NDU2MzI2
|
|
151
|
+
NSZUcmFuSUQ9MTgwNTI4MTgxNTExMTExMTExMTExMTg3MDkwOCZUcmFuRGF0
|
|
152
|
+
ZT0yMDE4MDUyODE4MTUwNiZDaGVja1N0cmluZz1mM2ZhN2NlM2U5MDA2N2Q1
|
|
153
|
+
ZWRmOTZhODc3ZjQ3MjNlMCZDbGllbnRGaWVsZDE9REVWVEVTVCZDbGllbnRG
|
|
154
|
+
aWVsZDI9ikqUrYNlg1iDZyZDbGllbnRGaWVsZDM9I2V4ZWNfdHJhbl9tZW1i
|
|
155
|
+
ZXI=
|
|
155
156
|
http_version:
|
|
156
|
-
recorded_at:
|
|
157
|
+
recorded_at: Mon, 28 May 2018 09:15:06 GMT
|
|
157
158
|
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=46cb455f-5af0-41d8-81a0-97b85456d6bf&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:15:00 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=46cb455f-5af0-41d8-81a0-97b85456d6bf
|
|
38
38
|
http_version:
|
|
39
|
-
recorded_at:
|
|
39
|
+
recorded_at: Mon, 28 May 2018 09:15:00 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=46cb455f-5af0-41d8-81a0-97b85456d6bf&CardNo=<CARD_NO_Y>&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:15:00 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_Y_MASK>&Forward=2a99662
|
|
75
75
|
http_version:
|
|
76
|
-
recorded_at:
|
|
76
|
+
recorded_at: Mon, 28 May 2018 09:15:00 GMT
|
|
77
77
|
- request:
|
|
78
78
|
method: post
|
|
79
79
|
uri: https://<API_ENDPOINT>/payment/EntryTran.idPass
|
|
80
80
|
body:
|
|
81
81
|
encoding: US-ASCII
|
|
82
|
-
string: OrderID=
|
|
82
|
+
string: OrderID=0c13480efcaa1f1666b7461002&JobCd=AUTH&Amount=1&TdFlag=1&TdTenantName=REVWpcaluaXIpM7Fucre&ShopID=<SHOP_ID>&ShopPass=<SHOP_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
|
+
- '136'
|
|
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:15:00 GMT
|
|
103
103
|
Content-Type:
|
|
104
104
|
- text/plain;charset=Windows-31J
|
|
105
105
|
Transfer-Encoding:
|
|
@@ -108,24 +108,24 @@ http_interactions:
|
|
|
108
108
|
- close
|
|
109
109
|
body:
|
|
110
110
|
encoding: UTF-8
|
|
111
|
-
string: AccessID=
|
|
111
|
+
string: AccessID=9fa18c3471da2ed0053c4aee7a863e62&AccessPass=42946e4d03c68d8335e6cc2fc788c38b
|
|
112
112
|
http_version:
|
|
113
|
-
recorded_at:
|
|
113
|
+
recorded_at: Mon, 28 May 2018 09:15:00 GMT
|
|
114
114
|
- request:
|
|
115
115
|
method: post
|
|
116
116
|
uri: https://<API_ENDPOINT>/payment/ExecTran.idPass
|
|
117
117
|
body:
|
|
118
118
|
encoding: US-ASCII
|
|
119
|
-
string: AccessID=
|
|
119
|
+
string: AccessID=9fa18c3471da2ed0053c4aee7a863e62&AccessPass=42946e4d03c68d8335e6cc2fc788c38b&OrderID=0c13480efcaa1f1666b7461002&MemberID=46cb455f-5af0-41d8-81a0-97b85456d6bf&CardSeq=0&HttpAccept=*%2F*&HttpUserAgent=Rspec&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23exec_tran_member_3d&ClientFieldFlag=1&DeviceCategory=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
|
|
120
120
|
headers:
|
|
121
121
|
Accept:
|
|
122
122
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
|
123
123
|
User-Agent:
|
|
124
|
-
- RubyGem/GmoPayment/0.0.
|
|
124
|
+
- RubyGem/GmoPayment/0.0.2
|
|
125
125
|
Accept-Encoding:
|
|
126
126
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
127
127
|
Content-Length:
|
|
128
|
-
- '
|
|
128
|
+
- '389'
|
|
129
129
|
Content-Type:
|
|
130
130
|
- application/x-www-form-urlencoded
|
|
131
131
|
response:
|
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
|
136
136
|
Server:
|
|
137
137
|
- nginx
|
|
138
138
|
Date:
|
|
139
|
-
-
|
|
139
|
+
- Mon, 28 May 2018 09:15:01 GMT
|
|
140
140
|
Content-Type:
|
|
141
141
|
- text/plain;charset=Windows-31J
|
|
142
142
|
Transfer-Encoding:
|
|
@@ -145,7 +145,7 @@ http_interactions:
|
|
|
145
145
|
- close
|
|
146
146
|
body:
|
|
147
147
|
encoding: UTF-8
|
|
148
|
-
string: ACS=1&ACSUrl=<ACS_URL>&PaReq=
|
|
148
|
+
string: ACS=1&ACSUrl=<ACS_URL>&PaReq=eJxVUs1u2kAQfhXL97I/9oKNhkFunSgcaFFKc1/WCxhhm9imwLGNFOUN8ha5N6+DIvUxsusYkhxWO9/MaL5vv1kY7rO181uXVVrkA5d1qOvoXBVJmi8G7q/p5ZfAHSJMl6XW8U+ttqVGGOuqkgvtpMnAnchrfcsE7/lhEFLmeV7IOQ96YdCjPhddIbpMuAiTyPQhtExoiDocyAmakaVayrxGkOr26+g7+ox7vgDSQsh0OYqxSXZ7lumt/JaGXGYa44ub49398e+/493D8c/Ty/Pj/4dHIE0NVLHN6/KA1OsCOQHYlmtc1vWmT8hut+ssNvKQ6byuOqrICBBbBvKubbK1UWXG7dMEx6to/yOO2Hi1MPcFG8fRrjnT0QCI7YBE1ho5ZQEVPHBo2GeiTxmQJg8yszrQ4DaCjSWIzumPEIz3pVnNAY3D5gknBHq/KXIjGimQcwyJrhQ6hsneQN6Vf7uyHqva2BayUPpiNvfmcj7zZoKpIDELDCTjc+t802Tnp8YrFlrhLQBix5B2qaT9ECb69FFeASTSyKI=&MD=9fa18c3471da2ed0053c4aee7a863e62
|
|
149
149
|
http_version:
|
|
150
|
-
recorded_at:
|
|
150
|
+
recorded_at: Mon, 28 May 2018 09:15:01 GMT
|
|
151
151
|
recorded_with: VCR 2.9.3
|
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
|
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:
|
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
|
25
25
|
Server:
|
|
26
26
|
- nginx
|
|
27
27
|
Date:
|
|
28
|
-
-
|
|
28
|
+
- Mon, 28 May 2018 09:15:22 GMT
|
|
29
29
|
Content-Type:
|
|
30
|
-
- text/plain;charset=
|
|
30
|
+
- text/plain;charset=Shift_JIS
|
|
31
31
|
Content-Length:
|
|
32
32
|
- '12'
|
|
33
33
|
Connection:
|
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
|
38
38
|
encoding: UTF-8
|
|
39
39
|
string: medium=45000
|
|
40
40
|
http_version:
|
|
41
|
-
recorded_at:
|
|
41
|
+
recorded_at: Mon, 28 May 2018 09:15:22 GMT
|
|
42
42
|
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=57f181d07621f95afd8b4a361d&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:15:15 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=97658c7342bdc08fc3151d2edadaef3e&AccessPass=0fea8387ec11159b7da22b8838c0ebfa
|
|
38
38
|
http_version:
|
|
39
|
-
recorded_at:
|
|
39
|
+
recorded_at: Mon, 28 May 2018 09:15:16 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=97658c7342bdc08fc3151d2edadaef3e&AccessPass=0fea8387ec11159b7da22b8838c0ebfa&OrderID=57f181d07621f95afd8b4a361d&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23re_exec_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
|
+
- '269'
|
|
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:15:18 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
|
+
QUNTPTAmT3JkZXJJRD01N2YxODFkMDc2MjFmOTVhZmQ4YjRhMzYxZCZGb3J3
|
|
76
|
+
YXJkPTJhOTk2NjImTWV0aG9kPTEmUGF5VGltZXM9JkFwcHJvdmU9NDU2MzI3
|
|
77
|
+
NSZUcmFuSUQ9MTgwNTI4MTgxNTExMTExMTExMTExMTg3MDkxOCZUcmFuRGF0
|
|
78
|
+
ZT0yMDE4MDUyODE4MTUxOCZDaGVja1N0cmluZz1jN2JiZWI1MjY5ODczOTA5
|
|
79
|
+
MTA5YzBkYzY0YjYzZGE1NCZDbGllbnRGaWVsZDE9REVWVEVTVCZDbGllbnRG
|
|
80
|
+
aWVsZDI9ikqUrYNlg1iDZyZDbGllbnRGaWVsZDM9I3JlX2V4ZWNfdHJhbg==
|
|
81
81
|
http_version:
|
|
82
|
-
recorded_at:
|
|
82
|
+
recorded_at: Mon, 28 May 2018 09:15:18 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=97658c7342bdc08fc3151d2edadaef3e&AccessPass=0fea8387ec11159b7da22b8838c0ebfa&JobCd=VOID&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:15:19 GMT
|
|
109
109
|
Content-Type:
|
|
110
110
|
- text/plain;charset=Windows-31J
|
|
111
111
|
Transfer-Encoding:
|
|
@@ -114,20 +114,20 @@ http_interactions:
|
|
|
114
114
|
- close
|
|
115
115
|
body:
|
|
116
116
|
encoding: UTF-8
|
|
117
|
-
string: AccessID=
|
|
117
|
+
string: AccessID=97658c7342bdc08fc3151d2edadaef3e&AccessPass=0fea8387ec11159b7da22b8838c0ebfa&Forward=2a99662&Approve=4563279&TranID=1805281815111111111111870922&TranDate=20180528181519
|
|
118
118
|
http_version:
|
|
119
|
-
recorded_at:
|
|
119
|
+
recorded_at: Mon, 28 May 2018 09:15:20 GMT
|
|
120
120
|
- request:
|
|
121
121
|
method: post
|
|
122
122
|
uri: https://<API_ENDPOINT>/payment/AlterTran.idPass
|
|
123
123
|
body:
|
|
124
124
|
encoding: US-ASCII
|
|
125
|
-
string: AccessID=
|
|
125
|
+
string: AccessID=97658c7342bdc08fc3151d2edadaef3e&AccessPass=0fea8387ec11159b7da22b8838c0ebfa&JobCd=AUTH&Amount=1&Method=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
|
126
126
|
headers:
|
|
127
127
|
Accept:
|
|
128
128
|
- application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
|
|
129
129
|
User-Agent:
|
|
130
|
-
- RubyGem/GmoPayment/0.0.
|
|
130
|
+
- RubyGem/GmoPayment/0.0.2
|
|
131
131
|
Accept-Encoding:
|
|
132
132
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
133
133
|
Content-Length:
|
|
@@ -142,7 +142,7 @@ http_interactions:
|
|
|
142
142
|
Server:
|
|
143
143
|
- nginx
|
|
144
144
|
Date:
|
|
145
|
-
-
|
|
145
|
+
- Mon, 28 May 2018 09:15:22 GMT
|
|
146
146
|
Content-Type:
|
|
147
147
|
- text/plain;charset=Windows-31J
|
|
148
148
|
Transfer-Encoding:
|
|
@@ -151,7 +151,7 @@ http_interactions:
|
|
|
151
151
|
- close
|
|
152
152
|
body:
|
|
153
153
|
encoding: UTF-8
|
|
154
|
-
string: AccessID=
|
|
154
|
+
string: AccessID=97658c7342bdc08fc3151d2edadaef3e&AccessPass=0fea8387ec11159b7da22b8838c0ebfa&Forward=2a99662&Approve=4563280&TranID=1805281815111111111111870923&TranDate=20180528181521
|
|
155
155
|
http_version:
|
|
156
|
-
recorded_at:
|
|
156
|
+
recorded_at: Mon, 28 May 2018 09:15:22 GMT
|
|
157
157
|
recorded_with: VCR 2.9.3
|