gmo 0.5.3 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +39 -0
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile +3 -4
  5. data/README.md +3 -3
  6. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_deposit_gets_data_about_a_deposit.yml +2 -2
  7. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  8. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_account_gets_data_about_an_account.yml +2 -2
  9. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_deposit_gets_data_about_a_deposit.yml +2 -2
  10. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  11. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_delete_account_gets_data_about_an_account.yml +2 -2
  12. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_account_gets_data_about_an_account.yml +2 -2
  13. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_balance_gets_data_about_balance.yml +2 -2
  14. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_deposit_gets_data_about_a_deposit.yml +2 -2
  15. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  16. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_update_account_gets_data_about_an_account.yml +2 -2
  17. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_change_order_auth_to_sale.yml +3 -3
  18. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_gets_data_about_order.yml +3 -3
  19. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_got_error_if_missing_options.yml +1 -1
  20. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_brandtoken_gets_data_about_order.yml +6 -6
  21. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_gets_data_about_order.yml +3 -3
  22. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_got_error_if_missing_options.yml +1 -1
  23. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml +2 -2
  24. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_brandtoken_gets_data_about_a_transaction.yml +2 -2
  25. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_gets_data_about_a_transaction.yml +1 -1
  26. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_got_error_if_missing_options.yml +1 -1
  27. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_docomo_gets_data_about_a_transaction.yml +2 -2
  28. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_edy_gets_data_about_a_transaction.yml +35 -0
  29. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_gets_data_about_a_transaction.yml +1 -1
  30. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_got_error_if_missing_options.yml +1 -1
  31. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_linepay_gets_data_about_a_transaction.yml +2 -2
  32. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_pay_easy_gets_data_about_a_transaction.yml +2 -2
  33. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_rakuten_id_gets_data_about_a_transaction.yml +2 -2
  34. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_suica_gets_data_about_a_transaction.yml +35 -0
  35. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_virtualaccount_gets_data_about_a_transaction.yml +35 -0
  36. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_gets_data_about_a_transaction.yml +4 -4
  37. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +5 -5
  38. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_cvs_gets_data_about_a_transaction.yml +2 -2
  39. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_docomo_gets_data_about_a_transaction.yml +4 -4
  40. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_doesn_t_require_card_info_if_token_is_present.yml +4 -4
  41. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_edy_gets_data_about_a_transaction.yml +67 -0
  42. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml +2 -2
  43. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_got_error_if_missing_options.yml +1 -1
  44. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml +4 -4
  45. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +3 -3
  46. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_pay_easy_gets_data_about_a_transaction.yml +4 -4
  47. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_rakuten_id_gets_data_about_a_transaction.yml +4 -4
  48. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_suica_gets_data_about_a_transaction.yml +67 -0
  49. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_virtualaccount_gets_data_about_a_transaction.yml +68 -0
  50. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_refund_tran_brandtoken_gets_data_about_a_transaction.yml +6 -6
  51. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_sales_tran_brandtoken_gets_data_about_a_transaction.yml +8 -8
  52. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_gets_data_about_order.yml +1 -1
  53. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_got_error_if_missing_options.yml +1 -1
  54. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_gets_data_about_order.yml +1 -1
  55. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_got_error_if_missing_options.yml +1 -1
  56. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_secure_tran_gets_data_about_a_transaction.yml +2 -2
  57. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml +6 -6
  58. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_exec_tran_brandtoken_got_data.yml +4 -4
  59. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_register_recurring_credit_got_data.yml +36 -0
  60. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_brandtoken_got_data.yml +6 -6
  61. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_data.yml +8 -8
  62. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_error_if_missing_options.yml +1 -1
  63. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_unregister_recurring_success_unregister.yml +69 -0
  64. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
  65. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_card_gets_data_about_a_card.yml +1 -1
  66. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_member_gets_data_about_a_member.yml +2 -2
  67. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_doesn_t_require_card_info_if_token_is_present.yml +2 -2
  68. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_gets_data_about_a_card.yml +1 -1
  69. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_gets_data_about_a_transaction.yml +1 -1
  70. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
  71. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_detail_by_member_id_gets_data_about_card_detail.yml +1 -1
  72. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_gets_data_about_a_card.yml +2 -2
  73. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_member_gets_data_about_a_member.yml +2 -2
  74. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_update_member_gets_data_about_a_transaction.yml +1 -1
  75. data/lib/gmo/const.rb +18 -1
  76. data/lib/gmo/shop_and_site_api.rb +90 -0
  77. data/lib/gmo/shop_api.rb +90 -0
  78. data/lib/gmo/version.rb +1 -1
  79. data/lib/gmo.rb +1 -1
  80. data/spec/gmo/shop_and_site_api_spec.rb +24 -0
  81. data/spec/gmo/shop_api_spec.rb +162 -5
  82. data/spec/spec_helper.rb +2 -5
  83. metadata +12 -6
  84. data/.travis.yml +0 -21
  85. data/spec/support/encoding.rb +0 -33
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranRakutenId.idPass
6
6
  body:
7
- encoding: UTF-8
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: UTF-8
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
@@ -0,0 +1,35 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<HOST>/payment/EntryTranSuica.idPass
6
+ body:
7
+ encoding: Windows-31J
8
+ string: OrderID=<TOKEN>662969828&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<TOKEN>.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, <TOKEN>2 Sep 2022 08:03:48 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<TOKEN>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ body:
32
+ encoding: Windows-31J
33
+ string: AccessID=63bff23f2cb9bfc9c528fd82f03<TOKEN>d04e&AccessPass=4737074<TOKEN>2<TOKEN>9075004e2a4f74fbca48db
34
+ recorded_at: Mon, 12 Sep 2022 08:03:48 GMT
35
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,35 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<HOST>/payment/EntryTranVirtualaccount.idPass
6
+ body:
7
+ encoding: Windows-31J
8
+ string: OrderID=<TOKEN>66262<TOKEN>284&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<TOKEN>.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
+ - Thu, 08 Sep 2022 07:<TOKEN>4:44 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<TOKEN>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ body:
32
+ encoding: Windows-31J
33
+ string: OrderID=<TOKEN>66262<TOKEN>284&AccessID=672560ef8bfede4aece2bdd43a66dd59&AccessPass=b436e6b362b89c622<TOKEN>f266be<TOKEN>43<TOKEN>b290
34
+ recorded_at: Thu, 08 Sep 2022 07:14:44 GMT
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
70
- string: Status=AUTH&OrderID=597ae8c36120b23a3c00014e&Forward=2a99663&Approve=5487394&TranID=1707281634111111111111771216&TranDate=20170728163453&ClientField1=〜−¢£¬−‖①ほげほげhogehoge&ClientField2=&ClientField3=
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
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranCvs.idPass
6
6
  body:
7
- encoding: UTF-8
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: UTF-8
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:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranDocomo.idPass
6
6
  body:
7
- encoding: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<HOST>/payment/EntryTranEdy.idPass
6
+ body:
7
+ encoding: Windows-31J
8
+ string: OrderID=<TOKEN>662970040&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<TOKEN>.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, <TOKEN>2 Sep 2022 08:07:20 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<TOKEN>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ body:
32
+ encoding: Windows-31J
33
+ string: AccessID=<TOKEN>e85e402df4ae23036f6de940c4eb2d7&AccessPass=<TOKEN>6440b8df892<TOKEN>f<TOKEN>0a2dba3<TOKEN>cb2<TOKEN>03805
34
+ recorded_at: Mon, 12 Sep 2022 08:07:20 GMT
35
+ - request:
36
+ method: post
37
+ uri: https://<HOST>/payment/ExecTranEdy.idPass
38
+ body:
39
+ encoding: Windows-31J
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
+ headers:
42
+ Accept-Encoding:
43
+ - gzip;q=<TOKEN>.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, <TOKEN>2 Sep 2022 08:07:23 GMT
57
+ Content-Type:
58
+ - text/plain;charset=Windows-3<TOKEN>J
59
+ Transfer-Encoding:
60
+ - chunked
61
+ Connection:
62
+ - close
63
+ body:
64
+ encoding: Windows-31J
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
+ recorded_at: Mon, 12 Sep 2022 08:07:23 GMT
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: UTF-8
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: UTF-8
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: UTF-8
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:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranLinepay.idPass
6
6
  body:
