gmo 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/LICENSE +22 -0
  2. data/README.ja.md +1 -3
  3. data/README.md +1 -3
  4. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_change_order_auth_to_sale.yml +15 -15
  5. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_gets_data_about_order.yml +15 -15
  6. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_got_error_if_missing_options.yml +3 -3
  7. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_gets_data_about_order.yml +15 -15
  8. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_got_error_if_missing_options.yml +3 -3
  9. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_gets_data_about_a_transaction.yml +6 -6
  10. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_got_error_if_missing_options.yml +5 -5
  11. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml +35 -6
  12. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_got_error_if_missing_options.yml +5 -5
  13. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_gets_data_about_order.yml +5 -5
  14. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_got_error_if_missing_options.yml +3 -3
  15. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_gets_data_about_order.yml +7 -9
  16. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_got_error_if_missing_options.yml +5 -7
  17. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_error_if_missing_options.yml +3 -3
  18. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_card_gets_data_about_a_card.yml +6 -8
  19. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_member_gets_data_about_a_member.yml +35 -8
  20. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_gets_data_about_a_card.yml +6 -8
  21. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_gets_data_about_a_transaction.yml +6 -6
  22. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_gets_data_about_a_card.yml +12 -16
  23. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_member_gets_data_about_a_member.yml +14 -18
  24. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_update_member_gets_data_about_a_transaction.yml +5 -5
  25. data/gmo.gemspec +1 -1
  26. data/lib/gmo.rb +3 -7
  27. data/lib/gmo/http_services.rb +1 -1
  28. data/lib/gmo/shop_and_site_api.rb +8 -8
  29. data/lib/gmo/shop_api.rb +7 -7
  30. data/lib/gmo/site_api.rb +7 -7
  31. data/lib/gmo/version.rb +1 -1
  32. data/spec/gmo/http_service_spec.rb +2 -7
  33. data/spec/gmo/shop_and_site_api_spec.rb +6 -1
  34. data/spec/gmo/shop_api_spec.rb +28 -10
  35. data/spec/gmo/site_api_spec.rb +24 -13
  36. data/spec/support/config.example.yml +2 -1
  37. data/spec/support/config.yml +2 -1
  38. data/spec/support/factory.rb +4 -0
  39. data/spec/support/vcr.rb +1 -0
  40. data/travis.yml +1 -0
  41. metadata +6 -6
  42. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_got_error_if_missing_options.yml +0 -32
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2013 Tatsuo Kaniwa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,5 +1,6 @@
1
1
  GMO
2
2
  ====
