recurly 0.4.4 → 0.4.5
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 +4 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/billing_info_spec.rb +33 -0
- data/spec/vcr/account/accept-language-account/1301979678.yml +4 -4
- data/spec/vcr/account/close/1301979678.yml +11 -11
- data/spec/vcr/account/create/1301979678.yml +4 -4
- data/spec/vcr/account/create-blank/1301979678.yml +2 -2
- data/spec/vcr/account/create-duplicate/1301979678.yml +6 -6
- data/spec/vcr/account/create-min/1301979678.yml +4 -4
- data/spec/vcr/account/find/1301979678.yml +10 -10
- data/spec/vcr/account/list/1301979678.yml +74 -74
- data/spec/vcr/account/update/1301979678.yml +21 -21
- data/spec/vcr/billing/create/{1298594128.yml → 1302025874.yml} +20 -20
- data/spec/vcr/billing/destroy/{1298594128.yml → 1302025874.yml} +25 -25
- data/spec/vcr/billing/errors/1302025874.yml +126 -0
- data/spec/vcr/billing/find/{1298594128.yml → 1302025874.yml} +27 -27
- data/spec/vcr/billing/update/{1298594128.yml → 1302025874.yml} +27 -27
- 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 +53 -53
- 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/1297746103.yml +30 -30
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +32 -32
- 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/1301885121.yml +31 -31
- data/spec/vcr/subscription/addons/create/1301885121.yml +19 -19
- data/spec/vcr/subscription/addons/remove/1301885121.yml +31 -31
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- 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 +28 -28
- 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 +55 -55
- 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 +12 -10
@@ -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
|
+
- "432"
|
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=478e11b7d7df182a354fc09b8fea4d3b; 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>46cf7da313034321bfbfa6b0a62c04d3</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:48:43Z</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
|
+
- "1758"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"58694b562f222e55c1a604876f6f8dfd\""
|
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=43633c3f43f765943787571c31069ca5; 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-05T19:48:47Z</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/38c8f1ec0abe4f8b9211fa2d83ec2ab4
|
189
189
|
x-runtime:
|
190
|
-
- "
|
190
|
+
- "2651"
|
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=1b24388acc4deb67cf9231475f1a9328; 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>38c8f1ec0abe4f8b9211fa2d83ec2ab4</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-05T19:48:51Z</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/c88604d6850b4ea5b5a2197105d53c2f
|
264
264
|
x-runtime:
|
265
|
-
- "
|
265
|
+
- "2743"
|
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=b65682ddc91dc509921ef53aabbf2921; 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>c88604d6850b4ea5b5a2197105d53c2f</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-05T19:48:56Z</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/982033c7c4954ccb888edbb567a0d4cc
|
339
339
|
x-runtime:
|
340
|
-
- "
|
340
|
+
- "2799"
|
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=74243185c3376ddd1c724c06d417a82c; 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>982033c7c4954ccb888edbb567a0d4cc</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-05T19:49:02Z</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
|
+
- "447"
|
399
399
|
content-type:
|
400
400
|
- application/xml; charset=utf-8
|
401
401
|
etag:
|
402
|
-
- "\"
|
402
|
+
- "\"ba2b8fff1faea0534e3330ec5ad2ba4e\""
|
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=1ca0faec8e40d4de11fb1b6a53f0dd60; 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>982033c7c4954ccb888edbb567a0d4cc</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-05T19:49:02Z</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>c88604d6850b4ea5b5a2197105d53c2f</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-05T19:48:56Z</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>38c8f1ec0abe4f8b9211fa2d83ec2ab4</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-05T19:48:51Z</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>144e33b95c484acf9a87593fc66fd340</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-05T19:48:47Z</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
|
+
- "439"
|
513
513
|
content-type:
|
514
514
|
- application/xml; charset=utf-8
|
515
515
|
etag:
|
516
|
-
- "\"
|
516
|
+
- "\"ba2b8fff1faea0534e3330ec5ad2ba4e\""
|
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=cef01a1000fc508e06db2ba2c2c9c20f; 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>982033c7c4954ccb888edbb567a0d4cc</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-05T19:49:02Z</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>c88604d6850b4ea5b5a2197105d53c2f</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-05T19:48:56Z</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>38c8f1ec0abe4f8b9211fa2d83ec2ab4</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-05T19:48:51Z</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>144e33b95c484acf9a87593fc66fd340</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-05T19:48:47Z</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>
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/transaction-list-initial-1301883347
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "440"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "603"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=82245cbfbc4704a1c0160a8f9bf4c857; 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>cdb7ec35177543109c3adf32559efd06</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:48:33Z</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
|
+
- "1778"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"0caf631d4495d2ea336361d49db3775f\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "650"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=74c7a499c5d6c70dcfd16cc749ab8d75; 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-05T19:48:37Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -170,17 +170,17 @@
|
|
170
170
|
message: OK
|
171
171
|
headers:
|
172
172
|
x-runtime:
|
173
|
-
- "
|
173
|
+
- "436"
|
174
174
|
content-type:
|
175
175
|
- application/xml; charset=utf-8
|
176
176
|
etag:
|
177
|
-
- "\"
|
177
|
+
- "\"3bc00a78bda0dc0ebe46990446670910\""
|
178
178
|
cache-control:
|
179
179
|
- private, max-age=0, must-revalidate
|
180
180
|
content-length:
|
181
181
|
- "1004"
|
182
182
|
set-cookie:
|
183
|
-
- _recurly_session=
|
183
|
+
- _recurly_session=2ef130c0975352becf026001b933cdaa; domain=.recurly.local; path=/; HttpOnly
|
184
184
|
connection:
|
185
185
|
- close
|
186
186
|
server:
|
@@ -192,10 +192,10 @@
|
|
192
192
|
<per_page type="integer">50</per_page>
|
193
193
|
<total_entries type="integer">1</total_entries>
|
194
194
|
<transaction type="Payment">
|
195
|
-
<id>
|
195
|
+
<id>ff7c91d0f776441fb5c5381c5724dfd5</id>
|
196
196
|
<account_code>transaction-list-initial-1301883347</account_code>
|
197
197
|
<action>authorization</action>
|
198
|
-
<date type="datetime">2011-04-
|
198
|
+
<date type="datetime">2011-04-05T19:48:37Z</date>
|
199
199
|
<amount_in_cents type="integer">0</amount_in_cents>
|
200
200
|
<status>success</status>
|
201
201
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/transaction-lookup-1301883347
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "435"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "591"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=a032fb8d60a25b55cee9074a2e639612; 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>99753038887c44e1ada42fcde8b78ce4</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:49:12Z</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
|
+
- "1683"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"57a7e8badd65de9471ce72ee922c6cd5\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "644"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=ff82c5bfe02164236b70d0427da8a90e; 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-05T19:49:16Z</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/4c46bd5876984d878897462ac0a0e8cd
|
189
189
|
x-runtime:
|
190
|
-
- "
|
190
|
+
- "2675"
|
191
191
|
content-type:
|
192
192
|
- application/xml; charset=utf-8
|
193
193
|
content-length:
|
194
194
|
- "859"
|
195
195
|
set-cookie:
|
196
|
-
- _recurly_session=
|
196
|
+
- _recurly_session=e7f856715aee20c3d3d3d94b3bd6a7e1; 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>4c46bd5876984d878897462ac0a0e8cd</id>
|
205
205
|
<account_code>transaction-lookup-1301883347</account_code>
|
206
206
|
<action>purchase</action>
|
207
|
-
<date type="datetime">2011-04-
|
207
|
+
<date type="datetime">2011-04-05T19:49:20Z</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/cebd12fe15b5432baf8912ab5b86b397
|
264
264
|
x-runtime:
|
265
|
-
- "
|
265
|
+
- "2690"
|
266
266
|
content-type:
|
267
267
|
- application/xml; charset=utf-8
|
268
268
|
content-length:
|
269
269
|
- "859"
|
270
270
|
set-cookie:
|
271
|
-
- _recurly_session=
|
271
|
+
- _recurly_session=6864a13124de20546c83af551a3f688c; 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>cebd12fe15b5432baf8912ab5b86b397</id>
|
280
280
|
<account_code>transaction-lookup-1301883347</account_code>
|
281
281
|
<action>purchase</action>
|
282
|
-
<date type="datetime">2011-04-
|
282
|
+
<date type="datetime">2011-04-05T19:49:25Z</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/b1ec7306669645c5a610f0d1f101e2c7
|
339
339
|
x-runtime:
|
340
|
-
- "
|
340
|
+
- "2697"
|
341
341
|
content-type:
|
342
342
|
- application/xml; charset=utf-8
|
343
343
|
content-length:
|
344
344
|
- "859"
|
345
345
|
set-cookie:
|
346
|
-
- _recurly_session=
|
346
|
+
- _recurly_session=5224759a150d8929318ea462cd40e67d; 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>b1ec7306669645c5a610f0d1f101e2c7</id>
|
355
355
|
<account_code>transaction-lookup-1301883347</account_code>
|
356
356
|
<action>purchase</action>
|
357
|
-
<date type="datetime">2011-04-
|
357
|
+
<date type="datetime">2011-04-05T19:49:30Z</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>
|
@@ -376,7 +376,7 @@
|
|
376
376
|
- !ruby/struct:VCR::HTTPInteraction
|
377
377
|
request: !ruby/struct:VCR::Request
|
378
378
|
method: :get
|
379
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions/
|
379
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions/4c46bd5876984d878897462ac0a0e8cd.xml?account_code=transaction-lookup-1301883347
|
380
380
|
body:
|
381
381
|
headers:
|
382
382
|
authorization:
|
@@ -395,17 +395,17 @@
|
|
395
395
|
message: OK
|
396
396
|
headers:
|
397
397
|
x-runtime:
|
398
|
-
- "
|
398
|
+
- "468"
|
399
399
|
content-type:
|
400
400
|
- application/xml; charset=utf-8
|
401
401
|
etag:
|
402
|
-
- "\"
|
402
|
+
- "\"ee6e9b55f726697cc8cc906f3c1f3890\""
|
403
403
|
cache-control:
|
404
404
|
- private, max-age=0, must-revalidate
|
405
405
|
content-length:
|
406
406
|
- "859"
|
407
407
|
set-cookie:
|
408
|
-
- _recurly_session=
|
408
|
+
- _recurly_session=386ddce54bdb87a626582df63c128b11; domain=.recurly.local; path=/; HttpOnly
|
409
409
|
connection:
|
410
410
|
- close
|
411
411
|
server:
|
@@ -413,10 +413,10 @@
|
|
413
413
|
body: |
|
414
414
|
<?xml version="1.0" encoding="UTF-8"?>
|
415
415
|
<transaction type="Payment">
|
416
|
-
<id>
|
416
|
+
<id>4c46bd5876984d878897462ac0a0e8cd</id>
|
417
417
|
<account_code>transaction-lookup-1301883347</account_code>
|
418
418
|
<action>purchase</action>
|
419
|
-
<date type="datetime">2011-04-
|
419
|
+
<date type="datetime">2011-04-05T19:49:20Z</date>
|
420
420
|
<amount_in_cents type="integer">100</amount_in_cents>
|
421
421
|
<status>success</status>
|
422
422
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -438,7 +438,7 @@
|
|
438
438
|
- !ruby/struct:VCR::HTTPInteraction
|
439
439
|
request: !ruby/struct:VCR::Request
|
440
440
|
method: :get
|
441
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions/
|
441
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions/cebd12fe15b5432baf8912ab5b86b397.xml?account_code=transaction-lookup-1301883347
|
442
442
|
body:
|
443
443
|
headers:
|
444
444
|
authorization:
|
@@ -457,17 +457,17 @@
|
|
457
457
|
message: OK
|
458
458
|
headers:
|
459
459
|
x-runtime:
|
460
|
-
- "
|
460
|
+
- "463"
|
461
461
|
content-type:
|
462
462
|
- application/xml; charset=utf-8
|
463
463
|
etag:
|
464
|
-
- "\"
|
464
|
+
- "\"7dc75ef3589c2e412f69de93e49177fc\""
|
465
465
|
cache-control:
|
466
466
|
- private, max-age=0, must-revalidate
|
467
467
|
content-length:
|
468
468
|
- "859"
|
469
469
|
set-cookie:
|
470
|
-
- _recurly_session=
|
470
|
+
- _recurly_session=b3a8e0d84055c7441aa64fba04af0ebf; domain=.recurly.local; path=/; HttpOnly
|
471
471
|
connection:
|
472
472
|
- close
|
473
473
|
server:
|
@@ -475,10 +475,10 @@
|
|
475
475
|
body: |
|
476
476
|
<?xml version="1.0" encoding="UTF-8"?>
|
477
477
|
<transaction type="Payment">
|
478
|
-
<id>
|
478
|
+
<id>cebd12fe15b5432baf8912ab5b86b397</id>
|
479
479
|
<account_code>transaction-lookup-1301883347</account_code>
|
480
480
|
<action>purchase</action>
|
481
|
-
<date type="datetime">2011-04-
|
481
|
+
<date type="datetime">2011-04-05T19:49:25Z</date>
|
482
482
|
<amount_in_cents type="integer">200</amount_in_cents>
|
483
483
|
<status>success</status>
|
484
484
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -500,7 +500,7 @@
|
|
500
500
|
- !ruby/struct:VCR::HTTPInteraction
|
501
501
|
request: !ruby/struct:VCR::Request
|
502
502
|
method: :get
|
503
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions/
|
503
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions/b1ec7306669645c5a610f0d1f101e2c7.xml?account_code=transaction-lookup-1301883347
|
504
504
|
body:
|
505
505
|
headers:
|
506
506
|
authorization:
|
@@ -519,17 +519,17 @@
|
|
519
519
|
message: OK
|
520
520
|
headers:
|
521
521
|
x-runtime:
|
522
|
-
- "
|
522
|
+
- "465"
|
523
523
|
content-type:
|
524
524
|
- application/xml; charset=utf-8
|
525
525
|
etag:
|
526
|
-
- "\"
|
526
|
+
- "\"a15ab65a4e6dace2fcdc488f4eb6ab61\""
|
527
527
|
cache-control:
|
528
528
|
- private, max-age=0, must-revalidate
|
529
529
|
content-length:
|
530
530
|
- "859"
|
531
531
|
set-cookie:
|
532
|
-
- _recurly_session=
|
532
|
+
- _recurly_session=7a844b610346e9c26a51749982595ed9; domain=.recurly.local; path=/; HttpOnly
|
533
533
|
connection:
|
534
534
|
- close
|
535
535
|
server:
|
@@ -537,10 +537,10 @@
|
|
537
537
|
body: |
|
538
538
|
<?xml version="1.0" encoding="UTF-8"?>
|
539
539
|
<transaction type="Payment">
|
540
|
-
<id>
|
540
|
+
<id>b1ec7306669645c5a610f0d1f101e2c7</id>
|
541
541
|
<account_code>transaction-lookup-1301883347</account_code>
|
542
542
|
<action>purchase</action>
|
543
|
-
<date type="datetime">2011-04-
|
543
|
+
<date type="datetime">2011-04-05T19:49:30Z</date>
|
544
544
|
<amount_in_cents type="integer">300</amount_in_cents>
|
545
545
|
<status>success</status>
|
546
546
|
<message>Test Gateway: Successful test transaction</message>
|