7
- encoding: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranRakutenId.idPass
6
6
  body:
7
- encoding: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<HOST>/payment/EntryTranSuica.idPass
6
+ body:
7
+ encoding: Windows-31J
8
+ string: OrderID=<TOKEN>662969936&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<TOKEN>.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, <TOKEN>2 Sep 2022 08:05:37 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<TOKEN>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ body:
32
+ encoding: Windows-31J
33
+ string: AccessID=288a3a<TOKEN>5032a<TOKEN>25e723dad49<TOKEN>5d3b28a&AccessPass=d2dea7b2b94eab5ab3bddcfbd9cf58bc
34
+ recorded_at: Mon, 12 Sep 2022 08:05:37 GMT
35
+ - request:
36
+ method: post
37
+ uri: https://<HOST>/payment/ExecTranSuica.idPass
38
+ body:
39
+ encoding: Windows-31J
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
+ headers:
42
+ Accept-Encoding:
43
+ - gzip;q=<TOKEN>.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, <TOKEN>2 Sep 2022 08:05:39 GMT
57
+ Content-Type:
58
+ - text/plain;charset=Windows-3<TOKEN>J
59
+ Transfer-Encoding:
60
+ - chunked
61
+ Connection:
62
+ - close
63
+ body:
64
+ encoding: Windows-31J
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
+ recorded_at: Mon, 12 Sep 2022 08:05:39 GMT
67
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,68 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<HOST>/payment/EntryTranVirtualaccount.idPass
6
+ body:
7
+ encoding: Windows-31J
8
+ string: OrderID=<TOKEN>66262<TOKEN>552&Amount=<TOKEN>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=<TOKEN>.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
+ - Thu, 08 Sep 2022 07:<TOKEN>9:<TOKEN>3 GMT
25
+ Content-Type:
26
+ - text/plain;charset=Windows-3<TOKEN>J
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ body:
32
+ encoding: Windows-31J
33
+ string: OrderID=<TOKEN>66262<TOKEN>552&AccessID=dda76d2bb678f82<TOKEN>ad3e4a7ded59d5b0&AccessPass=fdeccc446bb3320f48259062055ad926
34
+ recorded_at: Thu, 08 Sep 2022 07:19:13 GMT
35
+ - request:
36
+ method: post
37
+ uri: https://<HOST>/payment/ExecTranVirtualaccount.idPass
38
+ body:
39
+ encoding: Windows-31J
40
+ string: OrderID=<TOKEN>66262<TOKEN>552&AccessID=dda76d2bb678f82<TOKEN>ad3e4a7ded59d5b0&AccessPass=fdeccc446bb3320f48259062055ad926&TradeDays=<TOKEN>4&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
41
+ headers:
42
+ Accept-Encoding:
43
+ - gzip;q=<TOKEN>.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
+ - Thu, 08 Sep 2022 07:<TOKEN>9:<TOKEN>3 GMT
57
+ Content-Type:
58
+ - text/plain;charset=Windows-3<TOKEN>J
59
+ Transfer-Encoding:
60
+ - chunked
61
+ Connection:
62
+ - close
63
+ body:
64
+ encoding: ASCII-8BIT
65
+ string: !binary |-
66
+ QWNjZXNzSUQ9ZGRhNzZkMmJiNjc4ZjgyPFRPS0VOPmFkM2U0YTdkZWQ1OWQ1YjAmQmFua0NvZGU9OTk5OCZCYW5rTmFtZT2DZYNYg2eL4o1zJkJyYW5jaENvZGU9OTk5JkJyYW5jaE5hbWU9g2WDWINnjniTWCZBY2NvdW50VHlwZT08VE9LRU4+JkFjY291bnROdW1iZXI9PFRPS0VOPjAyOTMyOSZBdmFpbGFibGVEYXRlPTIwMjIwOTIyJlRyYWRlQ29kZT00MjY8VE9LRU4+PFRPS0VOPjM4
67
+ recorded_at: Thu, 08 Sep 2022 07:19:13 GMT
68
+ recorded_with: VCR 6.0.0