gmo 0.5.4 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +39 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +3 -4
- data/README.md +3 -3
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_deposit_gets_data_about_a_deposit.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_link_redirect_url_with_invalid_options_got_error.yml +53 -0
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_link_redirect_url_with_valid_options_gets_data_about_a_link_edirect_url.yml +103 -0
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_account_gets_data_about_an_account.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_deposit_gets_data_about_a_deposit.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_link_redirect_url_with_valid_options_gets_data_about_link_redirect_url.yml +53 -0
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_with_valid_options_gets_data_about_a_mail_deposit.yml +47 -0
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_with_valid_options_makes_request_with_correct_parameters.yml +47 -0
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_delete_account_gets_data_about_an_account.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_account_gets_data_about_an_account.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_balance_gets_data_about_balance.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_deposit_gets_data_about_a_deposit.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_update_account_gets_data_about_an_account.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_change_order_auth_to_sale.yml +3 -3
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_gets_data_about_order.yml +3 -3
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_brandtoken_gets_data_about_order.yml +6 -6
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_gets_data_about_order.yml +3 -3
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_brandtoken_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_gets_data_about_a_transaction.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_docomo_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_edy_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_ganb_gets_data_about_a_transaction.yml +35 -0
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_gets_data_about_a_transaction.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_linepay_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_pay_easy_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_paypal_gets_data_about_a_transaction.yml +35 -0
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_rakuten_id_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_suica_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_virtualaccount_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +5 -5
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_cvs_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_docomo_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_doesn_t_require_card_info_if_token_is_present.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_edy_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_ganb_gets_data_about_a_transaction.yml +68 -0
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +3 -3
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_pay_easy_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_paypal_gets_data_about_a_transaction.yml +67 -0
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_rakuten_id_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_suica_gets_data_about_a_transaction.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_virtualaccount_gets_data_about_a_transaction.yml +3 -3
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_refund_tran_brandtoken_gets_data_about_a_transaction.yml +6 -6
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_sales_tran_brandtoken_gets_data_about_a_transaction.yml +8 -8
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_gets_data_about_order.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_gets_data_about_order.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_secure_tran_gets_data_about_a_transaction.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml +6 -6
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_exec_tran_brandtoken_got_data.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_register_recurring_credit_got_data.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_brandtoken_got_data.yml +6 -6
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_data.yml +8 -8
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_error_if_missing_options.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_unregister_recurring_success_unregister.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_card_gets_data_about_a_card.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_member_gets_data_about_a_member.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_doesn_t_require_card_info_if_token_is_present.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_gets_data_about_a_card.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_gets_data_about_a_transaction.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_detail_by_member_id_gets_data_about_card_detail.yml +1 -1
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_gets_data_about_a_card.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_member_gets_data_about_a_member.yml +2 -2
- data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_update_member_gets_data_about_a_transaction.yml +1 -1
- data/lib/gmo/const.rb +15 -0
- data/lib/gmo/http_services.rb +6 -1
- data/lib/gmo/remittance_api.rb +63 -1
- data/lib/gmo/shop_api.rb +40 -0
- data/lib/gmo/version.rb +1 -1
- data/lib/gmo.rb +11 -4
- data/spec/gmo/remittance_api_spec.rb +123 -36
- data/spec/gmo/shop_api_spec.rb +108 -5
- data/spec/spec_helper.rb +2 -5
- metadata +16 -9
- data/.travis.yml +0 -21
- data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_gets_data_about_a_mail_deposit.yml +0 -38
- data/spec/support/encoding.rb +0 -33
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTran.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1362106991&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept:
|
@@ -33,7 +33,7 @@ http_interactions:
|
|
33
33
|
method: post
|
34
34
|
uri: https://<HOST>/payment/ExecTran.idPass
|
35
35
|
body:
|
36
|
-
encoding:
|
36
|
+
encoding: Windows-31J
|
37
37
|
string: AccessID=e65385d62b5e5e9be64d2c8cecdb24f2&AccessPass=a79882df473a228fd2a00051e72642be&OrderID=1362106991&Method=1&PayTimes=1&CardNo=4111111111111111&Expire=1405&HttpAccept=null&HttpUserAgent=null&DeviceCategory=0&ClientField1=client_field1&ClientField2=null&ClientField3=null&ClientFieldFlag=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
38
38
|
headers:
|
39
39
|
Accept:
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/ExecTran.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: AccessID=null&AccessPass=null&OrderID=null&Method=null&PayTimes=null&CardNo=null&Expire=null&HttpAccept=null&HttpUserAgent=null&DeviceCategory=0&ClientField1=null&ClientField2=null&ClientField3=null&ClientFieldFlag=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept:
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranLinepay.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1467366014&JobCd=CAPTURE&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: OrderID=1467366014&AccessID=2352c8be3fd34b2e75ce3fd2b19c1cd2&AccessPass=06561ea4bbb6200b172a58457c88776f
|
34
34
|
http_version:
|
35
35
|
recorded_at: Fri, 01 Jul 2016 09:40:14 GMT
|
@@ -37,7 +37,7 @@ http_interactions:
|
|
37
37
|
method: post
|
38
38
|
uri: https://<HOST>/payment/ExecTranLinepay.idPass
|
39
39
|
body:
|
40
|
-
encoding:
|
40
|
+
encoding: Windows-31J
|
41
41
|
string: OrderID=1467366014&AccessID=2352c8be3fd34b2e75ce3fd2b19c1cd2&AccessPass=06561ea4bbb6200b172a58457c88776f&RetURL=https%3A%2F%2Fexample.com%2Fpath%2Fto%2Freturn%2Fsuccess&ErrorRcvURL=https%3A%2F%2Fexample.com%2Fpath%2Fto%2Freturn%2Ffailure&ProductName=%8Dw%93%FC%82%B7%82%E9%8F%A4%95i%96%BC&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
42
42
|
headers:
|
43
43
|
Accept-Encoding:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
Connection:
|
63
63
|
- close
|
64
64
|
body:
|
65
|
-
encoding:
|
65
|
+
encoding: Windows-31J
|
66
66
|
string: Start=1&AccessID=2352c8be3fd34b2e75ce3fd2b19c1cd2&Token=5eUT14IYmsZRnCs/S/RYxKrphuf29PTylubWI8BbbUuwBS7yYvxSiC0zeMVH+O4F&StartURL=https://<HOST>/payment/LinepayStart.idPass
|
67
67
|
http_version:
|
68
68
|
recorded_at: Fri, 01 Jul 2016 09:40:14 GMT
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTran.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1366160239&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Transfer-Encoding:
|
28
28
|
- chunked
|
29
29
|
body:
|
30
|
-
encoding:
|
30
|
+
encoding: Windows-31J
|
31
31
|
string: AccessID=68334b323b78058c0ecbbaa996b80ca1&AccessPass=8499e4c83fbd277577f6ce2d95e86868
|
32
32
|
http_version:
|
33
33
|
recorded_at: Wed, 17 Apr 2013 00:57:19 GMT
|
@@ -35,7 +35,7 @@ http_interactions:
|
|
35
35
|
method: post
|
36
36
|
uri: https://<HOST>/payment/ExecTran.idPass
|
37
37
|
body:
|
38
|
-
encoding:
|
38
|
+
encoding: Windows-31J
|
39
39
|
string: OrderID=1366160239&AccessID=68334b323b78058c0ecbbaa996b80ca1&AccessPass=8499e4c83fbd277577f6ce2d95e86868&Method=1&PayTimes=1&CardNo=4111111111111111&Expire=1405&ClientField1=%81%60%81%7C%81%91%81%92%81%CA%81%7C%81a%87%40%82%D9%82%B0%82%D9%82%B0hogehoge&ClientFieldFlag=1&DeviceCategory=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
40
40
|
headers:
|
41
41
|
Accept-Encoding:
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranPayEasy.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1448105474&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: AccessID=eb18bcc94bd6027929b2cb401b5eff9b&AccessPass=e79f0cbfb6b00343beb85eb8df873277
|
34
34
|
http_version:
|
35
35
|
recorded_at: Sat, 21 Nov 2015 11:31:15 GMT
|
@@ -37,7 +37,7 @@ http_interactions:
|
|
37
37
|
method: post
|
38
38
|
uri: https://<HOST>/payment/ExecTranPayEasy.idPass
|
39
39
|
body:
|
40
|
-
encoding:
|
40
|
+
encoding: Windows-31J
|
41
41
|
string: OrderID=1448105474&AccessID=eb18bcc94bd6027929b2cb401b5eff9b&AccessPass=e79f0cbfb6b00343beb85eb8df873277&CustomerName=%83y%83C%91%BE%98Y&CustomerKana=%83y%83C%83%5E%83%8D%83E&TelNo=0300000001&ReceiptsDisp11=RSpec+Helpdesk&ReceiptsDisp12=0300000001&ReceiptsDisp13=00%3A00-00%3A15&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
42
42
|
headers:
|
43
43
|
Accept-Encoding:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
Connection:
|
63
63
|
- close
|
64
64
|
body:
|
65
|
-
encoding:
|
65
|
+
encoding: Windows-31J
|
66
66
|
string: OrderID=1448105474&CustID=WNT05476383&BkCode=58021&ConfNo=3769&EncryptReceiptNo=LB7OigJvPDmbWxAqB8OY&PaymentTerm=20151201235959&TranDate=20151121203100&CheckString=6a7c5cb87d1857e9b9088d65480545e3
|
67
67
|
http_version:
|
68
68
|
recorded_at: Sat, 21 Nov 2015 11:31:16 GMT
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_paypal_gets_data_about_a_transaction.yml
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://<HOST>/payment/EntryTranPaypal.idPass
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: OrderID=1666049036&JobCd=CAPTURE&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Mon, 17 Oct 2022 23:23:57 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/plain;charset=Windows-31J
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: OrderID=1666049036&AccessID=0c3ce8ac4d8578942bdc2fb0bbee7657&AccessPass=cbc4fa24f0061c779f4f60a214785c5f
|
34
|
+
recorded_at: Mon, 17 Oct 2022 23:23:57 GMT
|
35
|
+
- request:
|
36
|
+
method: post
|
37
|
+
uri: https://<HOST>/payment/ExecTranPaypal.idPass
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: OrderID=1666049036&AccessID=0c3ce8ac4d8578942bdc2fb0bbee7657&AccessPass=cbc4fa24f0061c779f4f60a214785c5f&RedirectURL=https%3A%2F%2Fexample.com%2Fpath%2Fto%2Fredirect&ItemName=%8Dw%93%FC%82%B7%82%E9%8F%A4%95i%96%BC&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
41
|
+
headers:
|
42
|
+
Accept-Encoding:
|
43
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
44
|
+
Accept:
|
45
|
+
- "*/*"
|
46
|
+
User-Agent:
|
47
|
+
- Ruby
|
48
|
+
response:
|
49
|
+
status:
|
50
|
+
code: 200
|
51
|
+
message: OK
|
52
|
+
headers:
|
53
|
+
Server:
|
54
|
+
- nginx
|
55
|
+
Date:
|
56
|
+
- Mon, 17 Oct 2022 23:23:57 GMT
|
57
|
+
Content-Type:
|
58
|
+
- text/plain;charset=Windows-31J
|
59
|
+
Transfer-Encoding:
|
60
|
+
- chunked
|
61
|
+
Connection:
|
62
|
+
- close
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: OrderID=1666049036
|
66
|
+
recorded_at: Mon, 17 Oct 2022 23:23:57 GMT
|
67
|
+
recorded_with: VCR 6.0.0
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranRakutenId.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>609222947&JobCd=CAPTURE&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,14 +29,14 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: OrderID=<TOKEN>609222947&AccessID=a890<TOKEN><TOKEN><TOKEN>530f250c<TOKEN>3e3c884ae273060a&AccessPass=55fff26783<TOKEN>070a<TOKEN>040edd36f73b26ec
|
34
34
|
recorded_at: Tue, 29 Dec 2020 06:22:28 GMT
|
35
35
|
- request:
|
36
36
|
method: post
|
37
37
|
uri: https://<HOST>/payment/ExecTranRakutenId.idPass
|
38
38
|
body:
|
39
|
-
encoding:
|
39
|
+
encoding: Windows-31J
|
40
40
|
string: OrderID=<TOKEN>609222947&AccessID=a890<TOKEN><TOKEN><TOKEN>530f250c<TOKEN>3e3c884ae273060a&AccessPass=55fff26783<TOKEN>070a<TOKEN>040edd36f73b26ec&RetURL=https%3A%2F%2Fexample.com%2Fpath%2Fto%2Freturn%2Fsuccess&ErrorRcvURL=https%3A%2F%2Fexample.com%2Fpath%2Fto%2Freturn%2Ffailure&ItemId=000<TOKEN>&ItemName=%8Dw%93%FC%82%B7%82%E9%8F%A4%95i%96%BC&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
41
41
|
headers:
|
42
42
|
Accept-Encoding:
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
Connection:
|
62
62
|
- close
|
63
63
|
body:
|
64
|
-
encoding:
|
64
|
+
encoding: Windows-31J
|
65
65
|
string: AccessID=a890<TOKEN><TOKEN><TOKEN>530f250c<TOKEN>3e3c884ae273060a&Token=givwPbv44WyJuP66kQHXNHJ99gPQ6Yh/I5NrE0wMHxWwBS7yYvxSiC0zeMVH+O4F&StartURL=https://<HOST>/payment/RakutenIdStart.idPass&StartLimitDate=2020<TOKEN>229<TOKEN>52428
|
66
66
|
recorded_at: Tue, 29 Dec 2020 06:22:28 GMT
|
67
67
|
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_suica_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranSuica.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>662969936&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,14 +29,14 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: AccessID=288a3a<TOKEN>5032a<TOKEN>25e723dad49<TOKEN>5d3b28a&AccessPass=d2dea7b2b94eab5ab3bddcfbd9cf58bc
|
34
34
|
recorded_at: Mon, 12 Sep 2022 08:05:37 GMT
|
35
35
|
- request:
|
36
36
|
method: post
|
37
37
|
uri: https://<HOST>/payment/ExecTranSuica.idPass
|
38
38
|
body:
|
39
|
-
encoding:
|
39
|
+
encoding: Windows-31J
|
40
40
|
string: OrderID=<TOKEN>662969936&AccessID=288a3a<TOKEN>5032a<TOKEN>25e723dad49<TOKEN>5d3b28a&AccessPass=d2dea7b2b94eab5ab3bddcfbd9cf58bc&ItemName=%8Dw%93%FC%82%B7%82%E9%8F%A4%95i%96%BC&MailAddress=test%40example.com&ClientField<TOKEN>=client_field<TOKEN>&ClientFieldFlag=<TOKEN>&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
41
41
|
headers:
|
42
42
|
Accept-Encoding:
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
Connection:
|
62
62
|
- close
|
63
63
|
body:
|
64
|
-
encoding:
|
64
|
+
encoding: Windows-31J
|
65
65
|
string: OrderID=<TOKEN>662969936&SuicaOrderNo=<TOKEN>662969936-2209<TOKEN>2052836&ReceiptNo=SCA93925<TOKEN>&PaymentTerm=20220922<TOKEN>70637&TranDate=202209<TOKEN>2<TOKEN>70539&CheckString=d<TOKEN>fca947cffe2aa892<TOKEN>7f3fcbb403d02&ClientField<TOKEN>=client_field<TOKEN>&ClientField2=&ClientField3=
|
66
66
|
recorded_at: Mon, 12 Sep 2022 08:05:39 GMT
|
67
67
|
recorded_with: VCR 6.0.0
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranVirtualaccount.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>66262<TOKEN>552&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,14 +29,14 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: OrderID=<TOKEN>66262<TOKEN>552&AccessID=dda76d2bb678f82<TOKEN>ad3e4a7ded59d5b0&AccessPass=fdeccc446bb3320f48259062055ad926
|
34
34
|
recorded_at: Thu, 08 Sep 2022 07:19:13 GMT
|
35
35
|
- request:
|
36
36
|
method: post
|
37
37
|
uri: https://<HOST>/payment/ExecTranVirtualaccount.idPass
|
38
38
|
body:
|
39
|
-
encoding:
|
39
|
+
encoding: Windows-31J
|
40
40
|
string: OrderID=<TOKEN>66262<TOKEN>552&AccessID=dda76d2bb678f82<TOKEN>ad3e4a7ded59d5b0&AccessPass=fdeccc446bb3320f48259062055ad926&TradeDays=<TOKEN>4&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
41
41
|
headers:
|
42
42
|
Accept-Encoding:
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>90462&JobCd=CAPTURE&Amount=<SHOP_PASS>000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Language:
|
32
32
|
- ja-JP
|
33
33
|
body:
|
34
|
-
encoding:
|
34
|
+
encoding: Windows-31J
|
35
35
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
|
36
36
|
http_version:
|
37
37
|
recorded_at: Tue, 08 Aug 2017 11:07:43 GMT
|
@@ -39,7 +39,7 @@ http_interactions:
|
|
39
39
|
method: post
|
40
40
|
uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
|
41
41
|
body:
|
42
|
-
encoding:
|
42
|
+
encoding: Windows-31J
|
43
43
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>78987&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
44
44
|
headers:
|
45
45
|
Accept-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
Content-Language:
|
67
67
|
- ja-JP
|
68
68
|
body:
|
69
|
-
encoding:
|
69
|
+
encoding: Windows-31J
|
70
70
|
string: Status=CAPTURE&OrderID=597ae8c36<SHOP_PASS>20b23a3c000<SHOP_PASS>4e&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:56:28 GMT
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
method: post
|
75
75
|
uri: https://<HOST>/payment/RefundTranBrandtoken.idPass
|
76
76
|
body:
|
77
|
-
encoding:
|
77
|
+
encoding: Windows-31J
|
78
78
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&OrderID=<SHOP_PASS>502<SHOP_PASS>9055<SHOP_PASS>&Amount=<SHOP_PASS>000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
79
79
|
headers:
|
80
80
|
Accept-Encoding:
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
Content-Language:
|
102
102
|
- ja-JP
|
103
103
|
body:
|
104
|
-
encoding:
|
104
|
+
encoding: Windows-31J
|
105
105
|
string: AccessID=139f8ec33a07c55f406937c52ce4473d&AccessPass=2689b204d2c17192fa35f9269fa7e744&Status=RETURN&Forward=2a99663&Approve=5537883&TranID=1707311620111111111111771220&TranDate=20170731162256
|
106
106
|
http_version:
|
107
107
|
recorded_at: Tue, 08 Aug 2017 11:09:12 GMT
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>89826&JobCd=AUTH&Amount=<SHOP_PASS>000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Language:
|
32
32
|
- ja-JP
|
33
33
|
body:
|
34
|
-
encoding:
|
34
|
+
encoding: Windows-31J
|
35
35
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
|
36
36
|
http_version:
|
37
37
|
recorded_at: Tue, 08 Aug 2017 10:57:07 GMT
|
@@ -39,7 +39,7 @@ http_interactions:
|
|
39
39
|
method: post
|
40
40
|
uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
|
41
41
|
body:
|
42
|
-
encoding:
|
42
|
+
encoding: Windows-31J
|
43
43
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>78987&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
44
44
|
headers:
|
45
45
|
Accept-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
Content-Language:
|
67
67
|
- ja-JP
|
68
68
|
body:
|
69
|
-
encoding:
|
69
|
+
encoding: Windows-31J
|
70
70
|
string: Status=AUTH&OrderID=597ae8c36<SHOP_PASS>20b23a3c000<SHOP_PASS>4e&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=client_field<SHOP_PASS>&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:56:28 GMT
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
method: post
|
75
75
|
uri: https://<HOST>/payment/TradedBrandtoken.idPass
|
76
76
|
body:
|
77
|
-
encoding:
|
77
|
+
encoding: Windows-31J
|
78
78
|
string: MemberID=<SHOP_PASS>502<SHOP_PASS>89924&OrderID=<SHOP_PASS>502<SHOP_PASS>89924&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
|
79
79
|
headers:
|
80
80
|
Accept-Encoding:
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
Content-Language:
|
102
102
|
- ja-JP
|
103
103
|
body:
|
104
|
-
encoding:
|
104
|
+
encoding: Windows-31J
|
105
105
|
string: TokenSeq=0&CardNoToken=*************<SHOP_PASS><SHOP_PASS><SHOP_PASS>&Forward=2a99663
|
106
106
|
http_version:
|
107
107
|
recorded_at: Tue, 08 Aug 2017 10:58:45 GMT
|
@@ -109,7 +109,7 @@ http_interactions:
|
|
109
109
|
method: post
|
110
110
|
uri: https://<HOST>/payment/SalesTranBrandtoken.idPass
|
111
111
|
body:
|
112
|
-
encoding:
|
112
|
+
encoding: Windows-31J
|
113
113
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&OrderID=<SHOP_PASS>502<SHOP_PASS>89957&Amount=<SHOP_PASS>000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
114
114
|
headers:
|
115
115
|
Accept-Encoding:
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
136
136
|
Content-Language:
|
137
137
|
- ja-JP
|
138
138
|
body:
|
139
|
-
encoding:
|
139
|
+
encoding: Windows-31J
|
140
140
|
string: AccessID=139f8ec33a07c55f406937c52ce4473d&AccessPass=2689b204d2c17192fa35f9269fa7e744&Status=SALES&Forward=2a99663&Approve=5537883&TranID=1707311620111111111111771220&TranDate=20170731162256
|
141
141
|
http_version:
|
142
142
|
recorded_at: Tue, 08 Aug 2017 10:59:18 GMT
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_secure_tran_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/SecureTran.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: PaRes=eJydVluTokoSfvdXdPR5NGa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Bs9ec7eL%2FD4X5FyqzPBZSeG6jGLtuD%2FOH%2BqNS%2BgH%0D%0AoT%2FJhwuogfIC0hLLBluezVOkXTxlliYRYdaxkB46rteNHR8c833gxuUBY7bKxUs7mT4ftXP%2B4De4%0D%0AHBOwQ<SITE_PASS><SITE_PASS>KL%2BFpE8W0PrX3f%2FbuF%2FLq68hXr%2F9zCnxeQT%2FvzdOt6ft9%2Bt%2FDNsF7%0D%0A&MD=a6ae35ca097e266b<SITE_PASS><SITE_PASS>e<SITE_PASS>8024f000034d&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: OrderID=Darren-test-202<SITE_PASS>030<SITE_PASS><SITE_PASS>022<SITE_PASS>8&Forward=2a99662&Method=<SITE_PASS>&PayTimes=&Approve=
|
34
34
|
004536&TranID=2<SITE_PASS>030<SITE_PASS><SITE_PASS>003<SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS>8<SITE_PASS>075<SITE_PASS>&TranDate=202<SITE_PASS>030<SITE_PASS><SITE_PASS>02444&CheckString=54686df6bad0b4ca3366024c7806ff66
|
35
35
|
recorded_at: Mon, 01 Mar 2021 01:24:44 GMT
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>89293&JobCd=AUTH&Amount=<SHOP_PASS>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Language:
|
32
32
|
- ja-JP
|
33
33
|
body:
|
34
|
-
encoding:
|
34
|
+
encoding: Windows-31J
|
35
35
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
|
36
36
|
http_version:
|
37
37
|
recorded_at: Tue, 08 Aug 2017 10:48:14 GMT
|
@@ -39,7 +39,7 @@ http_interactions:
|
|
39
39
|
method: post
|
40
40
|
uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
|
41
41
|
body:
|
42
|
-
encoding:
|
42
|
+
encoding: Windows-31J
|
43
43
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>78987&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
44
44
|
headers:
|
45
45
|
Accept-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
Content-Language:
|
67
67
|
- ja-JP
|
68
68
|
body:
|
69
|
-
encoding:
|
69
|
+
encoding: Windows-31J
|
70
70
|
string: Status=AUTH&OrderID=597ae8c36<SHOP_PASS>20b23a3c000<SHOP_PASS>4e&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=client_field<SHOP_PASS>&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:56:28 GMT
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
method: post
|
75
75
|
uri: https://<HOST>/payment/VoidTranBrandtoken.idPass
|
76
76
|
body:
|
77
|
-
encoding:
|
77
|
+
encoding: Windows-31J
|
78
78
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>89054&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
79
79
|
headers:
|
80
80
|
Accept-Encoding:
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
Content-Language:
|
102
102
|
- ja-JP
|
103
103
|
body:
|
104
|
-
encoding:
|
104
|
+
encoding: Windows-31J
|
105
105
|
string: AccessID=21170701482c86c3b88ff72b83bfd363&AccessPass=51f36feba120de1e6e29532e5a3a5e3e&Status=CAPTURE&Forward=2a99663&Approve=5538477&TranID=1707311633111111111111771224&TranDate=20170731163343
|
106
106
|
http_version:
|
107
107
|
recorded_at: Tue, 08 Aug 2017 10:44:15 GMT
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>77398&JobCd=AUTH&Amount=<SHOP_PASS>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Language:
|
32
32
|
- ja-JP
|
33
33
|
body:
|
34
|
-
encoding:
|
34
|
+
encoding: Windows-31J
|
35
35
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
|
36
36
|
http_version:
|
37
37
|
recorded_at: Tue, 08 Aug 2017 07:29:59 GMT
|
@@ -39,7 +39,7 @@ http_interactions:
|
|
39
39
|
method: post
|
40
40
|
uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
|
41
41
|
body:
|
42
|
-
encoding:
|
42
|
+
encoding: Windows-31J
|
43
43
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>77572&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&MemberID=<SHOP_PASS>502<SHOP_PASS>77572&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
|
44
44
|
headers:
|
45
45
|
Accept-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
Content-Language:
|
67
67
|
- ja-JP
|
68
68
|
body:
|
69
|
-
encoding:
|
69
|
+
encoding: Windows-31J
|
70
70
|
string: Status=AUTH&OrderID=<SHOP_PASS>502<SHOP_PASS>77572&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:32:53 GMT
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_register_recurring_credit_got_data.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/RegisterRecurringCredit.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: RecurringID=<TOKEN>53596492<TOKEN>&Amount=<TOKEN>00&ChargeDay=3<TOKEN>&RegistType=<TOKEN>&MemberID=smama_development_user_<TOKEN>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- close
|
31
31
|
body:
|
32
|
-
encoding:
|
32
|
+
encoding: Windows-31J
|
33
33
|
string: ShopID=<SHOP_ID>&RecurringID=<TOKEN>53596492<TOKEN>&Amount=<TOKEN>00&Tax=0&ChargeDay=3<TOKEN>&ChargeMonth=0<TOKEN>|02|03|04|05|06|07|08|09|<TOKEN>0|<TOKEN><TOKEN>|<TOKEN>2&ChargeStartDate=20<TOKEN>80904&ChargeStopDate=&NextChargeDate=20<TOKEN>80930&Method=RECURRING_CREDIT&CardNo=&Expire=&SiteID=<SITE_ID>&MemberID=smama_development_user_<TOKEN>
|
34
34
|
http_version:
|
35
35
|
recorded_at: Mon, 03 Sep 2018 08:55:22 GMT
|
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>77398&JobCd=AUTH&Amount=<SHOP_PASS>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Language:
|
32
32
|
- ja-JP
|
33
33
|
body:
|
34
|
-
encoding:
|
34
|
+
encoding: Windows-31J
|
35
35
|
string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
|
36
36
|
http_version:
|
37
37
|
recorded_at: Tue, 08 Aug 2017 07:29:59 GMT
|
@@ -39,7 +39,7 @@ http_interactions:
|
|
39
39
|
method: post
|
40
40
|
uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
|
41
41
|
body:
|
42
|
-
encoding:
|
42
|
+
encoding: Windows-31J
|
43
43
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>77572&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&MemberID=<SHOP_PASS>502<SHOP_PASS>77572&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
|
44
44
|
headers:
|
45
45
|
Accept-Encoding:
|
@@ -66,7 +66,7 @@ http_interactions:
|
|
66
66
|
Content-Language:
|
67
67
|
- ja-JP
|
68
68
|
body:
|
69
|
-
encoding:
|
69
|
+
encoding: Windows-31J
|
70
70
|
string: Status=AUTH&OrderID=<SHOP_PASS>502<SHOP_PASS>77572&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:32:53 GMT
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
method: post
|
75
75
|
uri: https://<HOST>/payment/TradedBrandtoken.idPass
|
76
76
|
body:
|
77
|
-
encoding:
|
77
|
+
encoding: Windows-31J
|
78
78
|
string: OrderID=<SHOP_PASS>502<SHOP_PASS>77838&MemberID=<SHOP_PASS>502<SHOP_PASS>77838&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
|
79
79
|
headers:
|
80
80
|
Accept-Encoding:
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
Content-Language:
|
102
102
|
- ja-JP
|
103
103
|
body:
|
104
|
-
encoding:
|
104
|
+
encoding: Windows-31J
|
105
105
|
string: TokenSeq=0&CardNoToken=*************111&Forward=2a99663
|
106
106
|
http_version:
|
107
107
|
recorded_at: Tue, 08 Aug 2017 07:37:18 GMT
|