gmo_payment 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +7 -2
  3. data/CHANGELOG.md +7 -2
  4. data/Gemfile +4 -0
  5. data/README.md +20 -22
  6. data/lib/gmo_payment/client.rb +1 -1
  7. data/lib/gmo_payment/version.rb +1 -1
  8. data/spec/cassettes/GmoPayment_Client/_auth_to_sales/return_6_items.yml +22 -22
  9. data/spec/cassettes/GmoPayment_Client/_change_tran/return_6_items.yml +22 -22
  10. data/spec/cassettes/GmoPayment_Client/_delete_card/return_1_items.yml +16 -16
  11. data/spec/cassettes/GmoPayment_Client/_delete_member/return_1_items.yml +12 -12
  12. data/spec/cassettes/GmoPayment_Client/_delete_tran/return_6_items.yml +22 -22
  13. data/spec/cassettes/GmoPayment_Client/_entry_tran/return_2_items.yml +6 -6
  14. data/spec/cassettes/GmoPayment_Client/_entry_tran_btc/return_2_items.yml +7 -7
  15. data/spec/cassettes/GmoPayment_Client/_exec_tran/return_12_items.yml +17 -17
  16. data/spec/cassettes/GmoPayment_Client/_exec_tran_3d/return_4_items.yml +12 -12
  17. data/spec/cassettes/GmoPayment_Client/_exec_tran_btc/return_3_items.yml +14 -14
  18. data/spec/cassettes/GmoPayment_Client/_exec_tran_member/return_12_items.yml +29 -28
  19. data/spec/cassettes/GmoPayment_Client/_exec_tran_member_3d/return_4_items.yml +23 -23
  20. data/spec/cassettes/GmoPayment_Client/_get_rate_btc/return_1_item.yml +4 -4
  21. data/spec/cassettes/GmoPayment_Client/_re_exec_tran/return_6_items.yml +27 -27
  22. data/spec/cassettes/GmoPayment_Client/_save_card/return_3_items.yml +11 -11
  23. data/spec/cassettes/GmoPayment_Client/_save_member/return_1_items.yml +6 -6
  24. data/spec/cassettes/GmoPayment_Client/_save_traded_card/return_3_items.yml +34 -33
  25. data/spec/cassettes/GmoPayment_Client/_search_card/return_7_items.yml +16 -16
  26. data/spec/cassettes/GmoPayment_Client/_search_member/return_3_items.yml +12 -12
  27. data/spec/cassettes/GmoPayment_Client/_search_trade/return_21_items.yml +12 -12
  28. data/spec/cassettes/GmoPayment_Client/_search_trade_btc/return_11_items.yml +13 -13
  29. data/spec/cassettes/GmoPayment_Client/_secure_tran/return_11_items.yml +26 -26
  30. data/spec/cassettes/GmoPayment_Client/_update_card/return_3_items.yml +16 -16
  31. data/spec/cassettes/GmoPayment_Client/_update_member/return_1_items.yml +12 -12
  32. data/spec/gmo_payment/client_spec.rb +66 -29
  33. data/spec/gmo_payment/errors_spec.rb +1 -1
  34. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b7667f9f19dc709b3b6ec847a0c43f736fe0156e
4
- data.tar.gz: 2f95a3dfb055a0562d671a095ad6dc322a5faf59
2
+ SHA256:
3
+ metadata.gz: 0dd1544385032d526e95e4b5761dd882f0ec4d3bcb3524f38af317af1f940134
4
+ data.tar.gz: 661868f8607f279cd3eaeb461fbf1fa8336e1e42fefd4df766f3260bff55f2d1
5
5
  SHA512:
6
- metadata.gz: ccb334691ad89667e091de670beaaff46156e74f8f3feb5a79dc64c71b3f0f4f32f4d750604e9c9ff68d39b8261c9dce9294bfb26259e83f965ec4a72f5ab0f6
7
- data.tar.gz: f456a175982bcf3daa50a09078aa05bdc0c22a9375e05f9ba96a21e6ff92133e05235d2aa16cee46dc6f6121ce5e6ed4ef359c732d4a8b47bd5e2560149f994d
6
+ metadata.gz: e7807dfac26992aef1cd938111eb2eaea1ab3068ac84c506cacf3c1226dedd596cbd1e36dbd28b25f74de9b7c697afd58f4ab473cf3177154e76b8acecf343c1
7
+ data.tar.gz: 7d5fe2bca51fa10b68208291c65722e6f1320746af9f2caba4f0882d11c3d8cece5bbf87baca85d9504285348a07b5bc308bc661288d8368f8f2ce414f9f9cd5
@@ -1,8 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
3
  - 2.1
