recurly 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/recurly/subscription.rb +2 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +0 -2
- data/spec/integration/invoice_spec.rb +0 -1
- data/spec/integration/subscription_spec.rb +49 -10
- data/spec/integration/transaction_spec.rb +3 -2
- data/spec/support/factory.rb +2 -2
- data/spec/vcr/account/close/{1286666929.yml → 1287167046.yml} +23 -23
- data/spec/vcr/account/create/{1286666929.yml → 1287167046.yml} +10 -10
- data/spec/vcr/account/create-blank/{1286666929.yml → 1287167046.yml} +3 -3
- data/spec/vcr/account/create-duplicate/{1286666929.yml → 1287167046.yml} +27 -12
- data/spec/vcr/account/create-min/{1286666929.yml → 1287167046.yml} +10 -10
- data/spec/vcr/account/find/{1286666929.yml → 1287167046.yml} +67 -29
- data/spec/vcr/account/list/{1286666929.yml → 1287167046.yml} +201 -228
- data/spec/vcr/account/update/{1286666929.yml → 1287167046.yml} +41 -41
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +25 -25
- data/spec/vcr/charge/list-all/1286681273.yml +37 -37
- data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
- data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
- data/spec/vcr/charge/lookup/1286681273.yml +20 -20
- data/spec/vcr/credit/create/1286681343.yml +20 -20
- data/spec/vcr/credit/list/1286681343.yml +37 -37
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/invoice/create/{1286679184.yml → 1287167121.yml} +49 -49
- data/spec/vcr/{transaction/refund/1286674805.yml → invoice/create-no-charges/1287167121.yml} +32 -57
- data/spec/vcr/invoice/list/{1286679184.yml → 1287167121.yml} +71 -71
- data/spec/vcr/invoice/lookup/{1286679184.yml → 1287167121.yml} +50 -50
- data/spec/vcr/plan/all.yml +8 -8
- data/spec/vcr/plan/delete/1286677585.yml +15 -15
- data/spec/vcr/plan/find.yml +8 -8
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/cancel/{1287037363.yml → 1287439446.yml} +62 -62
- data/spec/vcr/subscription/cancel/{1287037325.yml → 1287442108.yml} +60 -60
- data/spec/vcr/subscription/cancel/{1287036910.yml → 1287442352.yml} +60 -60
- data/spec/vcr/subscription/change1/{1287037363.yml → 1287439446.yml} +58 -58
- data/spec/vcr/subscription/change1/{1287037152.yml → 1287442108.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287036910.yml → 1287442352.yml} +56 -56
- data/spec/vcr/subscription/{change1/1287037325.yml → change2/1287439446.yml} +64 -64
- data/spec/vcr/subscription/change2/{1287036910.yml → 1287442108.yml} +55 -55
- data/spec/vcr/subscription/change2/{1287037363.yml → 1287442352.yml} +58 -58
- data/spec/vcr/subscription/create/{1287037363.yml → 1287439446.yml} +27 -27
- data/spec/vcr/subscription/create/{1287037325.yml → 1287442108.yml} +28 -28
- data/spec/vcr/subscription/create/{1287037152.yml → 1287442352.yml} +28 -28
- data/spec/vcr/subscription/find/{1287036910.yml → 1287439446.yml} +36 -36
- data/spec/vcr/subscription/find/{1287037152.yml → 1287442108.yml} +38 -38
- data/spec/vcr/subscription/find/{1287037325.yml → 1287442352.yml} +38 -38
- data/spec/vcr/subscription/{refund/1287037325.yml → refund-full/1287439446.yml} +56 -56
- data/spec/vcr/subscription/{refund/1287037363.yml → refund-full/1287442108.yml} +58 -58
- data/spec/vcr/subscription/{refund/1287036910.yml → refund-full/1287442352.yml} +55 -55
- data/spec/vcr/subscription/refund-none/1287439446.yml +382 -0
- data/spec/vcr/subscription/refund-none/1287442108.yml +382 -0
- data/spec/vcr/subscription/refund-none/1287442352.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287439446.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287442108.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287442352.yml +382 -0
- data/spec/vcr/transaction/all/{1286674805.yml → 1287186411.yml} +104 -104
- data/spec/vcr/transaction/create-no-account/{1286674805.yml → 1287186411.yml} +11 -11
- data/spec/vcr/transaction/create-with-account/{1286674805.yml → 1287186411.yml} +26 -26
- data/spec/vcr/transaction/list-empty/{1286674805.yml → 1287186411.yml} +26 -26
- data/spec/vcr/transaction/list-filled/{1286674805.yml → 1287186411.yml} +59 -59
- data/spec/vcr/transaction/lookup/{1286674805.yml → 1287186411.yml} +66 -66
- data/spec/vcr/transaction/refund/1287186411.yml +282 -0
- data/spec/vcr/transaction/void/{1286674805.yml → 1287186411.yml} +87 -155
- metadata +92 -86
- data/spec/vcr/subscription/change2/1287037152.yml +0 -283
- data/spec/vcr/subscription/change2/1287037325.yml +0 -283
- data/spec/vcr/subscription/create/1287036910.yml +0 -224
- data/spec/vcr/subscription/find/1287037363.yml +0 -283
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
8
|
<account>
|
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
|
10
|
-
<account-code>transaction-list-empty-
|
|
10
|
+
<account-code>transaction-list-empty-1287186411</account-code>
|
|
11
11
|
<last-name>Test</last-name>
|
|
12
12
|
<email>verena@test.com</email>
|
|
13
13
|
<first-name>Verena</first-name>
|
|
@@ -28,30 +28,30 @@
|
|
|
28
28
|
message: Created
|
|
29
29
|
headers:
|
|
30
30
|
location:
|
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/transaction-list-empty-
|
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/transaction-list-empty-1287186411
|
|
32
32
|
connection:
|
|
33
33
|
- close
|
|
34
34
|
content-type:
|
|
35
35
|
- application/xml; charset=utf-8
|
|
36
36
|
x-runtime:
|
|
37
|
-
- "
|
|
37
|
+
- "583"
|
|
38
38
|
date:
|
|
39
|
-
-
|
|
39
|
+
- Mon, 18 Oct 2010 22:07:00 GMT
|
|
40
40
|
server:
|
|
41
41
|
- nginx/0.7.65
|
|
42
42
|
content-length:
|
|
43
43
|
- "599"
|
|
44
44
|
set-cookie:
|
|
45
|
-
- account_credentials=
|
|
45
|
+
- account_credentials=0b65e401a095f3014d9fc7bd8abc5f06a9351c7bc7b8a293f5a4fdb7f3b24e5dde771f451c7fc8b328500fe4b757430d3a30b45a0fe1d1d0e1c8b2e19af9e0fb%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
|
46
46
|
- ""
|
|
47
|
-
- _recurly_session=
|
|
47
|
+
- _recurly_session=666920a4fdb68ee0c609e5e617b9531e; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
48
48
|
cache-control:
|
|
49
49
|
- no-cache
|
|
50
50
|
body: |
|
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
52
52
|
<account>
|
|
53
|
-
<id>transaction-list-empty-
|
|
54
|
-
<account_code>transaction-list-empty-
|
|
53
|
+
<id>transaction-list-empty-1287186411</id>
|
|
54
|
+
<account_code>transaction-list-empty-1287186411</account_code>
|
|
55
55
|
<username></username>
|
|
56
56
|
<email>verena@test.com</email>
|
|
57
57
|
<first_name>Verena</first_name>
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
|
61
61
|
<closed type="boolean">false</closed>
|
|
62
|
-
<hosted_login_token>
|
|
63
|
-
<created_at type="datetime">2010-10-
|
|
62
|
+
<hosted_login_token>c37333ca27bb4a99b34baf185b6fac6a</hosted_login_token>
|
|
63
|
+
<created_at type="datetime">2010-10-18T22:07:00Z</created_at>
|
|
64
64
|
<state>active</state>
|
|
65
65
|
</account>
|
|
66
66
|
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
|
69
69
|
request: !ruby/struct:VCR::Request
|
|
70
70
|
method: :put
|
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-empty-
|
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-empty-1287186411/billing_info.xml
|
|
72
72
|
body: |
|
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
74
74
|
<billing-info>
|
|
75
75
|
<city>San Francisco</city>
|
|
76
76
|
<address1>123 Test St</address1>
|
|
77
77
|
<zip>94115</zip>
|
|
78
|
-
<account-code>transaction-list-empty-
|
|
78
|
+
<account-code>transaction-list-empty-1287186411</account-code>
|
|
79
79
|
<country>US</country>
|
|
80
80
|
<credit-card>
|
|
81
81
|
<number>1</number>
|
|
@@ -105,27 +105,27 @@
|
|
|
105
105
|
x-ua-compatible:
|
|
106
106
|
- IE=Edge
|
|
107
107
|
etag:
|
|
108
|
-
- "\"
|
|
108
|
+
- "\"9bf741718bd28fd62d2818479656f88e\""
|
|
109
109
|
connection:
|
|
110
110
|
- close
|
|
111
111
|
content-type:
|
|
112
112
|
- application/xml; charset=utf-8
|
|
113
113
|
x-runtime:
|
|
114
|
-
- "
|
|
114
|
+
- "89"
|
|
115
115
|
date:
|
|
116
|
-
-
|
|
116
|
+
- Mon, 18 Oct 2010 22:07:00 GMT
|
|
117
117
|
server:
|
|
118
118
|
- nginx/0.7.65
|
|
119
119
|
content-length:
|
|
120
120
|
- "647"
|
|
121
121
|
set-cookie:
|
|
122
|
-
- _recurly_session=
|
|
122
|
+
- _recurly_session=b20fdf6c31a04e9027c15c3c9c8ddb7d; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
123
123
|
cache-control:
|
|
124
124
|
- private, max-age=0, must-revalidate
|
|
125
125
|
body: |
|
|
126
126
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
127
127
|
<billing_info>
|
|
128
|
-
<account_code>transaction-list-empty-
|
|
128
|
+
<account_code>transaction-list-empty-1287186411</account_code>
|
|
129
129
|
<first_name>Verena</first_name>
|
|
130
130
|
<last_name>Test</last_name>
|
|
131
131
|
<address1>123 Test St</address1>
|
|
@@ -143,14 +143,14 @@
|
|
|
143
143
|
<month type="integer">10</month>
|
|
144
144
|
<year type="integer">2011</year>
|
|
145
145
|
</credit_card>
|
|
146
|
-
<updated_at type="datetime">2010-10-
|
|
146
|
+
<updated_at type="datetime">2010-10-18T22:07:00Z</updated_at>
|
|
147
147
|
</billing_info>
|
|
148
148
|
|
|
149
149
|
http_version: "1.1"
|
|
150
150
|
- !ruby/struct:VCR::HTTPInteraction
|
|
151
151
|
request: !ruby/struct:VCR::Request
|
|
152
152
|
method: :get
|
|
153
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-empty-
|
|
153
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-empty-1287186411/transactions
|
|
154
154
|
body:
|
|
155
155
|
headers:
|
|
156
156
|
accept:
|
|
@@ -167,21 +167,21 @@
|
|
|
167
167
|
x-ua-compatible:
|
|
168
168
|
- IE=Edge
|
|
169
169
|
etag:
|
|
170
|
-
- "\"
|
|
170
|
+
- "\"02556fb17dfc376d778e9ae070072a32\""
|
|
171
171
|
connection:
|
|
172
172
|
- close
|
|
173
173
|
content-type:
|
|
174
174
|
- application/xml; charset=utf-8
|
|
175
175
|
x-runtime:
|
|
176
|
-
- "
|
|
176
|
+
- "243"
|
|
177
177
|
date:
|
|
178
|
-
-
|
|
178
|
+
- Mon, 18 Oct 2010 22:07:01 GMT
|
|
179
179
|
server:
|
|
180
180
|
- nginx/0.7.65
|
|
181
181
|
content-length:
|
|
182
182
|
- "1000"
|
|
183
183
|
set-cookie:
|
|
184
|
-
- _recurly_session=
|
|
184
|
+
- _recurly_session=ca3675aa5c2c1460c4595b4ff571ebd2; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
185
185
|
cache-control:
|
|
186
186
|
- private, max-age=0, must-revalidate
|
|
187
187
|
body: |
|
|
@@ -191,10 +191,10 @@
|
|
|
191
191
|
<per_page type="integer">50</per_page>
|
|
192
192
|
<total_entries type="integer">1</total_entries>
|
|
193
193
|
<transaction type="Payment">
|
|
194
|
-
<id>
|
|
195
|
-
<account_code>transaction-list-empty-
|
|
194
|
+
<id>90af94484fa04ca3a3663b5e6d297409</id>
|
|
195
|
+
<account_code>transaction-list-empty-1287186411</account_code>
|
|
196
196
|
<action>authorization</action>
|
|
197
|
-
<date type="datetime">2010-10-
|
|
197
|
+
<date type="datetime">2010-10-18T15:07:00-07:00</date>
|
|
198
198
|
<amount_in_cents type="integer">100</amount_in_cents>
|
|
199
199
|
<status>void</status>
|
|
200
200
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
8
|
<account>
|
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
|
10
|
-
<account-code>transaction-list-filled-
|
|
10
|
+
<account-code>transaction-list-filled-1287186411</account-code>
|
|
11
11
|
<last-name>Test</last-name>
|
|
12
12
|
<email>verena@test.com</email>
|
|
13
13
|
<first-name>Verena</first-name>
|
|
@@ -28,30 +28,30 @@
|
|
|
28
28
|
message: Created
|
|
29
29
|
headers:
|
|
30
30
|
location:
|
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/transaction-list-filled-
|
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/transaction-list-filled-1287186411
|
|
32
32
|
connection:
|
|
33
33
|
- close
|
|
34
34
|
content-type:
|
|
35
35
|
- application/xml; charset=utf-8
|
|
36
36
|
x-runtime:
|
|
37
|
-
- "
|
|
37
|
+
- "588"
|
|
38
38
|
date:
|
|
39
|
-
-
|
|
39
|
+
- Mon, 18 Oct 2010 22:07:02 GMT
|
|
40
40
|
server:
|
|
41
41
|
- nginx/0.7.65
|
|
42
42
|
content-length:
|
|
43
43
|
- "601"
|
|
44
44
|
set-cookie:
|
|
45
|
-
- account_credentials=
|
|
45
|
+
- account_credentials=bb2ec895d5edbb2b8a1316d568abe3bebb9f24f7ddf762df4cde3ceadabb2e95cc6625f5fbd6641e78febf8e69ef1b6966fd22b3713dc8351381e29b7ae58384%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
|
46
46
|
- ""
|
|
47
|
-
- _recurly_session=
|
|
47
|
+
- _recurly_session=f8136b7c2bd8ca74c1dd3d48ff5c54a1; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
48
48
|
cache-control:
|
|
49
49
|
- no-cache
|
|
50
50
|
body: |
|
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
52
52
|
<account>
|
|
53
|
-
<id>transaction-list-filled-
|
|
54
|
-
<account_code>transaction-list-filled-
|
|
53
|
+
<id>transaction-list-filled-1287186411</id>
|
|
54
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
55
55
|
<username></username>
|
|
56
56
|
<email>verena@test.com</email>
|
|
57
57
|
<first_name>Verena</first_name>
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
|
61
61
|
<closed type="boolean">false</closed>
|
|
62
|
-
<hosted_login_token>
|
|
63
|
-
<created_at type="datetime">2010-10-
|
|
62
|
+
<hosted_login_token>a5b948221194412c9585291ca9e89f76</hosted_login_token>
|
|
63
|
+
<created_at type="datetime">2010-10-18T22:07:02Z</created_at>
|
|
64
64
|
<state>active</state>
|
|
65
65
|
</account>
|
|
66
66
|
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
|
69
69
|
request: !ruby/struct:VCR::Request
|
|
70
70
|
method: :put
|
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-filled-
|
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-filled-1287186411/billing_info.xml
|
|
72
72
|
body: |
|
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
74
74
|
<billing-info>
|
|
75
75
|
<city>San Francisco</city>
|
|
76
76
|
<address1>123 Test St</address1>
|
|
77
77
|
<zip>94115</zip>
|
|
78
|
-
<account-code>transaction-list-filled-
|
|
78
|
+
<account-code>transaction-list-filled-1287186411</account-code>
|
|
79
79
|
<country>US</country>
|
|
80
80
|
<credit-card>
|
|
81
81
|
<number>1</number>
|
|
@@ -105,27 +105,27 @@
|
|
|
105
105
|
x-ua-compatible:
|
|
106
106
|
- IE=Edge
|
|
107
107
|
etag:
|
|
108
|
-
- "\"
|
|
108
|
+
- "\"7727539c5a455854c7e7fdcdd01dbad4\""
|
|
109
109
|
connection:
|
|
110
110
|
- close
|
|
111
111
|
content-type:
|
|
112
112
|
- application/xml; charset=utf-8
|
|
113
113
|
x-runtime:
|
|
114
|
-
- "
|
|
114
|
+
- "250"
|
|
115
115
|
date:
|
|
116
|
-
-
|
|
116
|
+
- Mon, 18 Oct 2010 22:07:03 GMT
|
|
117
117
|
server:
|
|
118
118
|
- nginx/0.7.65
|
|
119
119
|
content-length:
|
|
120
120
|
- "648"
|
|
121
121
|
set-cookie:
|
|
122
|
-
- _recurly_session=
|
|
122
|
+
- _recurly_session=7977ae2ff7812e4be2a4c88a05f9b689; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
123
123
|
cache-control:
|
|
124
124
|
- private, max-age=0, must-revalidate
|
|
125
125
|
body: |
|
|
126
126
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
127
127
|
<billing_info>
|
|
128
|
-
<account_code>transaction-list-filled-
|
|
128
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
129
129
|
<first_name>Verena</first_name>
|
|
130
130
|
<last_name>Test</last_name>
|
|
131
131
|
<address1>123 Test St</address1>
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
<month type="integer">10</month>
|
|
144
144
|
<year type="integer">2011</year>
|
|
145
145
|
</credit_card>
|
|
146
|
-
<updated_at type="datetime">2010-10-
|
|
146
|
+
<updated_at type="datetime">2010-10-18T22:07:03Z</updated_at>
|
|
147
147
|
</billing_info>
|
|
148
148
|
|
|
149
149
|
http_version: "1.1"
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
156
156
|
<transaction>
|
|
157
157
|
<account>
|
|
158
|
-
<account-code>transaction-list-filled-
|
|
158
|
+
<account-code>transaction-list-filled-1287186411</account-code>
|
|
159
159
|
</account>
|
|
160
160
|
<amount-in-cents type="integer">100</amount-in-cents>
|
|
161
161
|
<description>one</description>
|
|
@@ -176,30 +176,30 @@
|
|
|
176
176
|
message: Created
|
|
177
177
|
headers:
|
|
178
178
|
location:
|
|
179
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
|
179
|
+
- https://recurlytest3-test.recurly.com/transactions/37ae92b026b449dc9d42a998bcd72405
|
|
180
180
|
connection:
|
|
181
181
|
- close
|
|
182
182
|
content-type:
|
|
183
183
|
- application/xml; charset=utf-8
|
|
184
184
|
x-runtime:
|
|
185
|
-
- "
|
|
185
|
+
- "496"
|
|
186
186
|
date:
|
|
187
|
-
-
|
|
187
|
+
- Mon, 18 Oct 2010 22:07:04 GMT
|
|
188
188
|
server:
|
|
189
189
|
- nginx/0.7.65
|
|
190
190
|
content-length:
|
|
191
191
|
- "855"
|
|
192
192
|
set-cookie:
|
|
193
|
-
- _recurly_session=
|
|
193
|
+
- _recurly_session=628b1fff4742b1ad5af4a55a5e1b5703; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
194
194
|
cache-control:
|
|
195
195
|
- no-cache
|
|
196
196
|
body: |
|
|
197
197
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
198
198
|
<transaction type="Payment">
|
|
199
|
-
<id>
|
|
200
|
-
<account_code>transaction-list-filled-
|
|
199
|
+
<id>37ae92b026b449dc9d42a998bcd72405</id>
|
|
200
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
201
201
|
<action>purchase</action>
|
|
202
|
-
<date type="datetime">2010-10-
|
|
202
|
+
<date type="datetime">2010-10-18T22:07:04Z</date>
|
|
203
203
|
<amount_in_cents type="integer">100</amount_in_cents>
|
|
204
204
|
<status>success</status>
|
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
227
227
|
<transaction>
|
|
228
228
|
<account>
|
|
229
|
-
<account-code>transaction-list-filled-
|
|
229
|
+
<account-code>transaction-list-filled-1287186411</account-code>
|
|
230
230
|
</account>
|
|
231
231
|
<amount-in-cents type="integer">200</amount-in-cents>
|
|
232
232
|
<description>two</description>
|
|
@@ -247,30 +247,30 @@
|
|
|
247
247
|
message: Created
|
|
248
248
|
headers:
|
|
249
249
|
location:
|
|
250
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
|
250
|
+
- https://recurlytest3-test.recurly.com/transactions/1153ca8739524a05b6058e528da617e9
|
|
251
251
|
connection:
|
|
252
252
|
- close
|
|
253
253
|
content-type:
|
|
254
254
|
- application/xml; charset=utf-8
|
|
255
255
|
x-runtime:
|
|
256
|
-
- "
|
|
256
|
+
- "352"
|
|
257
257
|
date:
|
|
258
|
-
-
|
|
258
|
+
- Mon, 18 Oct 2010 22:07:05 GMT
|
|
259
259
|
server:
|
|
260
260
|
- nginx/0.7.65
|
|
261
261
|
content-length:
|
|
262
262
|
- "855"
|
|
263
263
|
set-cookie:
|
|
264
|
-
- _recurly_session=
|
|
264
|
+
- _recurly_session=8b905beb20ae32f7153e8fffa0686e2d; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
265
265
|
cache-control:
|
|
266
266
|
- no-cache
|
|
267
267
|
body: |
|
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
269
269
|
<transaction type="Payment">
|
|
270
|
-
<id>
|
|
271
|
-
<account_code>transaction-list-filled-
|
|
270
|
+
<id>1153ca8739524a05b6058e528da617e9</id>
|
|
271
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
272
272
|
<action>purchase</action>
|
|
273
|
-
<date type="datetime">2010-10-
|
|
273
|
+
<date type="datetime">2010-10-18T22:07:05Z</date>
|
|
274
274
|
<amount_in_cents type="integer">200</amount_in_cents>
|
|
275
275
|
<status>success</status>
|
|
276
276
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
298
298
|
<transaction>
|
|
299
299
|
<account>
|
|
300
|
-
<account-code>transaction-list-filled-
|
|
300
|
+
<account-code>transaction-list-filled-1287186411</account-code>
|
|
301
301
|
</account>
|
|
302
302
|
<amount-in-cents type="integer">300</amount-in-cents>
|
|
303
303
|
<description>three</description>
|
|
@@ -318,30 +318,30 @@
|
|
|
318
318
|
message: Created
|
|
319
319
|
headers:
|
|
320
320
|
location:
|
|
321
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
|
321
|
+
- https://recurlytest3-test.recurly.com/transactions/49d20578bc82424580183fbc45b66104
|
|
322
322
|
connection:
|
|
323
323
|
- close
|
|
324
324
|
content-type:
|
|
325
325
|
- application/xml; charset=utf-8
|
|
326
326
|
x-runtime:
|
|
327
|
-
- "
|
|
327
|
+
- "571"
|
|
328
328
|
date:
|
|
329
|
-
-
|
|
329
|
+
- Mon, 18 Oct 2010 22:07:06 GMT
|
|
330
330
|
server:
|
|
331
331
|
- nginx/0.7.65
|
|
332
332
|
content-length:
|
|
333
333
|
- "855"
|
|
334
334
|
set-cookie:
|
|
335
|
-
- _recurly_session=
|
|
335
|
+
- _recurly_session=3f8b875b731e295e871cf10677d1700c; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
336
336
|
cache-control:
|
|
337
337
|
- no-cache
|
|
338
338
|
body: |
|
|
339
339
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
340
340
|
<transaction type="Payment">
|
|
341
|
-
<id>
|
|
342
|
-
<account_code>transaction-list-filled-
|
|
341
|
+
<id>49d20578bc82424580183fbc45b66104</id>
|
|
342
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
343
343
|
<action>purchase</action>
|
|
344
|
-
<date type="datetime">2010-10-
|
|
344
|
+
<date type="datetime">2010-10-18T22:07:06Z</date>
|
|
345
345
|
<amount_in_cents type="integer">300</amount_in_cents>
|
|
346
346
|
<status>success</status>
|
|
347
347
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
- !ruby/struct:VCR::HTTPInteraction
|
|
364
364
|
request: !ruby/struct:VCR::Request
|
|
365
365
|
method: :get
|
|
366
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-filled-
|
|
366
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-filled-1287186411/transactions
|
|
367
367
|
body:
|
|
368
368
|
headers:
|
|
369
369
|
accept:
|
|
@@ -380,21 +380,21 @@
|
|
|
380
380
|
x-ua-compatible:
|
|
381
381
|
- IE=Edge
|
|
382
382
|
etag:
|
|
383
|
-
- "\"
|
|
383
|
+
- "\"11f964a8196940bedb40ddf56f609fc5\""
|
|
384
384
|
connection:
|
|
385
385
|
- close
|
|
386
386
|
content-type:
|
|
387
387
|
- application/xml; charset=utf-8
|
|
388
388
|
x-runtime:
|
|
389
|
-
- "
|
|
389
|
+
- "65"
|
|
390
390
|
date:
|
|
391
|
-
-
|
|
391
|
+
- Mon, 18 Oct 2010 22:07:07 GMT
|
|
392
392
|
server:
|
|
393
393
|
- nginx/0.7.65
|
|
394
394
|
content-length:
|
|
395
395
|
- "3311"
|
|
396
396
|
set-cookie:
|
|
397
|
-
- _recurly_session=
|
|
397
|
+
- _recurly_session=1f9bec5cc734d2f52a049c3ea2f98696; domain=.recurly.com; path=/; Secure; HttpOnly
|
|
398
398
|
cache-control:
|
|
399
399
|
- private, max-age=0, must-revalidate
|
|
400
400
|
body: |
|
|
@@ -404,10 +404,10 @@
|
|
|
404
404
|
<per_page type="integer">50</per_page>
|
|
405
405
|
<total_entries type="integer">4</total_entries>
|
|
406
406
|
<transaction type="Payment">
|
|
407
|
-
<id>
|
|
408
|
-
<account_code>transaction-list-filled-
|
|
407
|
+
<id>49d20578bc82424580183fbc45b66104</id>
|
|
408
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
409
409
|
<action>purchase</action>
|
|
410
|
-
<date type="datetime">2010-10-
|
|
410
|
+
<date type="datetime">2010-10-18T15:07:06-07:00</date>
|
|
411
411
|
<amount_in_cents type="integer">300</amount_in_cents>
|
|
412
412
|
<status>success</status>
|
|
413
413
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -421,10 +421,10 @@
|
|
|
421
421
|
<refundable type="boolean">true</refundable>
|
|
422
422
|
</transaction>
|
|
423
423
|
<transaction type="Payment">
|
|
424
|
-
<id>
|
|
425
|
-
<account_code>transaction-list-filled-
|
|
424
|
+
<id>1153ca8739524a05b6058e528da617e9</id>
|
|
425
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
426
426
|
<action>purchase</action>
|
|
427
|
-
<date type="datetime">2010-10-
|
|
427
|
+
<date type="datetime">2010-10-18T15:07:05-07:00</date>
|
|
428
428
|
<amount_in_cents type="integer">200</amount_in_cents>
|
|
429
429
|
<status>success</status>
|
|
430
430
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -438,10 +438,10 @@
|
|
|
438
438
|
<refundable type="boolean">true</refundable>
|
|
439
439
|
</transaction>
|
|
440
440
|
<transaction type="Payment">
|
|
441
|
-
<id>
|
|
442
|
-
<account_code>transaction-list-filled-
|
|
441
|
+
<id>37ae92b026b449dc9d42a998bcd72405</id>
|
|
442
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
443
443
|
<action>purchase</action>
|
|
444
|
-
<date type="datetime">2010-10-
|
|
444
|
+
<date type="datetime">2010-10-18T15:07:04-07:00</date>
|
|
445
445
|
<amount_in_cents type="integer">100</amount_in_cents>
|
|
446
446
|
<status>success</status>
|
|
447
447
|
<message>Test Gateway: Successful test transaction</message>
|
|
@@ -455,10 +455,10 @@
|
|
|
455
455
|
<refundable type="boolean">true</refundable>
|
|
456
456
|
</transaction>
|
|
457
457
|
<transaction type="Payment">
|
|
458
|
-
<id>
|
|
459
|
-
<account_code>transaction-list-filled-
|
|
458
|
+
<id>81d082680527467f9a237854dd6c7e1a</id>
|
|
459
|
+
<account_code>transaction-list-filled-1287186411</account_code>
|
|
460
460
|
<action>authorization</action>
|
|
461
|
-
<date type="datetime">2010-10-
|
|
461
|
+
<date type="datetime">2010-10-18T15:07:03-07:00</date>
|
|
462
462
|
<amount_in_cents type="integer">100</amount_in_cents>
|
|
463
463
|
<status>void</status>
|
|
464
464
|
<message>Test Gateway: Successful test transaction</message>
|