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/_change_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>889<SHOP_PASS>3&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:41:55 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&ClientField<SHOP_PASS>=client_field<SHOP_PASS>&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/ChangeTranBrandtoken.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&JobCd=CAPTURE&Amount=<SHOP_PASS>500&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/EntryTran.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1362106777&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=53423389f2059b97ab86faa87ccf5ebc&AccessPass=7e0c971d8b63bd6924f88caec7dd056a&OrderID=1362106777&Method=1&PayTimes=1&CardNo=4111111111111111&Expire=1405&HttpAccept=null&HttpUserAgent=null&DeviceCategory=0&ClientField1=null&ClientField2=null&ClientField3=null&ClientFieldFlag=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
38
38
|
headers:
|
39
39
|
Accept:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
method: post
|
63
63
|
uri: https://<HOST>/payment/ChangeTran.idPass
|
64
64
|
body:
|
65
|
-
encoding:
|
65
|
+
encoding: Windows-31J
|
66
66
|
string: AccessID=53423389f2059b97ab86faa87ccf5ebc&AccessPass=7e0c971d8b63bd6924f88caec7dd056a&JobCd=AUTH&Amount=1000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
67
67
|
headers:
|
68
68
|
Accept:
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranCvs.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1362106772&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/CvsCancel.idPass
|
35
35
|
body:
|
36
|
-
encoding:
|
36
|
+
encoding: Windows-31J
|
37
37
|
string: OrderID=1365660033&AccessID=3618be802c7ac572414274731e50cb6c&AccessPass=4099664bd4b110800e09805539d1d7b5&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
38
38
|
headers:
|
39
39
|
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>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
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_docomo_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranDocomo.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>6092250<TOKEN>3&JobCd=AUTH&Amount=<TOKEN>00&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=bcda2c8fbc952<TOKEN>5dd37ad8f2a37<TOKEN>facf&AccessPass=fd3<TOKEN>337495ade97b96<TOKEN>2bb7cb9228b58
|
34
34
|
recorded_at: Tue, 29 Dec 2020 06:56:54 GMT
|
35
35
|
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_edy_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranEdy.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>662969828&Amount=<TOKEN>00&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=63bff23f2cb9bfc9c528fd82f03<TOKEN>d04e&AccessPass=509ced83bb0acd48c958f3baff94452<TOKEN>
|
34
34
|
recorded_at: Mon, 12 Sep 2022 08:03:49 GMT
|
35
35
|
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_ganb_gets_data_about_a_transaction.yml
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://<HOST>/payment/EntryTranGANB.idPass
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: OrderID=1696341308&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
|
+
- Tue, 03 Oct 2023 13:55:08 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/plain;charset=Shift_JIS
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: OrderID=1696341308&AccessID=e297cc560cc91e226d0affef26f9ca10&AccessPass=e81b3b1af08488e16d73dcf5e0ecd6b0
|
34
|
+
recorded_at: Tue, 03 Oct 2023 13:55:08 GMT
|
35
|
+
recorded_with: VCR 6.1.0
|
@@ -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=1467366013&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=1467366013&AccessID=2eb607a4a86106c53f8748e59de5d41b&AccessPass=3fb30254d3e3e6b4efbfe6eedda7196d
|
34
34
|
http_version:
|
35
35
|
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/EntryTranPayEasy.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1448103619&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=282b61afb9cabee8e72d49db77c08e2f&AccessPass=9c4883358947a15683f8a63f5fc7aef4
|
34
34
|
http_version:
|
35
35
|
recorded_at: Sat, 21 Nov 2015 11:00:19 GMT
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_paypal_gets_data_about_a_transaction.yml
ADDED
@@ -0,0 +1,35 @@
|
|
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=1665961543&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
|
+
- Sun, 16 Oct 2022 23:05:43 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=1665961543&AccessID=37dc5228bcca9474fbe7cc4c911e898b&AccessPass=f59990590602293bd9b1aefdde90bf8c
|
34
|
+
recorded_at: Sun, 16 Oct 2022 23:05:43 GMT
|
35
|
+
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>609222<TOKEN>40&JobCd=AUTH&Amount=<TOKEN>00&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=<TOKEN>609222<TOKEN>40&AccessID=8e9d8824c386409e247eb<TOKEN>badf34ff68&AccessPass=c963<TOKEN>bd080cebf5c0869feef<TOKEN>a638ddb
|
34
34
|
recorded_at: Tue, 29 Dec 2020 06:09:00 GMT
|
35
35
|
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_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>662969828&Amount=<TOKEN>00&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=63bff23f2cb9bfc9c528fd82f03<TOKEN>d04e&AccessPass=4737074<TOKEN>2<TOKEN>9075004e2a4f74fbca48db
|
34
34
|
recorded_at: Mon, 12 Sep 2022 08:03:48 GMT
|
35
35
|
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>284&Amount=<TOKEN>00&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=<TOKEN>66262<TOKEN>284&AccessID=672560ef8bfede4aece2bdd43a66dd59&AccessPass=b436e6b362b89c622<TOKEN>f266be<TOKEN>43<TOKEN>b290
|
34
34
|
recorded_at: Thu, 08 Sep 2022 07:14:44 GMT
|
35
35
|
recorded_with: VCR 6.0.0
|
@@ -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>78834&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:53:55 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&ClientField<SHOP_PASS>=client_field<SHOP_PASS>&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=597ae8c36120b23a3c00014e&Forward=2a99663&Approve=5487394&TranID=1707281634111111111111771216&TranDate=20170728163453&ClientField1=client_field1&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:56:28 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>78988&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:56:29 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&ClientField<SHOP_PASS>=client_field<SHOP_PASS>&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
44
44
|
headers:
|
45
45
|
Accept-Encoding:
|
@@ -66,8 +66,8 @@ http_interactions:
|
|
66
66
|
Content-Language:
|
67
67
|
- ja-JP
|
68
68
|
body:
|
69
|
-
encoding:
|
70
|
-
string: Status=AUTH&OrderID=597ae8c36120b23a3c00014e&Forward=2a99663&Approve=5487394&TranID=1707281634111111111111771216&TranDate=20170728163453&ClientField1
|
69
|
+
encoding: Windows-31J
|
70
|
+
string: Status=AUTH&OrderID=597ae8c36120b23a3c00014e&Forward=2a99663&Approve=5487394&TranID=1707281634111111111111771216&TranDate=20170728163453&ClientField1=カソウシテン&ClientField2=&ClientField3=
|
71
71
|
http_version:
|
72
72
|
recorded_at: Tue, 08 Aug 2017 07:56:28 GMT
|
73
73
|
recorded_with: VCR 3.0.3
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_cvs_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranCvs.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1362106772&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/ExecTranCvs.idPass
|
35
35
|
body:
|
36
|
-
encoding:
|
36
|
+
encoding: Windows-31J
|
37
37
|
string: OrderID=1365660033&AccessID=3618be802c7ac572414274731e50cb6c&AccessPass=4099664bd4b110800e09805539d1d7b5&Convenience=00001&CustomerName=%E3%82%B3%E3%83%B3%E3%83%93%E3%83%8B%E5%A4%AA%E9%83%8E&CustomerKana=%E3%82%B3%E3%83%B3%E3%83%93%E3%83%8B%E3%82%BF%E3%83%AD%E3%82%A6&TelNo=0300000001&ReceiptsDisp11=RSpec+Helpdesk&ReceiptsDisp12=RSpec+hotline&ReceiptsDisp13=00%3A00-00%3A15&ClientField1=client_field1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
|
38
38
|
headers:
|
39
39
|
Accept-Encoding:
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_docomo_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranDocomo.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>6092250<TOKEN>4&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: AccessID=980a<TOKEN>cf8<TOKEN>a58ea7<TOKEN>2828f82b5cab36b4&AccessPass=30e<TOKEN>87<TOKEN>76420ef72d743e<TOKEN>923f60c228
|
34
34
|
recorded_at: Tue, 29 Dec 2020 06:56:54 GMT
|
35
35
|
- request:
|
36
36
|
method: post
|
37
37
|
uri: https://<HOST>/payment/ExecTranDocomo.idPass
|
38
38
|
body:
|
39
|
-
encoding:
|
39
|
+
encoding: Windows-31J
|
40
40
|
string: OrderID=<TOKEN>6092250<TOKEN>4&AccessID=980a<TOKEN>cf8<TOKEN>a58ea7<TOKEN>2828f82b5cab36b4&AccessPass=30e<TOKEN>87<TOKEN>76420ef72d743e<TOKEN>923f60c228&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=980a<TOKEN>cf8<TOKEN>a58ea7<TOKEN>2828f82b5cab36b4&Token=MUPNG5Kkc3cF3W2yFjT6DXACIf+qn<TOKEN>h7bqaBFFxarXKwBS7yYvxSiC0zeMVH+O4F&StartURL=https://<HOST>/payment/DocomoStart.idPass&StartLimitDate=2020<TOKEN>229<TOKEN>55854
|
66
66
|
recorded_at: Tue, 29 Dec 2020 06:56:55 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/EntryTran.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=1516092147&JobCd=AUTH&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=fda0ae7f80d8f8855cb9f2229e22117a&AccessPass=a2a2b20bc81475e33573af93ece908cf
|
34
34
|
http_version:
|
35
35
|
recorded_at: Tue, 16 Jan 2018 08:42:28 GMT
|
@@ -37,7 +37,7 @@ http_interactions:
|
|
37
37
|
method: post
|
38
38
|
uri: https://<HOST>/payment/ExecTran.idPass
|
39
39
|
body:
|
40
|
-
encoding:
|
40
|
+
encoding: Windows-31J
|
41
41
|
string: OrderID=1516092147&AccessID=fda0ae7f80d8f8855cb9f2229e22117a&AccessPass=a2a2b20bc81475e33573af93ece908cf&Method=1&PayTimes=1&Token=onetimetokenfromgmo&ClientFieldFlag=0&DeviceCategory=0&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: ErrCode=EX1&ErrInfo=EX1000301
|
67
67
|
http_version:
|
68
68
|
recorded_at: Tue, 16 Jan 2018 08:42:28 GMT
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_edy_gets_data_about_a_transaction.yml
CHANGED
@@ -4,7 +4,7 @@ http_interactions:
|
|
4
4
|
method: post
|
5
5
|
uri: https://<HOST>/payment/EntryTranEdy.idPass
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: Windows-31J
|
8
8
|
string: OrderID=<TOKEN>662970040&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=<TOKEN>e85e402df4ae23036f6de940c4eb2d7&AccessPass=<TOKEN>6440b8df892<TOKEN>f<TOKEN>0a2dba3<TOKEN>cb2<TOKEN>03805
|
34
34
|
recorded_at: Mon, 12 Sep 2022 08:07:20 GMT
|
35
35
|
- request:
|
36
36
|
method: post
|
37
37
|
uri: https://<HOST>/payment/ExecTranEdy.idPass
|
38
38
|
body:
|
39
|
-
encoding:
|
39
|
+
encoding: Windows-31J
|
40
40
|
string: OrderID=<TOKEN>662970040&AccessID=<TOKEN>e85e402df4ae23036f6de940c4eb2d7&AccessPass=<TOKEN>6440b8df892<TOKEN>f<TOKEN>0a2dba3<TOKEN>cb2<TOKEN>03805&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>662970040&ReceiptNo=EDY<TOKEN>662970042705&EdyOrderNo=<TOKEN>662970040-2209<TOKEN>204852<TOKEN>&PaymentTerm=20220922<TOKEN>70722&TranDate=202209<TOKEN>2<TOKEN>70722&CheckString=8db002858a8d3b8<TOKEN>eaf4b3<TOKEN>e7a2c<TOKEN>d20&ClientField<TOKEN>=client_field<TOKEN>&ClientField2=&ClientField3=
|
66
66
|
recorded_at: Mon, 12 Sep 2022 08:07:23 GMT
|
67
67
|
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_ganb_gets_data_about_a_transaction.yml
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://<HOST>/payment/EntryTranGANB.idPass
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: OrderID=1696418445&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
|
+
- Wed, 04 Oct 2023 11:20:50 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/plain;charset=Shift_JIS
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- close
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: OrderID=1696418445&AccessID=ef73b56f6daf8fb36fa8e0a2133a0613&AccessPass=f9e832b3b9c886b70d98c5e857571033
|
34
|
+
recorded_at: Wed, 04 Oct 2023 11:20:45 GMT
|
35
|
+
- request:
|
36
|
+
method: post
|
37
|
+
uri: https://<HOST>/payment/ExecTranGANB.idPass
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: OrderID=1696418445&AccessID=ef73b56f6daf8fb36fa8e0a2133a0613&AccessPass=f9e832b3b9c886b70d98c5e857571033&ClientField1=%89%C1%96%BF%93X%8E%A9%97R%8D%80%96%DA1%82%C5%82%B7%81B&ClientField2=%89%C1%96%BF%93X%8E%A9%97R%8D%80%96%DA2%82%C5%82%B7%81B&ClientField3=%89%C1%96%BF%93X%8E%A9%97R%8D%80%96%DA3%82%C5%82%B7%81B&=irai%40example.com&TradeDays=3&TradeReason=%8E%E6%88%F8%8E%96%97R%82%C5%82%B7%81B&TradeClientName=%88%CB%97%8A%89%D4%8Eq&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
|
+
- Wed, 04 Oct 2023 11:21:05 GMT
|
57
|
+
Content-Type:
|
58
|
+
- text/plain;charset=Shift_JIS
|
59
|
+
Transfer-Encoding:
|
60
|
+
- chunked
|
61
|
+
Connection:
|
62
|
+
- close
|
63
|
+
body:
|
64
|
+
encoding: ASCII-8BIT
|
65
|
+
string: !binary |-
|
66
|
+
QWNjZXNzSUQ9ZWY3M2I1NmY2ZGFmOGZiMzZmYThlMGEyPFRPS0VOPjMzYTA2PFRPS0VOPjMmQmFua0NvZGU9MDM8VE9LRU4+MCZCYW5rTmFtZT283i200bUtsbW/3tfIwsQmQnJhbmNoQ29kZT01MDMmQnJhbmNoTmFtZT22v7O8w90mQWNjb3VudFR5cGU9PFRPS0VOPiZBY2NvdW50TnVtYmVyPTg5Mjk2OTYmQWNjb3VudEhvbGRlck5hbWU9w73EvK6vzN8mQXZhaWxhYmxlRGF0ZT0yMDIzPFRPS0VOPjAwNw==
|
67
|
+
recorded_at: Wed, 04 Oct 2023 11:21:00 GMT
|
68
|
+
recorded_with: VCR 6.1.0
|