gmo 0.5.4 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +39 -0
  3. data/CHANGELOG.md +8 -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_link_redirect_url_with_invalid_options_got_error.yml +53 -0
  8. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_link_redirect_url_with_valid_options_gets_data_about_a_link_edirect_url.yml +103 -0
  9. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  10. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_account_gets_data_about_an_account.yml +2 -2
  11. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_deposit_gets_data_about_a_deposit.yml +2 -2
  12. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_link_redirect_url_with_valid_options_gets_data_about_link_redirect_url.yml +53 -0
  13. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_with_valid_options_gets_data_about_a_mail_deposit.yml +47 -0
  14. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_with_valid_options_makes_request_with_correct_parameters.yml +47 -0
  15. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_delete_account_gets_data_about_an_account.yml +2 -2
  16. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_account_gets_data_about_an_account.yml +2 -2
  17. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_balance_gets_data_about_balance.yml +2 -2
  18. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_deposit_gets_data_about_a_deposit.yml +2 -2
  19. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  20. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_update_account_gets_data_about_an_account.yml +2 -2
  21. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_change_order_auth_to_sale.yml +3 -3
  22. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_gets_data_about_order.yml +3 -3
  23. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_got_error_if_missing_options.yml +1 -1
  24. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_brandtoken_gets_data_about_order.yml +6 -6
  25. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_gets_data_about_order.yml +3 -3
  26. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_got_error_if_missing_options.yml +1 -1
  27. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml +2 -2
  28. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_brandtoken_gets_data_about_a_transaction.yml +2 -2
  29. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_gets_data_about_a_transaction.yml +1 -1
  30. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_got_error_if_missing_options.yml +1 -1
  31. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_docomo_gets_data_about_a_transaction.yml +2 -2
  32. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_edy_gets_data_about_a_transaction.yml +2 -2
  33. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_ganb_gets_data_about_a_transaction.yml +35 -0
  34. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_gets_data_about_a_transaction.yml +1 -1
  35. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_got_error_if_missing_options.yml +1 -1
  36. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_linepay_gets_data_about_a_transaction.yml +2 -2
  37. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_pay_easy_gets_data_about_a_transaction.yml +2 -2
  38. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_paypal_gets_data_about_a_transaction.yml +35 -0
  39. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_rakuten_id_gets_data_about_a_transaction.yml +2 -2
  40. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_suica_gets_data_about_a_transaction.yml +2 -2
  41. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_virtualaccount_gets_data_about_a_transaction.yml +2 -2
  42. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_gets_data_about_a_transaction.yml +4 -4
  43. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +5 -5
  44. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_cvs_gets_data_about_a_transaction.yml +2 -2
  45. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_docomo_gets_data_about_a_transaction.yml +4 -4
  46. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_doesn_t_require_card_info_if_token_is_present.yml +4 -4
  47. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_edy_gets_data_about_a_transaction.yml +4 -4
  48. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_ganb_gets_data_about_a_transaction.yml +68 -0
  49. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml +2 -2
  50. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_got_error_if_missing_options.yml +1 -1
  51. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml +4 -4
  52. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +3 -3
  53. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_pay_easy_gets_data_about_a_transaction.yml +4 -4
  54. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_paypal_gets_data_about_a_transaction.yml +67 -0
  55. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_rakuten_id_gets_data_about_a_transaction.yml +4 -4
  56. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_suica_gets_data_about_a_transaction.yml +4 -4
  57. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_virtualaccount_gets_data_about_a_transaction.yml +3 -3
  58. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_refund_tran_brandtoken_gets_data_about_a_transaction.yml +6 -6
  59. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_sales_tran_brandtoken_gets_data_about_a_transaction.yml +8 -8
  60. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_gets_data_about_order.yml +1 -1
  61. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_got_error_if_missing_options.yml +1 -1
  62. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_gets_data_about_order.yml +1 -1
  63. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_got_error_if_missing_options.yml +1 -1
  64. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_secure_tran_gets_data_about_a_transaction.yml +2 -2
  65. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml +6 -6
  66. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_exec_tran_brandtoken_got_data.yml +4 -4
  67. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_register_recurring_credit_got_data.yml +2 -2
  68. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_brandtoken_got_data.yml +6 -6
  69. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_data.yml +8 -8
  70. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_error_if_missing_options.yml +1 -1
  71. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_unregister_recurring_success_unregister.yml +4 -4
  72. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
  73. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_card_gets_data_about_a_card.yml +1 -1
  74. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_member_gets_data_about_a_member.yml +2 -2
  75. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_doesn_t_require_card_info_if_token_is_present.yml +2 -2
  76. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_gets_data_about_a_card.yml +1 -1
  77. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_gets_data_about_a_transaction.yml +1 -1
  78. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
  79. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_detail_by_member_id_gets_data_about_card_detail.yml +1 -1
  80. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_gets_data_about_a_card.yml +2 -2
  81. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_member_gets_data_about_a_member.yml +2 -2
  82. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_update_member_gets_data_about_a_transaction.yml +1 -1
  83. data/lib/gmo/const.rb +15 -0
  84. data/lib/gmo/http_services.rb +6 -1
  85. data/lib/gmo/remittance_api.rb +63 -1
  86. data/lib/gmo/shop_api.rb +40 -0
  87. data/lib/gmo/version.rb +1 -1
  88. data/lib/gmo.rb +11 -4
  89. data/spec/gmo/remittance_api_spec.rb +123 -36
  90. data/spec/gmo/shop_api_spec.rb +108 -5
  91. data/spec/spec_helper.rb +2 -5
  92. metadata +16 -9
  93. data/.travis.yml +0 -21
  94. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_gets_data_about_a_mail_deposit.yml +0 -38
  95. data/spec/support/encoding.rb +0 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a382627bdae7005db8cdb14727ad253739950a9b5134392dbcff019c3f85af80