3
+ [![Gem Version](https://badge.fury.io/rb/gmo.png)](https://rubygems.org/gems/gmo)
3
4
  [![Build Status](https://travis-ci.org/t-k/gmo-payment-ruby.png)](https://travis-ci.org/t-k/gmo-payment-ruby)
4
5
 
5
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.
@@ -49,6 +50,3 @@ result = gmo.entry_tran(option)
49
50
  Authors and Contributors
50
51
  ---
51
52
  * [Tatsuo Kaniwa](https://github.com/t-k) - Creator of the project
52
-
53
- Copyright
54
- ---
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  GMO
2
2
  ====
3
+ [![Gem Version](https://badge.fury.io/rb/gmo.png)](https://rubygems.org/gems/gmo)
3
4
  [![Build Status](https://travis-ci.org/t-k/gmo-payment-ruby.png)](https://travis-ci.org/t-k/gmo-payment-ruby)
4
5
 
5
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.
@@ -49,6 +50,3 @@ result = gmo.entry_tran(option)
49
50
  Authors and Contributors
50
51
  ---
51
52
  * [Tatsuo Kaniwa](https://github.com/t-k) - Creator of the project
52
-
53
- Copyright
54
- ---
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/EntryTran.idPass
5
+ uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=1002&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=1362106775&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:25:23 GMT
20
+ - Fri, 01 Mar 2013 02:59:35 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,15 +26,15 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: AccessID=b4cc1d826766a26bbcb89f8588efe6bf&AccessPass=62c3e482aae243e02de31c23c77a6c33
29
+ string: AccessID=675a12f12bb3bbf57aeb67acabfccecf&AccessPass=63144577f7f84c800fa2001cb7495f34
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:25:23 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:35 GMT
32
32
  - request:
33
33
  method: post
34
- uri: https://pt01.mul-pay.jp/payment/ExecTran.idPass
34
+ uri: https://<HOST>/payment/ExecTran.idPass
35
35
  body:
36
36
  encoding: UTF-8
37
- string: AccessID=b4cc1d826766a26bbcb89f8588efe6bf&AccessPass=62c3e482aae243e02de31c23c77a6c33&OrderID=1002&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>
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:
40
40
  - ! '*/*'
@@ -46,7 +46,7 @@ http_interactions:
46
46
  message: OK
47
47
  headers:
48
48
  Date:
49
- - Sun, 17 Feb 2013 07:25:23 GMT
49
+ - Fri, 01 Mar 2013 02:59:36 GMT
50
50
  Connection:
51
51
  - close
52
52
  Content-Type:
@@ -55,15 +55,15 @@ http_interactions:
55
55
  - chunked
56
56
  body:
57
57
  encoding: US-ASCII
58
- string: ACS=0&OrderID=1002&Forward=2a99662&Method=1&PayTimes=&Approve=6299684&TranID=1302171624111111111111197566&TranDate=20130217162524&CheckString=4fec41ca42b3b6bc17bfbabb30a0a68c
58
+ string: ACS=0&OrderID=1362106775&Forward=2a99662&Method=1&PayTimes=&Approve=6416261&TranID=1303011158111111111111198881&TranDate=20130301115936&CheckString=80fa168870356d57d4e3a755a940dbaf
59
59
  http_version:
60
- recorded_at: Sun, 17 Feb 2013 07:25:24 GMT
60
+ recorded_at: Fri, 01 Mar 2013 02:59:36 GMT
61
61
  - request:
62
62
  method: post
63
- uri: https://pt01.mul-pay.jp/payment/AlterTran.idPass
63
+ uri: https://<HOST>/payment/AlterTran.idPass
64
64
  body:
65
65
  encoding: UTF-8
66
- string: AccessID=b4cc1d826766a26bbcb89f8588efe6bf&AccessPass=62c3e482aae243e02de31c23c77a6c33&JobCd=SALES&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
66
+ string: AccessID=675a12f12bb3bbf57aeb67acabfccecf&AccessPass=63144577f7f84c800fa2001cb7495f34&JobCd=SALES&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
67
67
  headers:
68
68
  Accept:
69
69
  - ! '*/*'
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: OK
76
76
  headers:
77
77
  Date:
78
- - Sun, 17 Feb 2013 07:25:24 GMT
78
+ - Fri, 01 Mar 2013 02:59:36 GMT
79
79
  Connection:
80
80
  - close
81
81
  Content-Type:
@@ -84,7 +84,7 @@ http_interactions:
84
84
  - chunked
85
85
  body:
86
86
  encoding: US-ASCII
87
- string: AccessID=b4cc1d826766a26bbcb89f8588efe6bf&AccessPass=62c3e482aae243e02de31c23c77a6c33&Forward=2a99662&Approve=6299684&TranID=1302171624111111111111197566&TranDate=20130217162524
87
+ string: AccessID=675a12f12bb3bbf57aeb67acabfccecf&AccessPass=63144577f7f84c800fa2001cb7495f34&Forward=2a99662&Approve=6416261&TranID=1303011158111111111111198881&TranDate=20130301115937
88
88
  http_version:
89
- recorded_at: Sun, 17 Feb 2013 07:25:24 GMT
89
+ recorded_at: Fri, 01 Mar 2013 02:59:37 GMT
90
90
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/EntryTran.idPass
5
+ uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=1001&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=1362106773&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:22:25 GMT
20
+ - Fri, 01 Mar 2013 02:59:33 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,15 +26,15 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: AccessID=0aa795e42d4f39d7df543677991b3c06&AccessPass=7a82e5b97b43b618072ba70c6d47664e
29
+ string: AccessID=f51483bb5892e25754eb85207a582b3c&AccessPass=07acabfd75965a1141fb9099080a8975
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:22:25 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:34 GMT
32
32
  - request:
33
33
  method: post
34
- uri: https://pt01.mul-pay.jp/payment/ExecTran.idPass
34
+ uri: https://<HOST>/payment/ExecTran.idPass
35
35
  body:
36
36
  encoding: UTF-8
37
- string: AccessID=0aa795e42d4f39d7df543677991b3c06&AccessPass=7a82e5b97b43b618072ba70c6d47664e&OrderID=1001&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>
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:
40
40
  - ! '*/*'
@@ -46,7 +46,7 @@ http_interactions:
46
46
  message: OK
47
47
  headers:
48
48
  Date:
49
- - Sun, 17 Feb 2013 07:22:25 GMT
49
+ - Fri, 01 Mar 2013 02:59:34 GMT
50
50
  Connection:
51
51
  - close
52
52
  Content-Type:
@@ -55,15 +55,15 @@ http_interactions:
55
55
  - chunked
56
56
  body:
57
57
  encoding: US-ASCII
58
- string: ACS=0&OrderID=1001&Forward=2a99662&Method=1&PayTimes=&Approve=6299679&TranID=1302171621111111111111197561&TranDate=20130217162226&CheckString=4bd26fe8586fdd2c0d3f1aeb88a8bc8b
58
+ string: ACS=0&OrderID=1362106773&Forward=2a99662&Method=1&PayTimes=&Approve=6416259&TranID=1303011158111111111111198879&TranDate=20130301115934&CheckString=f0755b96e0a337a2d4edafc37edc2f2d
59
59
  http_version:
60
- recorded_at: Sun, 17 Feb 2013 07:22:26 GMT
60
+ recorded_at: Fri, 01 Mar 2013 02:59:34 GMT
61
61
  - request:
62
62
  method: post
63
- uri: https://pt01.mul-pay.jp/payment/AlterTran.idPass
63
+ uri: https://<HOST>/payment/AlterTran.idPass
64
64
  body:
65
65
  encoding: UTF-8
66
- string: AccessID=0aa795e42d4f39d7df543677991b3c06&AccessPass=7a82e5b97b43b618072ba70c6d47664e&JobCd=RETURN&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
66
+ string: AccessID=f51483bb5892e25754eb85207a582b3c&AccessPass=07acabfd75965a1141fb9099080a8975&JobCd=RETURN&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
67
67
  headers:
68
68
  Accept:
69
69
  - ! '*/*'
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: OK
76
76
  headers:
77
77
  Date:
78
- - Sun, 17 Feb 2013 07:22:26 GMT
78
+ - Fri, 01 Mar 2013 02:59:34 GMT
79
79
  Connection:
80
80
  - close
81
81
  Content-Type:
@@ -84,7 +84,7 @@ http_interactions:
84
84
  - chunked
85
85
  body:
86
86
  encoding: US-ASCII
87
- string: AccessID=0aa795e42d4f39d7df543677991b3c06&AccessPass=7a82e5b97b43b618072ba70c6d47664e&Forward=2a99662&Approve=6299680&TranID=1302171621111111111111197562&TranDate=20130217162227
87
+ string: AccessID=f51483bb5892e25754eb85207a582b3c&AccessPass=07acabfd75965a1141fb9099080a8975&Forward=2a99662&Approve=6416260&TranID=1303011158111111111111198880&TranDate=20130301115935
88
88
  http_version:
89
- recorded_at: Sun, 17 Feb 2013 07:22:27 GMT
89
+ recorded_at: Fri, 01 Mar 2013 02:59:35 GMT
90
90
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/AlterTran.idPass
5
+ uri: https://<HOST>/payment/AlterTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: AccessID=null&AccessPass=null&JobCd=SALES&Amount=null&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:19:20 GMT
20
+ - Fri, 01 Mar 2013 02:59:37 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -28,5 +28,5 @@ http_interactions:
28
28
  encoding: US-ASCII
29
29
  string: ErrCode=E01|E01|E01&ErrInfo=E01090008|E01100008|E01110002
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:19:21 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:37 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/EntryTran.idPass
5
+ uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=1003&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
8
+ string: OrderID=1362106777&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:29:35 GMT
20
+ - Fri, 01 Mar 2013 02:59:37 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,15 +26,15 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: AccessID=781aaf3823503b49950d7da8952bd50f&AccessPass=e12780a4480ddde5b4e9e054759ee327
29
+ string: AccessID=53423389f2059b97ab86faa87ccf5ebc&AccessPass=7e0c971d8b63bd6924f88caec7dd056a
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:29:35 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:37 GMT
32
32
  - request:
33
33
  method: post
34
- uri: https://pt01.mul-pay.jp/payment/ExecTran.idPass
34
+ uri: https://<HOST>/payment/ExecTran.idPass
35
35
  body:
36
36
  encoding: UTF-8
37
- string: AccessID=781aaf3823503b49950d7da8952bd50f&AccessPass=e12780a4480ddde5b4e9e054759ee327&OrderID=1003&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>
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:
40
40
  - ! '*/*'
@@ -46,7 +46,7 @@ http_interactions:
46
46
  message: OK
47
47
  headers:
48
48
  Date:
49
- - Sun, 17 Feb 2013 07:29:35 GMT
49
+ - Fri, 01 Mar 2013 02:59:37 GMT
50
50
  Connection:
51
51
  - close
52
52
  Content-Type:
@@ -55,15 +55,15 @@ http_interactions:
55
55
  - chunked
56
56
  body:
57
57
  encoding: US-ASCII
58
- string: ACS=0&OrderID=1003&Forward=2a99662&Method=1&PayTimes=&Approve=6299691&TranID=1302171629111111111111197573&TranDate=20130217162935&CheckString=7a8aba1d8dbf2207721a9e9bfdc3df57
58
+ string: ACS=0&OrderID=1362106777&Forward=2a99662&Method=1&PayTimes=&Approve=6416262&TranID=1303011158111111111111198882&TranDate=20130301115938&CheckString=a2567a33f51c9e4f7e33c0d26e28dc9c
59
59
  http_version:
60
- recorded_at: Sun, 17 Feb 2013 07:29:35 GMT
60
+ recorded_at: Fri, 01 Mar 2013 02:59:38 GMT
61
61
  - request:
62
62
  method: post
63
- uri: https://pt01.mul-pay.jp/payment/ChangeTran.idPass
63
+ uri: https://<HOST>/payment/ChangeTran.idPass
64
64
  body:
65
65
  encoding: UTF-8
66
- string: AccessID=781aaf3823503b49950d7da8952bd50f&AccessPass=e12780a4480ddde5b4e9e054759ee327&JobCd=AUTH&Amount=1000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
66
+ string: AccessID=53423389f2059b97ab86faa87ccf5ebc&AccessPass=7e0c971d8b63bd6924f88caec7dd056a&JobCd=AUTH&Amount=1000&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
67
67
  headers:
68
68
  Accept:
69
69
  - ! '*/*'
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: OK
76
76
  headers:
77
77
  Date:
78
- - Sun, 17 Feb 2013 07:29:35 GMT
78
+ - Fri, 01 Mar 2013 02:59:38 GMT
79
79
  Connection:
80
80
  - close
81
81
  Content-Type:
@@ -84,7 +84,7 @@ http_interactions:
84
84
  - chunked
85
85
  body:
86
86
  encoding: US-ASCII
87
- string: AccessID=781aaf3823503b49950d7da8952bd50f&AccessPass=e12780a4480ddde5b4e9e054759ee327&Forward=2a99662&Approve=6299693&TranID=1302171629111111111111197575&TranDate=20130217162936
87
+ string: AccessID=53423389f2059b97ab86faa87ccf5ebc&AccessPass=7e0c971d8b63bd6924f88caec7dd056a&Forward=2a99662&Approve=6416264&TranID=1303011158111111111111198884&TranDate=20130301115939
88
88
  http_version:
89
- recorded_at: Sun, 17 Feb 2013 07:29:37 GMT
89
+ recorded_at: Fri, 01 Mar 2013 02:59:39 GMT
90
90
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/SearchTradeMulti.idPass
5
+ uri: https://<HOST>/payment/SearchTradeMulti.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: OrderID=null&PayType=null&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sun, 17 Feb 2013 07:29:37 GMT
20
+ - Fri, 01 Mar 2013 02:59:39 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -28,5 +28,5 @@ http_interactions:
28
28
  encoding: US-ASCII
29
29
  string: ErrCode=M01|M01|M01&ErrInfo=M01051005|M01051011|M01004002
30
30
  http_version:
31
- recorded_at: Sun, 17 Feb 2013 07:29:37 GMT
31
+ recorded_at: Fri, 01 Mar 2013 02:59:39 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/EntryTran.idPass
5
+ uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=9881&JobCd=AUTH&Amount=100&ShopID=tshop1&ShopPass=1
8
+ string: OrderID=1362106772&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sat, 16 Feb 2013 04:40:59 GMT
20
+ - Fri, 01 Mar 2013 02:59:32 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,7 +26,7 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: AccessID=ae4e9acdf5c68d901d195ab0d087ec24&AccessPass=3d21f1802db0afb9daef4ba6e2beff0f
30
- http_version:
31
- recorded_at: Sat, 16 Feb 2013 04:40:58 GMT
29
+ string: AccessID=3618be802c7ac572414274731e50cb6c&AccessPass=4099664bd4b110800e09805539d1d7b5
30
+ http_version:
31
+ recorded_at: Fri, 01 Mar 2013 02:59:33 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/EntryTran.idPass
5
+ uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: OrderID=null&JobCd=null&Amount=null&ShopID=tshop1&ShopPass=1
8
+ string: OrderID=null&JobCd=null&Amount=null&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sat, 16 Feb 2013 04:39:06 GMT
20
+ - Fri, 01 Mar 2013 02:59:33 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -27,6 +27,6 @@ http_interactions:
27
27
  body:
28
28
  encoding: US-ASCII
29
29
  string: ErrCode=E01|E01&ErrInfo=E01050002|E01060006
30
- http_version:
31
- recorded_at: Sat, 16 Feb 2013 04:39:05 GMT
30
+ http_version:
31
+ recorded_at: Fri, 01 Mar 2013 02:59:33 GMT
32
32
  recorded_with: VCR 2.4.0
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://pt01.mul-pay.jp/payment/ExecTran.idPass
5
+ uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
7
  encoding: UTF-8
8
- string: AccessID=ae4e9acdf5c68d901d195ab0d087ec24&AccessPass=3d21f1802db0afb9daef4ba6e2beff0f&OrderID=9881&Method=1&PayTimes=1&CardNo=4111111111111111&Expire=1405&HttpAccept=null&HttpUserAgent=null&DeviceCategory=0&ClientField1=client_field1&ClientField2=null&ClientField3=null&ClientFieldFlag=1&ShopID=tshop1&ShopPass=1
8
+ string: OrderID=1362106991&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept:
11
11
  - ! '*/*'
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sat, 16 Feb 2013 04:49:54 GMT
20
+ - Fri, 01 Mar 2013 03:03:11 GMT
21
21
  Connection:
22
22
  - close
23
23
  Content-Type:
@@ -26,7 +26,36 @@ http_interactions:
26
26
  - chunked
27
27
  body:
28
28
  encoding: US-ASCII
29
- string: ACS=0&OrderID=9881&Forward=2a99662&Method=1&PayTimes=&Approve=6295358&TranID=1302161349111111111111193378&TranDate=20130216134954&CheckString=eb071b6061cf2dba8307b1334dd83977&ClientField1=client_field1&ClientField2=null&ClientField3=null
30
- http_version:
31
- recorded_at: Sat, 16 Feb 2013 04:49:54 GMT
29
+ string: AccessID=e65385d62b5e5e9be64d2c8cecdb24f2&AccessPass=a79882df473a228fd2a00051e72642be
30
+ http_version:
31
+ recorded_at: Fri, 01 Mar 2013 03:03:11 GMT
32
+ - request:
33
+ method: post
34
+ uri: https://<HOST>/payment/ExecTran.idPass
35
+ body:
36
+ encoding: UTF-8
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
+ headers:
39
+ Accept:
40
+ - ! '*/*'
41
+ User-Agent:
42
+ - Ruby
43
+ response:
44
+ status:
45
+ code: 200
46
+ message: OK
47
+ headers:
48
+ Date:
49
+ - Fri, 01 Mar 2013 03:03:12 GMT
50
+ Connection:
51
+ - close
52
+ Content-Type:
53
+ - text/plain;charset=Windows-31J
54
+ Transfer-Encoding:
55
+ - chunked
56
+ body:
57
+ encoding: US-ASCII
58
+ string: ACS=0&OrderID=1362106991&Forward=2a99662&Method=1&PayTimes=&Approve=6416276&TranID=1303011202111111111111198895&TranDate=20130301120312&CheckString=2d8fa5d3a220a34161d18a87e9cbfd75&ClientField1=client_field1&ClientField2=null&ClientField3=null
59
+ http_version:
60
+ recorded_at: Fri, 01 Mar 2013 03:03:12 GMT
32
61
  recorded_with: VCR 2.4.0