recurly 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly/base.rb +9 -4
- data/lib/recurly/coupon.rb +1 -1
- data/lib/recurly/formats/xml_with_errors.rb +2 -2
- data/lib/recurly/rails3/recurly.rake +2 -2
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +3 -3
- data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
- data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
- data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
- data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
- data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
- data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
- data/spec/vcr/billing/create/1298594128.yml +12 -12
- data/spec/vcr/billing/destroy/1298594128.yml +15 -15
- data/spec/vcr/billing/find/1298594128.yml +16 -16
- data/spec/vcr/billing/update/1298594128.yml +16 -16
- data/spec/vcr/charge/create/1297746103.yml +20 -20
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
- data/spec/vcr/charge/list-all/1297746103.yml +31 -31
- data/spec/vcr/charge/list-invoiced/1297746103.yml +54 -54
- data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
- data/spec/vcr/charge/lookup/1297746103.yml +16 -16
- data/spec/vcr/coupon/create/1299714521.yml +11 -11
- data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
- data/spec/vcr/credit/create/1299714599.yml +16 -16
- data/spec/vcr/credit/delete/1299714599.yml +21 -21
- data/spec/vcr/credit/list/1299714599.yml +31 -31
- data/spec/vcr/credit/lookup/1299714599.yml +16 -16
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/create/1297746103.yml +30 -30
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
- data/spec/vcr/plan/all.yml +6 -6
- data/spec/vcr/plan/find.yml +6 -6
- data/spec/vcr/plan/update.yml +6 -6
- data/spec/vcr/subscription/addons/add/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
- data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/change1/1301881900.yml +31 -31
- data/spec/vcr/subscription/change2/1301881900.yml +31 -31
- data/spec/vcr/subscription/create/1301881900.yml +13 -13
- data/spec/vcr/subscription/find/1301881900.yml +19 -19
- data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
- data/spec/vcr/subscription/refund-full/1301881900.yml +27 -27
- data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
- data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
- data/spec/vcr/transaction/all/1301883347.yml +43 -43
- data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
- data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
- data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
- data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
- data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
- data/spec/vcr/transaction/refund/1301883347.yml +19 -19
- data/spec/vcr/transaction/void/1301883347.yml +26 -26
- data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
- metadata +27 -33
- data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
- data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
- data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
@@ -21,17 +21,17 @@
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
x-runtime:
|
24
|
-
- "
|
24
|
+
- "530"
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
etag:
|
28
|
-
- "\"
|
28
|
+
- "\"e62eccfa20598d4acbe897c397063ea2\""
|
29
29
|
cache-control:
|
30
30
|
- private, max-age=0, must-revalidate
|
31
31
|
content-length:
|
32
32
|
- "15637"
|
33
33
|
set-cookie:
|
34
|
-
- _recurly_session=
|
34
|
+
- _recurly_session=5092c4bd652bca60e1d1a6dbc6e46041; domain=.recurly.local; path=/; HttpOnly
|
35
35
|
connection:
|
36
36
|
- close
|
37
37
|
server:
|
@@ -43,10 +43,10 @@
|
|
43
43
|
<per_page type="integer">20</per_page>
|
44
44
|
<total_entries type="integer">30</total_entries>
|
45
45
|
<transaction type="Payment">
|
46
|
-
<id>
|
46
|
+
<id>6ae7ad6d96614636a09dfdac32a83ba3</id>
|
47
47
|
<account_code>transaction-create-with-account-1301883347</account_code>
|
48
48
|
<action>purchase</action>
|
49
|
-
<date type="datetime">2011-04-
|
49
|
+
<date type="datetime">2011-04-05T05:20:32Z</date>
|
50
50
|
<amount_in_cents type="integer">700</amount_in_cents>
|
51
51
|
<status>success</status>
|
52
52
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -60,10 +60,10 @@
|
|
60
60
|
<refundable type="boolean">true</refundable>
|
61
61
|
</transaction>
|
62
62
|
<transaction type="Payment">
|
63
|
-
<id>
|
63
|
+
<id>eca5bb0fb02c4f71a3f282b0fc5d59ed</id>
|
64
64
|
<account_code>transaction-create-with-account-1301883347</account_code>
|
65
65
|
<action>authorization</action>
|
66
|
-
<date type="datetime">2011-04-
|
66
|
+
<date type="datetime">2011-04-05T05:20:28Z</date>
|
67
67
|
<amount_in_cents type="integer">0</amount_in_cents>
|
68
68
|
<status>success</status>
|
69
69
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -77,10 +77,10 @@
|
|
77
77
|
<refundable type="boolean">true</refundable>
|
78
78
|
</transaction>
|
79
79
|
<transaction type="Payment">
|
80
|
-
<id>
|
80
|
+
<id>b5e663499e6a4808b13bff3a874db8d2</id>
|
81
81
|
<account_code>transaction-create-with-accout-1301883347</account_code>
|
82
82
|
<action>purchase</action>
|
83
|
-
<date type="datetime">2011-04-
|
83
|
+
<date type="datetime">2011-04-05T05:20:21Z</date>
|
84
84
|
<amount_in_cents type="integer">700</amount_in_cents>
|
85
85
|
<status>success</status>
|
86
86
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -94,10 +94,10 @@
|
|
94
94
|
<refundable type="boolean">true</refundable>
|
95
95
|
</transaction>
|
96
96
|
<transaction type="Payment">
|
97
|
-
<id>
|
97
|
+
<id>b5c1515d720245fea4ead5badb310bb0</id>
|
98
98
|
<account_code>subscription-refund-none-1301881900</account_code>
|
99
99
|
<action>purchase</action>
|
100
|
-
<date type="datetime">2011-04-
|
100
|
+
<date type="datetime">2011-04-05T05:20:08Z</date>
|
101
101
|
<amount_in_cents type="integer">200</amount_in_cents>
|
102
102
|
<status>success</status>
|
103
103
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -111,10 +111,10 @@
|
|
111
111
|
<refundable type="boolean">true</refundable>
|
112
112
|
</transaction>
|
113
113
|
<transaction type="Payment">
|
114
|
-
<id>
|
114
|
+
<id>b6f44464492b4ebfb4b02257f3c58fa1</id>
|
115
115
|
<account_code>subscription-refund-partial-1301881900</account_code>
|
116
116
|
<action>purchase</action>
|
117
|
-
<date type="datetime">2011-04-
|
117
|
+
<date type="datetime">2011-04-05T05:19:52Z</date>
|
118
118
|
<amount_in_cents type="integer">200</amount_in_cents>
|
119
119
|
<status>success</status>
|
120
120
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -128,10 +128,10 @@
|
|
128
128
|
<refundable type="boolean">true</refundable>
|
129
129
|
</transaction>
|
130
130
|
<transaction type="Payment">
|
131
|
-
<id>
|
131
|
+
<id>c60fcdea25044b22b91854d1a2f644c1</id>
|
132
132
|
<account_code>subscription-refund-full-1301881900</account_code>
|
133
133
|
<action>purchase</action>
|
134
|
-
<date type="datetime">2011-04-
|
134
|
+
<date type="datetime">2011-04-05T05:19:36Z</date>
|
135
135
|
<amount_in_cents type="integer">200</amount_in_cents>
|
136
136
|
<status>void</status>
|
137
137
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -145,10 +145,10 @@
|
|
145
145
|
<refundable type="boolean">false</refundable>
|
146
146
|
</transaction>
|
147
147
|
<transaction type="Payment">
|
148
|
-
<id>
|
148
|
+
<id>1939c52a5f184d24a60ab0856002699d</id>
|
149
149
|
<account_code>subscription-cancel-with-code-1301881900</account_code>
|
150
150
|
<action>purchase</action>
|
151
|
-
<date type="datetime">2011-04-
|
151
|
+
<date type="datetime">2011-04-05T05:19:18Z</date>
|
152
152
|
<amount_in_cents type="integer">200</amount_in_cents>
|
153
153
|
<status>success</status>
|
154
154
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -162,10 +162,10 @@
|
|
162
162
|
<refundable type="boolean">true</refundable>
|
163
163
|
</transaction>
|
164
164
|
<transaction type="Payment">
|
165
|
-
<id>
|
165
|
+
<id>c52f539576864251a8a92b825272a413</id>
|
166
166
|
<account_code>subscription-cancel-1301881900</account_code>
|
167
167
|
<action>purchase</action>
|
168
|
-
<date type="datetime">2011-04-
|
168
|
+
<date type="datetime">2011-04-05T05:19:03Z</date>
|
169
169
|
<amount_in_cents type="integer">200</amount_in_cents>
|
170
170
|
<status>success</status>
|
171
171
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -179,10 +179,10 @@
|
|
179
179
|
<refundable type="boolean">true</refundable>
|
180
180
|
</transaction>
|
181
181
|
<transaction type="Payment">
|
182
|
-
<id>
|
182
|
+
<id>c7a4b07e42ba41a8ae9779728ca0308e</id>
|
183
183
|
<account_code>subscription-reactivate-1301881900</account_code>
|
184
184
|
<action>purchase</action>
|
185
|
-
<date type="datetime">2011-04-
|
185
|
+
<date type="datetime">2011-04-05T05:18:45Z</date>
|
186
186
|
<amount_in_cents type="integer">200</amount_in_cents>
|
187
187
|
<status>success</status>
|
188
188
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -196,10 +196,10 @@
|
|
196
196
|
<refundable type="boolean">true</refundable>
|
197
197
|
</transaction>
|
198
198
|
<transaction type="Payment">
|
199
|
-
<id>
|
199
|
+
<id>02e8751212d344d7b4495f1549186778</id>
|
200
200
|
<account_code>1301881900</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2011-04-
|
202
|
+
<date type="datetime">2011-04-05T05:18:27Z</date>
|
203
203
|
<amount_in_cents type="integer">200</amount_in_cents>
|
204
204
|
<status>success</status>
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -213,10 +213,10 @@
|
|
213
213
|
<refundable type="boolean">true</refundable>
|
214
214
|
</transaction>
|
215
215
|
<transaction type="Payment">
|
216
|
-
<id>
|
216
|
+
<id>b93ff1205b2f4316969c0d4e9162883a</id>
|
217
217
|
<account_code>subscription-change1-1301881900</account_code>
|
218
218
|
<action>purchase</action>
|
219
|
-
<date type="datetime">2011-04-
|
219
|
+
<date type="datetime">2011-04-05T05:18:11Z</date>
|
220
220
|
<amount_in_cents type="integer">200</amount_in_cents>
|
221
221
|
<status>success</status>
|
222
222
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -230,10 +230,10 @@
|
|
230
230
|
<refundable type="boolean">true</refundable>
|
231
231
|
</transaction>
|
232
232
|
<transaction type="Payment">
|
233
|
-
<id>
|
233
|
+
<id>dd56535654424cfeb89abfd22a678043</id>
|
234
234
|
<account_code>subscription-create-1301881900</account_code>
|
235
235
|
<action>purchase</action>
|
236
|
-
<date type="datetime">2011-04-
|
236
|
+
<date type="datetime">2011-04-05T05:18:01Z</date>
|
237
237
|
<amount_in_cents type="integer">200</amount_in_cents>
|
238
238
|
<status>success</status>
|
239
239
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -247,10 +247,10 @@
|
|
247
247
|
<refundable type="boolean">true</refundable>
|
248
248
|
</transaction>
|
249
249
|
<transaction type="Payment">
|
250
|
-
<id>
|
250
|
+
<id>49287ca00dd54f809e10cee685dd98ae</id>
|
251
251
|
<account_code>subscription-find-1301881900</account_code>
|
252
252
|
<action>purchase</action>
|
253
|
-
<date type="datetime">2011-04-
|
253
|
+
<date type="datetime">2011-04-05T05:17:50Z</date>
|
254
254
|
<amount_in_cents type="integer">200</amount_in_cents>
|
255
255
|
<status>success</status>
|
256
256
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -264,10 +264,10 @@
|
|
264
264
|
<refundable type="boolean">true</refundable>
|
265
265
|
</transaction>
|
266
266
|
<transaction type="Payment">
|
267
|
-
<id>
|
267
|
+
<id>e0c0f37f22cf485ba3f4a38ab35bee0d</id>
|
268
268
|
<account_code>invoice-lookup-1297746103</account_code>
|
269
269
|
<action>authorization</action>
|
270
|
-
<date type="datetime">2011-04-
|
270
|
+
<date type="datetime">2011-04-05T05:17:19Z</date>
|
271
271
|
<amount_in_cents type="integer">0</amount_in_cents>
|
272
272
|
<status>success</status>
|
273
273
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -281,10 +281,10 @@
|
|
281
281
|
<refundable type="boolean">true</refundable>
|
282
282
|
</transaction>
|
283
283
|
<transaction type="Payment">
|
284
|
-
<id>
|
284
|
+
<id>2c7d378c289549cbb7c28ed58a6f616f</id>
|
285
285
|
<account_code>invoice-list-1297746103</account_code>
|
286
286
|
<action>authorization</action>
|
287
|
-
<date type="datetime">2011-04-
|
287
|
+
<date type="datetime">2011-04-05T05:17:03Z</date>
|
288
288
|
<amount_in_cents type="integer">0</amount_in_cents>
|
289
289
|
<status>success</status>
|
290
290
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -298,10 +298,10 @@
|
|
298
298
|
<refundable type="boolean">true</refundable>
|
299
299
|
</transaction>
|
300
300
|
<transaction type="Payment">
|
301
|
-
<id>
|
301
|
+
<id>d868fda60c6242d1b66e5dbfc6cbe829</id>
|
302
302
|
<account_code>invoice-create-no-charges-1297746103</account_code>
|
303
303
|
<action>authorization</action>
|
304
|
-
<date type="datetime">2011-04-
|
304
|
+
<date type="datetime">2011-04-05T05:16:55Z</date>
|
305
305
|
<amount_in_cents type="integer">0</amount_in_cents>
|
306
306
|
<status>success</status>
|
307
307
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -315,10 +315,10 @@
|
|
315
315
|
<refundable type="boolean">true</refundable>
|
316
316
|
</transaction>
|
317
317
|
<transaction type="Payment">
|
318
|
-
<id>
|
318
|
+
<id>0fd3232412354dd89cb86e352e5ffb19</id>
|
319
319
|
<account_code>invoice-create-1297746103</account_code>
|
320
320
|
<action>authorization</action>
|
321
|
-
<date type="datetime">2011-04-
|
321
|
+
<date type="datetime">2011-04-05T05:16:43Z</date>
|
322
322
|
<amount_in_cents type="integer">0</amount_in_cents>
|
323
323
|
<status>success</status>
|
324
324
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -332,10 +332,10 @@
|
|
332
332
|
<refundable type="boolean">true</refundable>
|
333
333
|
</transaction>
|
334
334
|
<transaction type="Payment">
|
335
|
-
<id>
|
335
|
+
<id>ec37d7758cda485b9ae7ae5ea1e4f336</id>
|
336
336
|
<account_code>charge-create-1297746103</account_code>
|
337
337
|
<action>authorization</action>
|
338
|
-
<date type="datetime">2011-04-
|
338
|
+
<date type="datetime">2011-04-05T05:15:33Z</date>
|
339
339
|
<amount_in_cents type="integer">0</amount_in_cents>
|
340
340
|
<status>success</status>
|
341
341
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -349,10 +349,10 @@
|
|
349
349
|
<refundable type="boolean">true</refundable>
|
350
350
|
</transaction>
|
351
351
|
<transaction type="Payment">
|
352
|
-
<id>
|
352
|
+
<id>3edbb6c5c7f34bb490e82cc786ef2182</id>
|
353
353
|
<account_code>billing-destroy-1298594128</account_code>
|
354
354
|
<action>authorization</action>
|
355
|
-
<date type="datetime">2011-04-
|
355
|
+
<date type="datetime">2011-04-05T05:14:50Z</date>
|
356
356
|
<amount_in_cents type="integer">0</amount_in_cents>
|
357
357
|
<status>success</status>
|
358
358
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -366,10 +366,10 @@
|
|
366
366
|
<refundable type="boolean">true</refundable>
|
367
367
|
</transaction>
|
368
368
|
<transaction type="Payment">
|
369
|
-
<id>
|
369
|
+
<id>2c348aa8bf98449f8b5610499a536692</id>
|
370
370
|
<account_code>billing-find-1298594128</account_code>
|
371
371
|
<action>authorization</action>
|
372
|
-
<date type="datetime">2011-04-
|
372
|
+
<date type="datetime">2011-04-05T05:14:41Z</date>
|
373
373
|
<amount_in_cents type="integer">0</amount_in_cents>
|
374
374
|
<status>success</status>
|
375
375
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -51,15 +51,15 @@
|
|
51
51
|
cache-control:
|
52
52
|
- no-cache
|
53
53
|
location:
|
54
|
-
- http://app.recurly.local:3000/transactions/
|
54
|
+
- http://app.recurly.local:3000/transactions/b5e663499e6a4808b13bff3a874db8d2
|
55
55
|
x-runtime:
|
56
|
-
- "
|
56
|
+
- "3478"
|
57
57
|
content-type:
|
58
58
|
- application/xml; charset=utf-8
|
59
59
|
content-length:
|
60
60
|
- "871"
|
61
61
|
set-cookie:
|
62
|
-
- _recurly_session=
|
62
|
+
- _recurly_session=be06b1cd871cc9b05f7ef67e42735234; domain=.recurly.local; path=/; HttpOnly
|
63
63
|
connection:
|
64
64
|
- close
|
65
65
|
server:
|
@@ -67,10 +67,10 @@
|
|
67
67
|
body: |
|
68
68
|
<?xml version="1.0" encoding="UTF-8"?>
|
69
69
|
<transaction type="Payment">
|
70
|
-
<id>
|
70
|
+
<id>b5e663499e6a4808b13bff3a874db8d2</id>
|
71
71
|
<account_code>transaction-create-with-accout-1301883347</account_code>
|
72
72
|
<action>purchase</action>
|
73
|
-
<date type="datetime">2011-04-
|
73
|
+
<date type="datetime">2011-04-05T05:20:21Z</date>
|
74
74
|
<amount_in_cents type="integer">700</amount_in_cents>
|
75
75
|
<status>success</status>
|
76
76
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/transaction-create-with-account-1301883347
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "322"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "617"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=63e4dcce5ae374e6c25f4b8561e0700d; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>02da4689dac24eb999aa714b7bd70b08</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:20:25Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -108,17 +108,17 @@
|
|
108
108
|
message: OK
|
109
109
|
headers:
|
110
110
|
x-runtime:
|
111
|
-
- "
|
111
|
+
- "2010"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"6065453dfc8c7bd90c778f79f549e531\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "657"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=d2a7e34347aa8b59ab52b82b587229e2; domain=.recurly.local; path=/; HttpOnly
|
122
122
|
connection:
|
123
123
|
- close
|
124
124
|
server:
|
@@ -144,7 +144,7 @@
|
|
144
144
|
<month type="integer">4</month>
|
145
145
|
<year type="integer">2012</year>
|
146
146
|
</credit_card>
|
147
|
-
<updated_at type="datetime">2011-04-
|
147
|
+
<updated_at type="datetime">2011-04-05T05:20:29Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -185,15 +185,15 @@
|
|
185
185
|
cache-control:
|
186
186
|
- no-cache
|
187
187
|
location:
|
188
|
-
- http://app.recurly.local:3000/transactions/
|
188
|
+
- http://app.recurly.local:3000/transactions/6ae7ad6d96614636a09dfdac32a83ba3
|
189
189
|
x-runtime:
|
190
|
-
- "
|
190
|
+
- "2340"
|
191
191
|
content-type:
|
192
192
|
- application/xml; charset=utf-8
|
193
193
|
content-length:
|
194
194
|
- "872"
|
195
195
|
set-cookie:
|
196
|
-
- _recurly_session=
|
196
|
+
- _recurly_session=bbe6140e585826bfd7e5b049ee8cda72; domain=.recurly.local; path=/; HttpOnly
|
197
197
|
connection:
|
198
198
|
- close
|
199
199
|
server:
|
@@ -201,10 +201,10 @@
|
|
201
201
|
body: |
|
202
202
|
<?xml version="1.0" encoding="UTF-8"?>
|
203
203
|
<transaction type="Payment">
|
204
|
-
<id>
|
204
|
+
<id>6ae7ad6d96614636a09dfdac32a83ba3</id>
|
205
205
|
<account_code>transaction-create-with-account-1301883347</account_code>
|
206
206
|
<action>purchase</action>
|
207
|
-
<date type="datetime">2011-04-
|
207
|
+
<date type="datetime">2011-04-05T05:20:32Z</date>
|
208
208
|
<amount_in_cents type="integer">700</amount_in_cents>
|
209
209
|
<status>success</status>
|
210
210
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/transaction-list-filled-1301883347
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "497"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "601"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=eeca8106a3576ce4037a87ba16857f09; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>06580548770d49c2a6e94f2b10f22c57</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:20:45Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -108,17 +108,17 @@
|
|
108
108
|
message: OK
|
109
109
|
headers:
|
110
110
|
x-runtime:
|
111
|
-
- "
|
111
|
+
- "2026"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"e9cafb622359be22b9135458026105f4\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "649"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=4a6d9a0cd70321d23bc6746ace463188; domain=.recurly.local; path=/; HttpOnly
|
122
122
|
connection:
|
123
123
|
- close
|
124
124
|
server:
|
@@ -144,7 +144,7 @@
|
|
144
144
|
<month type="integer">4</month>
|
145
145
|
<year type="integer">2012</year>
|
146
146
|
</credit_card>
|
147
|
-
<updated_at type="datetime">2011-04-
|
147
|
+
<updated_at type="datetime">2011-04-05T05:20:49Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -185,15 +185,15 @@
|
|
185
185
|
cache-control:
|
186
186
|
- no-cache
|
187
187
|
location:
|
188
|
-
- http://app.recurly.local:3000/transactions/
|
188
|
+
- http://app.recurly.local:3000/transactions/241c8dc5bfa646b587061ef80535a70f
|
189
189
|
x-runtime:
|
190
|
-
- "
|
190
|
+
- "2130"
|
191
191
|
content-type:
|
192
192
|
- application/xml; charset=utf-8
|
193
193
|
content-length:
|
194
194
|
- "864"
|
195
195
|
set-cookie:
|
196
|
-
- _recurly_session=
|
196
|
+
- _recurly_session=2d55c399b5d1fc9d1a68cd196472b1ef; domain=.recurly.local; path=/; HttpOnly
|
197
197
|
connection:
|
198
198
|
- close
|
199
199
|
server:
|
@@ -201,10 +201,10 @@
|
|
201
201
|
body: |
|
202
202
|
<?xml version="1.0" encoding="UTF-8"?>
|
203
203
|
<transaction type="Payment">
|
204
|
-
<id>
|
204
|
+
<id>241c8dc5bfa646b587061ef80535a70f</id>
|
205
205
|
<account_code>transaction-list-filled-1301883347</account_code>
|
206
206
|
<action>purchase</action>
|
207
|
-
<date type="datetime">2011-04-
|
207
|
+
<date type="datetime">2011-04-05T05:20:52Z</date>
|
208
208
|
<amount_in_cents type="integer">100</amount_in_cents>
|
209
209
|
<status>success</status>
|
210
210
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -260,15 +260,15 @@
|
|
260
260
|
cache-control:
|
261
261
|
- no-cache
|
262
262
|
location:
|
263
|
-
- http://app.recurly.local:3000/transactions/
|
263
|
+
- http://app.recurly.local:3000/transactions/14c18a7b90cd425cbedcca862aacedbe
|
264
264
|
x-runtime:
|
265
|
-
- "
|
265
|
+
- "2320"
|
266
266
|
content-type:
|
267
267
|
- application/xml; charset=utf-8
|
268
268
|
content-length:
|
269
269
|
- "864"
|
270
270
|
set-cookie:
|
271
|
-
- _recurly_session=
|
271
|
+
- _recurly_session=905ecc7a20309cadf5766bd64b38a38d; domain=.recurly.local; path=/; HttpOnly
|
272
272
|
connection:
|
273
273
|
- close
|
274
274
|
server:
|
@@ -276,10 +276,10 @@
|
|
276
276
|
body: |
|
277
277
|
<?xml version="1.0" encoding="UTF-8"?>
|
278
278
|
<transaction type="Payment">
|
279
|
-
<id>
|
279
|
+
<id>14c18a7b90cd425cbedcca862aacedbe</id>
|
280
280
|
<account_code>transaction-list-filled-1301883347</account_code>
|
281
281
|
<action>purchase</action>
|
282
|
-
<date type="datetime">2011-04-
|
282
|
+
<date type="datetime">2011-04-05T05:20:57Z</date>
|
283
283
|
<amount_in_cents type="integer">200</amount_in_cents>
|
284
284
|
<status>success</status>
|
285
285
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -335,15 +335,15 @@
|
|
335
335
|
cache-control:
|
336
336
|
- no-cache
|
337
337
|
location:
|
338
|
-
- http://app.recurly.local:3000/transactions/
|
338
|
+
- http://app.recurly.local:3000/transactions/aec1680260b942c1a227a2d14f888473
|
339
339
|
x-runtime:
|
340
|
-
- "
|
340
|
+
- "2141"
|
341
341
|
content-type:
|
342
342
|
- application/xml; charset=utf-8
|
343
343
|
content-length:
|
344
344
|
- "864"
|
345
345
|
set-cookie:
|
346
|
-
- _recurly_session=
|
346
|
+
- _recurly_session=96212a850cae6028e7354206a225c0dc; domain=.recurly.local; path=/; HttpOnly
|
347
347
|
connection:
|
348
348
|
- close
|
349
349
|
server:
|
@@ -351,10 +351,10 @@
|
|
351
351
|
body: |
|
352
352
|
<?xml version="1.0" encoding="UTF-8"?>
|
353
353
|
<transaction type="Payment">
|
354
|
-
<id>
|
354
|
+
<id>aec1680260b942c1a227a2d14f888473</id>
|
355
355
|
<account_code>transaction-list-filled-1301883347</account_code>
|
356
356
|
<action>purchase</action>
|
357
|
-
<date type="datetime">2011-04-
|
357
|
+
<date type="datetime">2011-04-05T05:21:01Z</date>
|
358
358
|
<amount_in_cents type="integer">300</amount_in_cents>
|
359
359
|
<status>success</status>
|
360
360
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -395,17 +395,17 @@
|
|
395
395
|
message: OK
|
396
396
|
headers:
|
397
397
|
x-runtime:
|
398
|
-
- "
|
398
|
+
- "370"
|
399
399
|
content-type:
|
400
400
|
- application/xml; charset=utf-8
|
401
401
|
etag:
|
402
|
-
- "\"
|
402
|
+
- "\"f1557ada0dc9d44f73064b1f3b31e5a1\""
|
403
403
|
cache-control:
|
404
404
|
- private, max-age=0, must-revalidate
|
405
405
|
content-length:
|
406
406
|
- "3319"
|
407
407
|
set-cookie:
|
408
|
-
- _recurly_session=
|
408
|
+
- _recurly_session=cde4b1e1a0f888d2b2f6e7842ec252e0; domain=.recurly.local; path=/; HttpOnly
|
409
409
|
connection:
|
410
410
|
- close
|
411
411
|
server:
|
@@ -417,10 +417,10 @@
|
|
417
417
|
<per_page type="integer">50</per_page>
|
418
418
|
<total_entries type="integer">4</total_entries>
|
419
419
|
<transaction type="Payment">
|
420
|
-
<id>
|
420
|
+
<id>aec1680260b942c1a227a2d14f888473</id>
|
421
421
|
<account_code>transaction-list-filled-1301883347</account_code>
|
422
422
|
<action>purchase</action>
|
423
|
-
<date type="datetime">2011-04-
|
423
|
+
<date type="datetime">2011-04-05T05:21:01Z</date>
|
424
424
|
<amount_in_cents type="integer">300</amount_in_cents>
|
425
425
|
<status>success</status>
|
426
426
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -434,10 +434,10 @@
|
|
434
434
|
<refundable type="boolean">true</refundable>
|
435
435
|
</transaction>
|
436
436
|
<transaction type="Payment">
|
437
|
-
<id>
|
437
|
+
<id>14c18a7b90cd425cbedcca862aacedbe</id>
|
438
438
|
<account_code>transaction-list-filled-1301883347</account_code>
|
439
439
|
<action>purchase</action>
|
440
|
-
<date type="datetime">2011-04-
|
440
|
+
<date type="datetime">2011-04-05T05:20:57Z</date>
|
441
441
|
<amount_in_cents type="integer">200</amount_in_cents>
|
442
442
|
<status>success</status>
|
443
443
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -451,10 +451,10 @@
|
|
451
451
|
<refundable type="boolean">true</refundable>
|
452
452
|
</transaction>
|
453
453
|
<transaction type="Payment">
|
454
|
-
<id>
|
454
|
+
<id>241c8dc5bfa646b587061ef80535a70f</id>
|
455
455
|
<account_code>transaction-list-filled-1301883347</account_code>
|
456
456
|
<action>purchase</action>
|
457
|
-
<date type="datetime">2011-04-
|
457
|
+
<date type="datetime">2011-04-05T05:20:52Z</date>
|
458
458
|
<amount_in_cents type="integer">100</amount_in_cents>
|
459
459
|
<status>success</status>
|
460
460
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -468,10 +468,10 @@
|
|
468
468
|
<refundable type="boolean">true</refundable>
|
469
469
|
</transaction>
|
470
470
|
<transaction type="Payment">
|
471
|
-
<id>
|
471
|
+
<id>043ef66d2e1c4ee686163bfbf396d2b9</id>
|
472
472
|
<account_code>transaction-list-filled-1301883347</account_code>
|
473
473
|
<action>authorization</action>
|
474
|
-
<date type="datetime">2011-04-
|
474
|
+
<date type="datetime">2011-04-05T05:20:48Z</date>
|
475
475
|
<amount_in_cents type="integer">0</amount_in_cents>
|
476
476
|
<status>success</status>
|
477
477
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -509,17 +509,17 @@
|
|
509
509
|
message: OK
|
510
510
|
headers:
|
511
511
|
x-runtime:
|
512
|
-
- "
|
512
|
+
- "673"
|
513
513
|
content-type:
|
514
514
|
- application/xml; charset=utf-8
|
515
515
|
etag:
|
516
|
-
- "\"
|
516
|
+
- "\"f1557ada0dc9d44f73064b1f3b31e5a1\""
|
517
517
|
cache-control:
|
518
518
|
- private, max-age=0, must-revalidate
|
519
519
|
content-length:
|
520
520
|
- "3319"
|
521
521
|
set-cookie:
|
522
|
-
- _recurly_session=
|
522
|
+
- _recurly_session=d19b63ef162179df9baf131742a66f95; domain=.recurly.local; path=/; HttpOnly
|
523
523
|
connection:
|
524
524
|
- close
|
525
525
|
server:
|
@@ -531,10 +531,10 @@
|
|
531
531
|
<per_page type="integer">50</per_page>
|
532
532
|
<total_entries type="integer">4</total_entries>
|
533
533
|
<transaction type="Payment">
|
534
|
-
<id>
|
534
|
+
<id>aec1680260b942c1a227a2d14f888473</id>
|
535
535
|
<account_code>transaction-list-filled-1301883347</account_code>
|
536
536
|
<action>purchase</action>
|
537
|
-
<date type="datetime">2011-04-
|
537
|
+
<date type="datetime">2011-04-05T05:21:01Z</date>
|
538
538
|
<amount_in_cents type="integer">300</amount_in_cents>
|
539
539
|
<status>success</status>
|
540
540
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -548,10 +548,10 @@
|
|
548
548
|
<refundable type="boolean">true</refundable>
|
549
549
|
</transaction>
|
550
550
|
<transaction type="Payment">
|
551
|
-
<id>
|
551
|
+
<id>14c18a7b90cd425cbedcca862aacedbe</id>
|
552
552
|
<account_code>transaction-list-filled-1301883347</account_code>
|
553
553
|
<action>purchase</action>
|
554
|
-
<date type="datetime">2011-04-
|
554
|
+
<date type="datetime">2011-04-05T05:20:57Z</date>
|
555
555
|
<amount_in_cents type="integer">200</amount_in_cents>
|
556
556
|
<status>success</status>
|
557
557
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -565,10 +565,10 @@
|
|
565
565
|
<refundable type="boolean">true</refundable>
|
566
566
|
</transaction>
|
567
567
|
<transaction type="Payment">
|
568
|
-
<id>
|
568
|
+
<id>241c8dc5bfa646b587061ef80535a70f</id>
|
569
569
|
<account_code>transaction-list-filled-1301883347</account_code>
|
570
570
|
<action>purchase</action>
|
571
|
-
<date type="datetime">2011-04-
|
571
|
+
<date type="datetime">2011-04-05T05:20:52Z</date>
|
572
572
|
<amount_in_cents type="integer">100</amount_in_cents>
|
573
573
|
<status>success</status>
|
574
574
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -582,10 +582,10 @@
|
|
582
582
|
<refundable type="boolean">true</refundable>
|
583
583
|
</transaction>
|
584
584
|
<transaction type="Payment">
|
585
|
-
<id>
|
585
|
+
<id>043ef66d2e1c4ee686163bfbf396d2b9</id>
|
586
586
|
<account_code>transaction-list-filled-1301883347</account_code>
|
587
587
|
<action>authorization</action>
|
588
|
-
<date type="datetime">2011-04-
|
588
|
+
<date type="datetime">2011-04-05T05:20:48Z</date>
|
589
589
|
<amount_in_cents type="integer">0</amount_in_cents>
|
590
590
|
<status>success</status>
|
591
591
|
<message>Test Gateway: Successful test transaction</message>
|