4
- data.tar.gz: b090836a299173cbd347378c3c7ddc09d460f93228e85d77a49913ad29c2efdf
3
+ metadata.gz: 3eff4563d164b8bd4fd39337bf7678c04385add29377da07efa075c1a322d992
4
+ data.tar.gz: 709522dd504353f9c9fb346e0e924f98799be624fa306c05f08b427f60a273ab
5
5
  SHA512:
6
- metadata.gz: 9259cbed99b87ec9f436cd5e8675ef53597bf63291430f7e9456cf6d201f3f7dd9573061314e2495f1c6a9a737e49941df4150db650856f8c38c7c6b528c4d7d
7
- data.tar.gz: 94b6ffeace738a1283b1be9674ca3366fe6fd99a5c03a0c5a4920fcf66311ead68f0c923a1eed806033094130c1e219ef14ce31768e62d7c082f612e42eaf4aa
6
+ metadata.gz: 3a1858cea03ea2563249ed84778d8bf4f6970a5983e4c0a18debd88fd8ec8df7dd3613f3b0991a82a680dbfed5d6276831b1b8cc61c056a92df6ba2e7819f38f
7
+ data.tar.gz: 7cf6f7cc0c092f34d6074bce3615752cce5432246189d9798cdc4a42d41fe35a36dfe667067ce1aa347d346efca8bb58d3f41cc8aae340eee6828a4ed9745b78
@@ -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,12 @@
1
1
  # CHANGELOG