5
4
  - 2.2
5
+ - 2.3
6
+ - 2.4
7
+ - 2.5
6
8
  env:
7
9
  global:
8
10
  - GMO_TEST_API_ENDPOINT="example.com"
@@ -17,4 +19,7 @@ env:
17
19
  - GMO_TEST_CARD_NO_Y_MASK="*************999"
18
20
  - GMO_TEST_ACS_URL="https://example.com/"
19
21
  - GMO_TEST_BTC_URL="https://example.com/"
20
- bundler_args: --without docs
22
+ bundler_args: --without docs development
23
+ notifications:
24
+ slack:
25
+ secure: I2C1iHx9Vq8U9DtBeernMNCzSoo7pLWz1Cdy8ya/Kx2yAvCcNAAnB697EBH2h38O0QkCjRR0IcHgv3yzpVyKSx7YuNLwLyljhvgoiSGtCK7wcMnlmtrQ2tR/0Ef+R1o83YAma7P34yo41FUmwbr7+77sCfEGlZZqzttBt0a9Gg9uekYptw2zu/dO1QWxNeyHbfm0ChlMq0/KKRK4StpZG4XKK1dWlf4agU9I93aNkc8u/h6gbNdpK4BoeLSgJEguSpFmboL6dsVyR7ZqnoQfHSWJdxlKsW+UyKo9ZiDvUoV8lx3/wR0G/cxG25jalcEojFhUN+clGdfFINhFJTgJzZTU509UvjPrPG+MosDrvmGzLU5uCx+2wZ6PQl/vJNYvlfR708XsUS6iNcqZpklqNV09hMgrFzqersu+dqaIzQjb9BgPOs1Rgc4TbCgEdsqE+YvxIcocHZyCuhmrgGGYuPFeYCm6PxLf+C0hacvgz6YG0ZQJ3tmcpUxDgIFJaMUgOP6g5qX4+nfrDe8DV4BZzM4hMrITEyJR1qmJD1ik8bRO5BFG/yhdYWSEmlRfIwBNA9PlfDbrRvFbzzzfPyrrOl7jJrk2BKXWfXee15y4iNcquXbGcUG3qyqutY2B4aRWL0rW93yOzIi9pqG5OEqwLqQT6mGkFdiseK8VwpBV6wI=
@@ -1,5 +1,10 @@
1
- # CHANGELOG
1
+ # CHANGE LOG
2
+
3
+ ## 0.0.2 (2018-05-28)
4
+
5
+ * Change `Net::HTTP#ssl_version` TLSv1 to TLSv1.2 for GMO-PG's specification change
6
+ * Unsupport Ruby `2.0.0`, use `2.1`+
2
7
 
3
8
  ## 0.0.1 (2015-10-24)
4
9
 
5
- - Initial release.
10
+ * Initial release.
data/Gemfile CHANGED
@@ -15,3 +15,7 @@ end
15
15
  group :docs do
16
16
  gem 'yard'
17
17
  end
18
+
19
+ group :development do
20
+ gem 'travis'
21
+ end
data/README.md CHANGED
@@ -6,9 +6,9 @@ Ruby client for the protocol type API provided by GMO Payment Gateway.
6
6
 
7
7
  This library includes:
8
8
 
9
- - Credit-Card protocol API - Version: 2014/03/18 1.13
10
- - Multi-Payment protocol API (Bitcoin) - Version: 2015/04/01 1.32
11
- - ErrorCode - Version: 2015/02/26 1.43
9
+ * Credit-Card protocol API - Version: 2014/03/18 1.13
10
+ * Multi-Payment protocol API (Bitcoin) - Version: 2015/04/01 1.32
11
+ * ErrorCode - Version: 2015/02/26 1.43
12
12
 
13
13
  ## Installation
14
14
 
@@ -73,28 +73,26 @@ You can use generator in Ruby on Rails:
73
73
 
74
74
  If you want to test in your environment, you have to define:
75
75
 
76
- - GMO_TEST_API_ENDPOINT
77
- - GMO_TEST_SITE_ID
78
- - GMO_TEST_SITE_PASS
79
- - GMO_TEST_SHOP_ID
80
- - GMO_TEST_SHOP_PASS
81
- - GMO_TEST_CARD_EXPIRE
82
- - GMO_TEST_CARD_NO_N
83
- => _Non-ACS test card number_
84
- - GMO_TEST_CARD_NO_N_MASK
85
- - GMO_TEST_CARD_NO_Y
86
- => _ACS test card number_
87
- - GMO_TEST_CARD_NO_Y_MASK
88
- - GMO_TEST_ACS_URL
89
- - GMO_TEST_BTC_URL
76
+ * `GMO_TEST_API_ENDPOINT`
77
+ * `GMO_TEST_SITE_ID`
78
+ * `GMO_TEST_SITE_PASS`
79
+ * `GMO_TEST_SHOP_ID`
80
+ * `GMO_TEST_SHOP_PASS`
81
+ * `GMO_TEST_CARD_EXPIRE`
82
+ * `GMO_TEST_CARD_NO_N`: _Non-ACS test card number_
83
+ * `GMO_TEST_CARD_NO_N_MASK`
84
+ * `GMO_TEST_CARD_NO_Y`: _ACS test card number_
85
+ * `GMO_TEST_CARD_NO_Y_MASK`
86
+ * `GMO_TEST_ACS_URL`
87
+ * `GMO_TEST_BTC_URL`
90
88
 
91
89
  ## Contributing
92
90
 
93
- 1. Fork it (https://github.com/kouhe-fuji/gmo_payment/fork)
94
- 2. Create your feature branch (`git checkout -b my-new-feature`)
95
- 3. Commit your changes (`git commit -am 'Add some feature'`)
96
- 4. Push to the branch (`git push origin my-new-feature`)
97
- 5. Create a new Pull Request
91
+ 1. Fork it (https://github.com/kouhei-fuji/gmo_payment/fork)
92
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
93
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
94
+ 4. Push to the branch (`git push origin my-new-feature`)
95
+ 5. Create a new Pull Request
98
96
 
99
97
  ## License
100
98
 
@@ -51,7 +51,7 @@ module GmoPayment
51
51
  http = ::Net::HTTP.new(@options.api_endpoint, 443,
52
52
  proxy.host, proxy.port, proxy.user, proxy.password)
53
53
  http.use_ssl = true
54
- http.ssl_version = :TLSv1
54
+ http.ssl_version = :TLSv1_2
55
55
  http.verify_mode = @options.verify_mode
56
56
  http.ssl_timeout = 120
57
57
  http.open_timeout = 15
@@ -1,3 +1,3 @@
1
1
  module GmoPayment
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -5,16 +5,16 @@ http_interactions:
5
5
  uri: https://<API_ENDPOINT>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: OrderID=T-9&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=60b2d5fc510b875e1bc054a755&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
12
12
  User-Agent:
13
- - RubyGem/GmoPayment/0.0.1
13
+ - RubyGem/GmoPayment/0.0.2
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Content-Length:
17
- - '70'
17
+ - '93'
18
18
  Content-Type:
19
19
  - application/x-www-form-urlencoded
20
20
  response:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  Server:
26
26
  - nginx
27
27
  Date:
28
- - Tue, 24 Mar 2015 12:00:24 GMT
28
+ - Mon, 28 May 2018 09:14:45 GMT
29
29
  Content-Type:
30
30
  - text/plain;charset=Windows-31J
31
31
  Transfer-Encoding:
@@ -34,24 +34,24 @@ http_interactions:
34
34
  - close
35
35
  body:
36
36
  encoding: UTF-8
37
- string: AccessID=4c6e036c8f213ddb47a92468583eb40d&AccessPass=6772013c381b4ff1b327412134b81a4b
37
+ string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c
38
38
  http_version:
39
- recorded_at: Tue, 24 Mar 2015 12:00:25 GMT
39
+ recorded_at: Mon, 28 May 2018 09:14:45 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: https://<API_ENDPOINT>/payment/ExecTran.idPass
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: AccessID=4c6e036c8f213ddb47a92468583eb40d&AccessPass=6772013c381b4ff1b327412134b81a4b&OrderID=T-9&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23auth_to_sales&ClientFieldFlag=1
45
+ string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c&OrderID=60b2d5fc510b875e1bc054a755&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23auth_to_sales&ClientFieldFlag=1
46
46
  headers:
47
47
  Accept:
48
48
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
49
49
  User-Agent:
50
- - RubyGem/GmoPayment/0.0.1
50
+ - RubyGem/GmoPayment/0.0.2
51
51
  Accept-Encoding:
52
52
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
53
  Content-Length:
54
- - '247'
54
+ - '270'
55
55
  Content-Type:
56
56
  - application/x-www-form-urlencoded
57
57
  response:
@@ -62,7 +62,7 @@ http_interactions:
62
62
  Server:
63
63
  - nginx
64
64
  Date:
65
- - Tue, 24 Mar 2015 12:00:25 GMT
65
+ - Mon, 28 May 2018 09:14:46 GMT
66
66
  Content-Type:
67
67
  - text/plain;charset=Windows-31J
68
68
  Transfer-Encoding:
@@ -72,25 +72,25 @@ http_interactions:
72
72
  body:
73
73
  encoding: ASCII-8BIT
74
74
  string: !binary |-
75
- QUNTPTAmT3JkZXJJRD1ULTkmRm9yd2FyZD0yYTk5NjYyJk1ldGhvZD0xJlBh
76
- eVRpbWVzPSZBcHByb3ZlPTY2MTEyNzUmVHJhbklEPTE1MDMyNDIxMDAxMTEx
77
- MTExMTExMTE4NzIzODcmVHJhbkRhdGU9MjAxNTAzMjQyMTAwMjQmQ2hlY2tT
78
- dHJpbmc9MTY5ZmQ2Y2UwY2E1ODc3MGFlMjZjYmYwMjZlNDIzNzEmQ2xpZW50
79
- RmllbGQxPURFVlRFU1QmQ2xpZW50RmllbGQyPYpKlK2DZYNYg2cmQ2xpZW50
80
- RmllbGQzPSNhdXRoX3RvX3NhbGVz
75
+ QUNTPTAmT3JkZXJJRD02MGIyZDVmYzUxMGI4NzVlMWJjMDU0YTc1NSZGb3J3
76
+ YXJkPTJhOTk2NjImTWV0aG9kPTEmUGF5VGltZXM9JkFwcHJvdmU9NDU2MzI1
77
+ NCZUcmFuSUQ9MTgwNTI4MTgxNDExMTExMTExMTExMTg3MDg5NyZUcmFuRGF0
78
+ ZT0yMDE4MDUyODE4MTQ0NSZDaGVja1N0cmluZz0xZDRhNmYyMjcyZWRhMzc4
79
+ N2E2NjBjMGRkODEyN2Y5YyZDbGllbnRGaWVsZDE9REVWVEVTVCZDbGllbnRG
80
+ aWVsZDI9ikqUrYNlg1iDZyZDbGllbnRGaWVsZDM9I2F1dGhfdG9fc2FsZXM=
81
81
  http_version:
82
- recorded_at: Tue, 24 Mar 2015 12:00:26 GMT
82
+ recorded_at: Mon, 28 May 2018 09:14:46 GMT
83
83
  - request:
84
84
  method: post
85
85
  uri: https://<API_ENDPOINT>/payment/AlterTran.idPass
86
86
  body:
87
87
  encoding: US-ASCII
88
- string: AccessID=4c6e036c8f213ddb47a92468583eb40d&AccessPass=6772013c381b4ff1b327412134b81a4b&Amount=1&JobCd=SALES&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
88
+ string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c&Amount=1&JobCd=SALES&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
89
89
  headers:
90
90
  Accept:
91
91
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
92
92
  User-Agent:
93
- - RubyGem/GmoPayment/0.0.1
93
+ - RubyGem/GmoPayment/0.0.2
94
94
  Accept-Encoding:
95
95
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
96
96
  Content-Length:
@@ -105,7 +105,7 @@ http_interactions:
105
105
  Server:
106
106
  - nginx
107
107
  Date:
108
- - Tue, 24 Mar 2015 12:00:25 GMT
108
+ - Mon, 28 May 2018 09:14:46 GMT
109
109
  Content-Type:
110
110
  - text/plain;charset=Windows-31J
111
111
  Transfer-Encoding:
@@ -114,7 +114,7 @@ http_interactions:
114
114
  - close
115
115
  body:
116
116
  encoding: UTF-8
117
- string: AccessID=4c6e036c8f213ddb47a92468583eb40d&AccessPass=6772013c381b4ff1b327412134b81a4b&Forward=2a99662&Approve=6611275&TranID=1503242100111111111111872387&TranDate=20150324210025
117
+ string: AccessID=390e237a5797b3392e0625ea0aee61ce&AccessPass=684512786c5ac6e680c304729f43de5c&Forward=2a99662&Approve=4563254&TranID=1805281814111111111111870897&TranDate=20180528181446
118
118
  http_version:
119
- recorded_at: Tue, 24 Mar 2015 12:00:26 GMT
119
+ recorded_at: Mon, 28 May 2018 09:14:46 GMT
120
120
  recorded_with: VCR 2.9.3
@@ -5,16 +5,16 @@ http_interactions:
5
5
  uri: https://<API_ENDPOINT>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: OrderID=T-10&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=ff96841982338452012ab9a855&JobCd=AUTH&Amount=1&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
12
12
  User-Agent:
13
- - RubyGem/GmoPayment/0.0.1
13
+ - RubyGem/GmoPayment/0.0.2
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Content-Length:
17
- - '71'
17
+ - '93'
18
18
  Content-Type:
19
19
  - application/x-www-form-urlencoded
20
20
  response:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  Server:
26
26
  - nginx
27
27
  Date:
28
- - Tue, 24 Mar 2015 12:00:06 GMT
28
+ - Mon, 28 May 2018 09:14:38 GMT
29
29
  Content-Type:
30
30
  - text/plain;charset=Windows-31J
31
31
  Transfer-Encoding:
@@ -34,24 +34,24 @@ http_interactions:
34
34
  - close
35
35
  body:
36
36
  encoding: UTF-8
37
- string: AccessID=1fc40d77d7074a5ec74a16d880237cc4&AccessPass=488448d568e4459ed978a787002469a5
37
+ string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9
38
38
  http_version:
39
- recorded_at: Tue, 24 Mar 2015 12:00:07 GMT
39
+ recorded_at: Mon, 28 May 2018 09:14:38 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: https://<API_ENDPOINT>/payment/ExecTran.idPass
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: AccessID=1fc40d77d7074a5ec74a16d880237cc4&AccessPass=488448d568e4459ed978a787002469a5&OrderID=T-10&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23change_tran&ClientFieldFlag=1
45
+ string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9&OrderID=ff96841982338452012ab9a855&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&Method=1&ClientField1=DEVTEST&ClientField2=%8AJ%94%AD%83e%83X%83g&ClientField3=%23change_tran&ClientFieldFlag=1
46
46
  headers:
47
47
  Accept:
48
48
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
49
49
  User-Agent:
50
- - RubyGem/GmoPayment/0.0.1
50
+ - RubyGem/GmoPayment/0.0.2
51
51
  Accept-Encoding:
52
52
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
53
  Content-Length:
54
- - '246'
54
+ - '268'
55
55
  Content-Type:
56
56
  - application/x-www-form-urlencoded
57
57
  response:
@@ -62,7 +62,7 @@ http_interactions:
62
62
  Server:
63
63
  - nginx
64
64
  Date:
65
- - Tue, 24 Mar 2015 12:00:07 GMT
65
+ - Mon, 28 May 2018 09:14:40 GMT
66
66
  Content-Type:
67
67
  - text/plain;charset=Windows-31J
68
68
  Transfer-Encoding:
@@ -72,25 +72,25 @@ http_interactions:
72
72
  body:
73
73
  encoding: ASCII-8BIT
74
74
  string: !binary |-
75
- QUNTPTAmT3JkZXJJRD1ULTEwJkZvcndhcmQ9MmE5OTY2MiZNZXRob2Q9MSZQ
76
- YXlUaW1lcz0mQXBwcm92ZT02NjExMjYwJlRyYW5JRD0xNTAzMjQyMTAwMTEx
77
- MTExMTExMTExODcyMzcyJlRyYW5EYXRlPTIwMTUwMzI0MjEwMDA3JkNoZWNr
78
- U3RyaW5nPTY3ZGUzMmIwNGRiNTU3ZDc5ZGYzY2RmMDM3MjBiMDkyJkNsaWVu
79
- dEZpZWxkMT1ERVZURVNUJkNsaWVudEZpZWxkMj2KSpStg2WDWINnJkNsaWVu
80
- dEZpZWxkMz0jY2hhbmdlX3RyYW4=
75
+ QUNTPTAmT3JkZXJJRD1mZjk2ODQxOTgyMzM4NDUyMDEyYWI5YTg1NSZGb3J3
76
+ YXJkPTJhOTk2NjImTWV0aG9kPTEmUGF5VGltZXM9JkFwcHJvdmU9NDU2MzI1
77
+ MCZUcmFuSUQ9MTgwNTI4MTgxNDExMTExMTExMTExMTg3MDg5MyZUcmFuRGF0
78
+ ZT0yMDE4MDUyODE4MTQ0MCZDaGVja1N0cmluZz1jMzgxMzU2MjJhZmVlMGRm
79
+ MjhhODljNmM5MjE3MjY3OSZDbGllbnRGaWVsZDE9REVWVEVTVCZDbGllbnRG
80
+ aWVsZDI9ikqUrYNlg1iDZyZDbGllbnRGaWVsZDM9I2NoYW5nZV90cmFu
81
81
  http_version:
82
- recorded_at: Tue, 24 Mar 2015 12:00:08 GMT
82
+ recorded_at: Mon, 28 May 2018 09:14:40 GMT
83
83
  - request:
84
84
  method: post
85
85
  uri: https://<API_ENDPOINT>/payment/ChangeTran.idPass
86
86
  body:
87
87
  encoding: US-ASCII
88
- string: AccessID=1fc40d77d7074a5ec74a16d880237cc4&AccessPass=488448d568e4459ed978a787002469a5&JobCd=AUTH&Amount=2&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
88
+ string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9&JobCd=AUTH&Amount=2&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
89
89
  headers:
90
90
  Accept:
91
91
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
92
92
  User-Agent:
93
- - RubyGem/GmoPayment/0.0.1
93
+ - RubyGem/GmoPayment/0.0.2
94
94
  Accept-Encoding:
95
95
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
96
96
  Content-Length:
@@ -105,7 +105,7 @@ http_interactions:
105
105
  Server:
106
106
  - nginx
107
107
  Date:
108
- - Tue, 24 Mar 2015 12:00:09 GMT
108
+ - Mon, 28 May 2018 09:14:44 GMT
109
109
  Content-Type:
110
110
  - text/plain;charset=Windows-31J
111
111
  Transfer-Encoding:
@@ -114,7 +114,7 @@ http_interactions:
114
114
  - close
115
115
  body:
116
116
  encoding: UTF-8
117
- string: AccessID=1fc40d77d7074a5ec74a16d880237cc4&AccessPass=488448d568e4459ed978a787002469a5&Forward=2a99662&Approve=6611262&TranID=1503242100111111111111872374&TranDate=20150324210009
117
+ string: AccessID=6eb232bcbdc06b36ed05df2f692e97d1&AccessPass=49f7de48a1333f3eb2bc3d33e5b3d0f9&Forward=2a99662&Approve=4563252&TranID=1805281814111111111111870895&TranDate=20180528181442
118
118
  http_version:
119
- recorded_at: Tue, 24 Mar 2015 12:00:10 GMT
119
+ recorded_at: Mon, 28 May 2018 09:14:43 GMT
120
120
  recorded_with: VCR 2.9.3
@@ -5,16 +5,16 @@ http_interactions:
5
5
  uri: https://<API_ENDPOINT>/payment/SaveMember.idPass
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: MemberID=T-M7&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
8
+ string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
12
12
  User-Agent:
13
- - RubyGem/GmoPayment/0.0.1
13
+ - RubyGem/GmoPayment/0.0.2
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Content-Length:
17
- - '52'
17
+ - '84'
18
18
  Content-Type:
19
19
  - application/x-www-form-urlencoded
20
20
  response:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  Server:
26
26
  - nginx
27
27
  Date:
28
- - Tue, 24 Mar 2015 12:00:05 GMT
28
+ - Mon, 28 May 2018 09:14:55 GMT
29
29
  Content-Type:
30
30
  - text/plain;charset=Windows-31J
31
31
  Transfer-Encoding:
@@ -34,24 +34,24 @@ http_interactions:
34
34
  - close
35
35
  body:
36
36
  encoding: UTF-8
37
- string: MemberID=T-M7
37
+ string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f
38
38
  http_version:
39
- recorded_at: Tue, 24 Mar 2015 12:00:06 GMT
39
+ recorded_at: Mon, 28 May 2018 09:14:55 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: https://<API_ENDPOINT>/payment/SaveCard.idPass
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: MemberID=T-M7&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
45
+ string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f&CardNo=<CARD_NO_N>&Expire=<CARD_EXPIRE>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
46
46
  headers:
47
47
  Accept:
48
48
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
49
49
  User-Agent:
50
- - RubyGem/GmoPayment/0.0.1
50
+ - RubyGem/GmoPayment/0.0.2
51
51
  Accept-Encoding:
52
52
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
53
  Content-Length:
54
- - '88'
54
+ - '120'
55
55
  Content-Type:
56
56
  - application/x-www-form-urlencoded
57
57
  response:
@@ -62,7 +62,7 @@ http_interactions:
62
62
  Server:
63
63
  - nginx
64
64
  Date:
65
- - Tue, 24 Mar 2015 12:00:06 GMT
65
+ - Mon, 28 May 2018 09:14:58 GMT
66
66
  Content-Type:
67
67
  - text/plain;charset=Windows-31J
68
68
  Transfer-Encoding:
@@ -73,22 +73,22 @@ http_interactions:
73
73
  encoding: UTF-8
74
74
  string: CardSeq=0&CardNo=<CARD_NO_N_MASK>&Forward=2a99662
75
75
  http_version:
76
- recorded_at: Tue, 24 Mar 2015 12:00:07 GMT
76
+ recorded_at: Mon, 28 May 2018 09:14:59 GMT
77
77
  - request:
78
78
  method: post
79
79
  uri: https://<API_ENDPOINT>/payment/DeleteCard.idPass
80
80
  body:
81
81
  encoding: US-ASCII
82
- string: MemberID=T-M7&CardSeq=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
82
+ string: MemberID=6d9f8385-3c6b-476d-ba85-bfd3fa4ce46f&CardSeq=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
83
83
  headers:
84
84
  Accept:
85
85
  - application/x-www-form-urlencoded;q=1.0,*/*;q=0.5
86
86
  User-Agent:
87
- - RubyGem/GmoPayment/0.0.1
87
+ - RubyGem/GmoPayment/0.0.2
88
88
  Accept-Encoding:
89
89
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
90
90
  Content-Length:
91
- - '62'
91
+ - '94'
92
92
  Content-Type:
93
93
  - application/x-www-form-urlencoded
94
94
  response:
@@ -99,7 +99,7 @@ http_interactions:
99
99
  Server:
100
100
  - nginx
101
101
  Date:
102
- - Tue, 24 Mar 2015 12:00:06 GMT
102
+ - Mon, 28 May 2018 09:14:59 GMT
103
103
  Content-Type:
104
104
  - text/plain;charset=Windows-31J
105
105
  Transfer-Encoding:
@@ -110,5 +110,5 @@ http_interactions:
110
110
  encoding: UTF-8
111
111
  string: CardSeq=0
112
112
  http_version:
113
- recorded_at: Tue, 24 Mar 2015 12:00:07 GMT
113
+ recorded_at: Mon, 28 May 2018 09:14:59 GMT
114
114
  recorded_with: VCR 2.9.3