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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 887bfcdae8390b25695da4ef4277e17a3e7277e8e878305587696efdef422f8c
4
- data.tar.gz: 404db2e387cce32a9c373a56ffd645bd81ff4762369fd65fe8a5981f22279ce3
3
+ metadata.gz: 6861bfcbf102510765f34d115714b020460501010d579fa47271ecd6d49a82bb
4
+ data.tar.gz: cc08cab39ff1b6ce6c67f0eb4d9fb7cbf6d906ea8ea5bb5f147749bb07690292
5
5
  SHA512:
6
- metadata.gz: 8a40341d2e94063bab2b1471b845f30963303dad494272baf8617c7b01fbbcceeee9cff2308d6e96ac7970de1a2264e92eaeffc595c426d37be75d7270cccceb
7
- data.tar.gz: 8b1785be6e12079f3a9997794705cdd4700a3da0d826cd73c5781e47c958be011466627537ff7c0b992449aee2bc1500817937ca3671287e996d6370b6a8130f
6
+ metadata.gz: 0c33264930291e6afc1f42fadf25e62943041251e5c345cfd7f6baf889a56c8e3e10333b4fdeb105491cc7c906ee9e459485e021f62db9a8133c4c5c11c1b8b7
7
+ data.tar.gz: 4b2935f52820e0ec21238d637822c452ac33b8c56cc239038875509ebf58a1999e3a094d207ef933708bcfb10df7d8e399b6dcbaf2d94e357772412a7f981308
@@ -0,0 +1,39 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches:
13
+ - master
14
+ pull_request:
15
+ types:
16
+ - opened
17
+ - synchronize
18
+ - reopened
19
+
20
+ permissions:
21
+ contents: read
22
+
23
+ jobs:
24
+ test:
25
+ runs-on: ubuntu-latest
26
+ timeout-minutes: 10
27
+ strategy:
28
+ matrix:
29
+ ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
30
+
31
+ steps:
32
+ - uses: actions/checkout@v3
33
+ - name: Set up Ruby
34
+ uses: ruby/setup-ruby@v1
35
+ with:
36
+ ruby-version: ${{ matrix.ruby-version }}
37
+ bundler-cache: true
38
+ - name: Run tests
39
+ run: bundle exec rake
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
  # CHANGELOG
2
+ ## 0.5.5
3
+ - Enhanced encoding handling to prevent misjudgments during UTF-8 conversion [#57](https://github.com/t-k/gmo-payment-ruby/pull/57) (Thanks [@y-yagi](https://github.com/y-yagi))
4
+
5
+ ## 0.5.4
6
+ * Support 銀行振込(バーチャル口座)決済, モバイルSuica, 楽天Edy決済 [#53](https://github.com/t-k/gmo-payment-ruby/pull/53) (Thanks [@valda](https://github.com/valda))
7
+ * Support 継続課金 [#31](https://github.com/t-k/gmo-payment-ruby/pull/31) (Thanks [@yalab](https://github.com/yalab))
2
8
 
3
9
  ## 0.5.3
4
10
  * Support 認証後決済実行 [#45](https://github.com/t-k/gmo-payment-ruby/pull/45) (Thanks [@darren987469](https://github.com/darren987469))
data/Gemfile CHANGED
@@ -5,11 +5,10 @@ group :development do
5
5
  end
6
6
 
7
7
  group :development, :test do
8
- if RUBY_VERSION >= "1.9.3"
9
- gem 'guard'
10
- gem 'guard-rspec'
11
- end
8
+ gem 'guard'
9
+ gem 'guard-rspec'
12
10
  gem 'simplecov'
11
+ gem "pry"
13
12
 
14
13
  if RUBY_PLATFORM =~ /darwin/
15
14
  gem "ruby_gntp"
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  GMO
2
2
  ====
3
- [![Gem Version](https://badge.fury.io/rb/gmo.png)](https://rubygems.org/gems/gmo)
4
- [![Build Status](https://travis-ci.org/t-k/gmo-payment-ruby.png)](https://travis-ci.org/t-k/gmo-payment-ruby)
3
+ [![Gem Version](https://badge.fury.io/rb/gmo.svg)](https://badge.fury.io/rb/gmo)
4
+ [![Ruby](https://github.com/t-k/gmo-payment-ruby/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/t-k/gmo-payment-ruby/actions/workflows/ruby.yml)
5
5
 
6
6
  GMO is a Ruby client library for the GMO Payment Platform, supporting the PG Multi Payment API, exec transactions, register users, and so on.
7
7
 
@@ -43,4 +43,4 @@ More documentation available <a href="https://github.com/t-k/gmo-payment-ruby/wi
43
43
 
44
44
  Contributors
45
45
  ---
46
- Patches contributed by [those people](https://github.com/t-k/gmo-payment-ruby/contributors).
46
+ Patches contributed by [those people](https://github.com/t-k/gmo-payment-ruby/contributors).
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/DepositRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Bank_ID=bank0000<SHOP_PASS>&Deposit_ID=dep0000<SHOP_PASS>&Method=2&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Deposit_ID=dep00001&Bank_ID=bank00001&Method=2
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:24 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/MailDepositRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Deposit_ID=dep0000<SHOP_PASS>&Method=2&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Deposit_ID=dep00001&Method=2
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:28 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/AccountRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Bank_ID=bank0000<SHOP_PASS>&Bank_Code=000<SHOP_PASS>&Branch_Code=8<SHOP_PASS>3&Account_Type=<SHOP_PASS>&Account_Name=An+Yutzy&Account_Number=00<SHOP_PASS>2345&Branch_Code_Jpbank=00567&Account_Number_Jpbank=0<SHOP_PASS>234567&Free=foobar&Method=<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Bank_ID=bank00001&Method=1
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:18 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/DepositRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Bank_ID=bank0000<SHOP_PASS>&Deposit_ID=dep0000<SHOP_PASS>&Amount=<SHOP_PASS>000&Method=<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Deposit_ID=dep00000&Bank_ID=bank00000&Method=1&Amount=1000&Bank_Fee=27
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:23 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/MailDepositRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Deposit_ID=dep0000<SHOP_PASS>&Mail_Address=anyutzy%40demo.com&Amount=<SHOP_PASS>000&Mail_Deposit_Account_Name=An+Yutzy&Expire=5&Shop_Mail_Address=anyutzy%40demo.com&Method=<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Deposit_ID=dep00001&Method=1&Amount=1000&Expire=20170503
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:27 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/AccountRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Bank_ID=bank0000<SHOP_PASS>&Method=3&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Bank_ID=bank00001&Method=3
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:20 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/AccountSearch.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Bank_ID=bank0000<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Bank_ID=bank12345&Delete_Flag=0&Bank_Name=みずほ銀行&Bank_Code=0001&Branch_Name=札幌支店&Branch_Code=813&Account_Type=1&Account_Number=0012345&Account_Name=An Yutzy&Free=&Branch_Code_Jpbank=&Account_Number_Jpbank=
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:21 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/BalanceSearch.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Shop_ID=rshop00000071&Balance=9818965&Balance_Forecast=9818965
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:26 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/DepositSearch.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Deposit_ID=dep0000<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Deposit_ID=dep00000&Bank_ID=bank163144&Bank_Name=みずほ銀行&Bank_Code=0001&Branch_Name=札幌支店&Branch_Code=813&Account_Type=1&Account_Number=0012345&Account_Name=An Yutzy&Free=&Amount=181035&Bank_Fee=270&Result=0&Branch_Code_Jpbank=&Account_Number_Jpbank=&Deposit_Date=&Result_Detail=
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:25 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/MailDepositSearch.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Deposit_ID=dep0000<SHOP_PASS>&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Deposit_ID=dep00001&Mail_Address=anyutzy+test@demo.com&Shop_Mail_Address=anyutzy@demo.com&Account_Name=An Yutzy&Amount=1000&Expire=20170503&Status=0
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:30 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<REMITTANCE_HOST>/api/AccountRegistration.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: Bank_ID=bank0000<SHOP_PASS>&Bank_Code=000<SHOP_PASS>&Branch_Code=8<SHOP_PASS>3&Account_Type=<SHOP_PASS>&Account_Name=An+Yutzy&Account_Number=00<SHOP_PASS>2345&Branch_Code_Jpbank=00567&Account_Number_Jpbank=0<SHOP_PASS>234567&Free=foobar&Method=2&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Frame-Options:
32
32
  - SAMEORIGIN
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: Bank_ID=bank00001&Method=2
36
36
  http_version:
37
37
  recorded_at: Mon, 01 May 2017 05:58:19 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=1362106775&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=675a12f12bb3bbf57aeb67acabfccecf&AccessPass=63144577f7f84c800fa2001cb7495f34&OrderID=1362106775&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/AlterTran.idPass
64
64
  body:
65
- encoding: UTF-8
65
+ encoding: Windows-31J
66
66
  string: AccessID=675a12f12bb3bbf57aeb67acabfccecf&AccessPass=63144577f7f84c800fa2001cb7495f34&JobCd=SALES&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
67
67
  headers:
68
68
  Accept:
@@ -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=1362106773&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=f51483bb5892e25754eb85207a582b3c&AccessPass=07acabfd75965a1141fb9099080a8975&OrderID=1362106773&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/AlterTran.idPass
64
64
  body:
65
- encoding: UTF-8
65
+ encoding: Windows-31J
66
66
  string: AccessID=f51483bb5892e25754eb85207a582b3c&AccessPass=07acabfd75965a1141fb9099080a8975&JobCd=RETURN&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
67
67
  headers:
68
68
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/AlterTran.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: AccessID=null&AccessPass=null&JobCd=SALES&Amount=null&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/EntryTranBrandtoken.idPass
6
6
  body:
7
- encoding: UTF-8
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: 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 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: 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=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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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: UTF-8
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:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SearchTradeMulti.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=null&PayType=null&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/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/CvsCancel.idPass
35
35
  body:
36
- encoding: UTF-8
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: UTF-8
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: 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:29:59 GMT
@@ -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:
@@ -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=null&JobCd=null&Amount=null&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/EntryTranDocomo.idPass
6
6
  body:
7
- encoding: UTF-8
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: UTF-8
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
@@ -0,0 +1,35 @@
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>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:49 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=509ced83bb0acd48c958f3baff94452<TOKEN>
34
+ recorded_at: Mon, 12 Sep 2022 08:03:49 GMT
35
+ 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=1362106772&JobCd=AUTH&Amount=100&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/EntryTran.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=null&JobCd=null&Amount=null&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=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: UTF-8
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: UTF-8
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: UTF-8
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