2
+ ## 0.5.6
3
+ - Support PayPal決済 [#63](https://github.com/t-k/gmo-payment-ruby/pull/63)
4
+ - Support 銀行振込(バーチャル口座 あおぞら)[#64](https://github.com/t-k/gmo-payment-ruby/pull/64)
5
+ - Update 送金サービス リンクタイプURL取得 [#65](https://github.com/t-k/gmo-payment-ruby/pull/65)
6
+ - Update 送金サービス メール送金指示 [#66](https://github.com/t-k/gmo-payment-ruby/pull/66)
7
+
8
+ ## 0.5.5
9
+ - 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))
2
10
 
3
11
  ## 0.5.4
4
12
  * Support 銀行振込(バーチャル口座)決済, モバイルSuica, 楽天Edy決済 [#53](https://github.com/t-k/gmo-payment-ruby/pull/53) (Thanks [@valda](https://github.com/valda))
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
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/shop/LinkRedirectUrl.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Deposit_ID":"dep00001","Call_Back_Url":"https://example.com/callback","Amount":"100","Auth_Code":"AUTH001","Shop_ID":"<REMITTANCE_SHOP_ID>","Shop_Pass":"<REMITTANCE_SHOP_PASS>"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: ''
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 09 Oct 2023 08:25:18 GMT
27
+ Content-Type:
28
+ - application/json;charset=UTF-8
29
+ Content-Length:
30
+ - "177"
31
+ Connection:
32
+ - close
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Cache-Control:
36
+ - no-cache, no-store
37
+ Pragma:
38
+ - no-cache
39
+ Expires:
40
+ - '0'
41
+ Content-Disposition:
42
+ - attachment;filename="LinkRedirectUrl.json"
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - "1; mode=block"
47
+ Strict-Transport-Security:
48
+ - max-age=63072000
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"Redirect_Url":"https://<REMITTANCE_HOST>/mail/mail-deposit?token=7c0bbc6531f42138eca9b8caf63b7735b5ad8d2faf8fe2ede3c364fd71f88e85","Deposit_ID":"dep00001","Method":"1"}'
52
+ recorded_at: Mon, 09 Oct 2023 08:25:18 GMT
53
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,103 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/shop/LinkRedirectUrl.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Deposit_ID":"dep00001","Call_Back_Url":"https://example.com/callback","Amount":"100","Auth_Code":"AUTH001","Shop_ID":"<REMITTANCE_SHOP_ID>","Shop_Pass":"<REMITTANCE_SHOP_PASS>"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: ''
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 09 Oct 2023 08:25:18 GMT
27
+ Content-Type:
28
+ - application/json;charset=UTF-8
29
+ Content-Length:
30
+ - "177"
31
+ Connection:
32
+ - close
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Cache-Control:
36
+ - no-cache, no-store
37
+ Pragma:
38
+ - no-cache
39
+ Expires:
40
+ - '0'
41
+ Content-Disposition:
42
+ - attachment;filename="LinkRedirectUrl.json"
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - "1; mode=block"
47
+ Strict-Transport-Security:
48
+ - max-age=63072000
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"Redirect_Url":"https://<REMITTANCE_HOST>/mail/mail-deposit?token=cbc777b18666b7aa21f42e98fa972c493530c3d5d6bfd9125b262075512bf285","Deposit_ID":"dep00001","Method":"1"}'
52
+ recorded_at: Mon, 09 Oct 2023 08:25:18 GMT
53
+ - request:
54
+ method: post
55
+ uri: https://<REMITTANCE_HOST>/api/shop/LinkRedirectUrl.json
56
+ body:
57
+ encoding: UTF-8
58
+ string: '{"Deposit_ID":"dep00001","Method":2,"Shop_ID":"<REMITTANCE_SHOP_ID>","Shop_Pass":"<REMITTANCE_SHOP_PASS>"}'
59
+ headers:
60
+ Content-Type:
61
+ - application/json
62
+ Accept-Encoding:
63
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
+ Accept:
65
+ - "*/*"
66
+ User-Agent:
67
+ - Ruby
68
+ response:
69
+ status:
70
+ code: 200
71
+ message: ''
72
+ headers:
73
+ Server:
74
+ - nginx
75
+ Date:
76
+ - Mon, 09 Oct 2023 08:26:00 GMT
77
+ Content-Type:
78
+ - application/json;charset=UTF-8
79
+ Content-Length:
80
+ - '38'
81
+ Connection:
82
+ - close
83
+ X-Content-Type-Options:
84
+ - nosniff
85
+ Cache-Control:
86
+ - no-cache, no-store
87
+ Pragma:
88
+ - no-cache
89
+ Expires:
90
+ - '0'
91
+ Content-Disposition:
92
+ - attachment;filename="LinkRedirectUrl.json"
93
+ X-Frame-Options:
94
+ - SAMEORIGIN
95
+ X-Xss-Protection:
96
+ - "1; mode=block"
97
+ Strict-Transport-Security:
98
+ - max-age=63072000
99
+ body:
100
+ encoding: UTF-8
101
+ string: '{"Deposit_ID":"dep00001","Method":"2"}'
102
+ recorded_at: Mon, 09 Oct 2023 08:26:00 GMT
103
+ recorded_with: VCR 6.1.0
@@ -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
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/shop/LinkRedirectUrl.json
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"Deposit_ID":"dep00001","Amount":"1000","Auth_Code":"auth00001","Call_Back_Url":"https://example.com/callback","Shop_ID":"<REMITTANCE_SHOP_ID>","Shop_Pass":"<REMITTANCE_SHOP_PASS>"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: ''
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Fri, 06 Oct 2023 10:30:26 GMT
27
+ Content-Type:
28
+ - application/json;charset=UTF-8
29
+ Content-Length:
30
+ - "177"
31
+ Connection:
32
+ - close
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Cache-Control:
36
+ - no-cache, no-store
37
+ Pragma:
38
+ - no-cache
39
+ Expires:
40
+ - '0'
41
+ Content-Disposition:
42
+ - attachment;filename="LinkRedirectUrl.json"
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - "1; mode=block"
47
+ Strict-Transport-Security:
48
+ - max-age=63072000
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"Redirect_Url":"https://<REMITTANCE_HOST>/mail/mail-deposit?token=cfd81440aef67210b6f3eccf3cb8e7d7020013d67108ca4d13d1ca897fb0d0f6","Deposit_ID":"dep00001","Method":"1"}'
52
+ recorded_at: Fri, 06 Oct 2023 10:30:26 GMT
53
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/MailDepositRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Deposit_ID=dep00001&Mail_Address=anyutzy%40demo.com&Amount=1000&Mail_Deposit_Account_Name=An+Yutzy&Expire=5&Shop_Mail_Address=anyutzy%40demo.com&Auth_Code=auth00001&Auth_Code2=auth00002&Auth_Code3=auth00003&Remit_Method_Bank=1&Mail_Template_Free1=mail_template_free_1&Mail_Template_Free2=mail_template_free_2&Mail_Template_Free3=mail_template_free_3&Mail_Template_Number=1&Bank_ID=bank_id00001&Select_Key=select00001&Client_Name=%83C%83%89%83C%83j%83%93%83%5E%83%8D%83E&Method=1&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_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: ''
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Thu, 12 Oct 2023 07:13:06 GMT
25
+ Content-Type:
26
+ - text/plain;charset=windows-31j
27
+ Content-Length:
28
+ - '56'
29
+ Connection:
30
+ - close
31
+ Cache-Control:
32
+ - no-cache, no-store
33
+ Pragma:
34
+ - no-cache
35
+ Expires:
36
+ - '0'
37
+ X-Frame-Options:
38
+ - SAMEORIGIN
39
+ X-Xss-Protection:
40
+ - "1; mode=block"
41
+ Strict-Transport-Security:
42
+ - max-age=63072000
43
+ body:
44
+ encoding: UTF-8
45
+ string: Deposit_ID=dep00001&Method=1&Amount=1000&Expire=20231018
46
+ recorded_at: Thu, 12 Oct 2023 07:13:06 GMT
47
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<REMITTANCE_HOST>/api/MailDepositRegistration.idPass
6
+ body:
7
+ encoding: UTF-8
8
+ string: Deposit_ID=dep00001&Mail_Address=anyutzy%40demo.com&Amount=1000&Mail_Deposit_Account_Name=An+Yutzy&Expire=5&Shop_Mail_Address=anyutzy%40demo.com&Auth_Code=auth00001&Auth_Code2=auth00002&Auth_Code3=auth00003&Remit_Method_Bank=1&Mail_Template_Free1=mail_template_free_1&Mail_Template_Free2=mail_template_free_2&Mail_Template_Free3=mail_template_free_3&Mail_Template_Number=1&Bank_ID=bank_id00001&Select_Key=select00001&Client_Name=%83C%83%89%83C%83j%83%93%83%5E%83%8D%83E&Method=1&Shop_ID=<REMITTANCE_SHOP_ID>&Shop_Pass=<REMITTANCE_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: ''
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Thu, 12 Oct 2023 07:13:06 GMT
25
+ Content-Type:
26
+ - text/plain;charset=windows-31j
27
+ Content-Length:
28
+ - '56'
29
+ Connection:
30
+ - close
31
+ Cache-Control:
32
+ - no-cache, no-store
33
+ Pragma:
34
+ - no-cache
35
+ Expires:
36
+ - '0'
37
+ X-Frame-Options:
38
+ - SAMEORIGIN
39
+ X-Xss-Protection:
40
+ - "1; mode=block"
41
+ Strict-Transport-Security:
42
+ - max-age=63072000
43
+ body:
44
+ encoding: UTF-8
45
+ string: Deposit_ID=dep00001&Method=1&Amount=1000&Expire=20231018
46
+ recorded_at: Thu, 12 Oct 2023 07:13:06 GMT
47
+ recorded_with: VCR 6.1.0
@@ -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: