recurly 0.2.3 → 0.2.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.rb +1 -0
- data/lib/recurly/charge.rb +6 -0
- data/lib/recurly/subscription.rb +23 -5
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +45 -0
- data/spec/integration/credit_spec.rb +19 -0
- data/spec/integration/subscription_spec.rb +62 -9
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +101 -101
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +23 -23
- data/spec/vcr/billing/find/1286682213.yml +21 -21
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +24 -24
- data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
- 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/create/1287460732.yml +171 -0
- data/spec/vcr/credit/create/1287461340.yml +171 -0
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
- data/spec/vcr/credit/list/1286681343.yml +36 -36
- data/spec/vcr/credit/list/1287460732.yml +299 -0
- data/spec/vcr/credit/list/1287461340.yml +299 -0
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/credit/lookup/1287460732.yml +171 -0
- data/spec/vcr/credit/lookup/1287461340.yml +171 -0
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +52 -52
- data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
- data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
- data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
- data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
- data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
- data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/transaction/all/1287186411.yml +80 -80
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +60 -60
- metadata +67 -56
- data/spec/vcr/subscription/change1/1287439446.yml +0 -409
- data/spec/vcr/subscription/change1/1287442108.yml +0 -409
- data/spec/vcr/subscription/change2/1287439446.yml +0 -409
- data/spec/vcr/subscription/change2/1287442108.yml +0 -409
- data/spec/vcr/subscription/create/1287439446.yml +0 -224
- data/spec/vcr/subscription/create/1287442108.yml +0 -224
- data/spec/vcr/subscription/find/1287439446.yml +0 -283
- data/spec/vcr/subscription/find/1287442352.yml +0 -283
- data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "608"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:21:15 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "591"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=838a2ad2ae456acb81e1b1766a6382d0d154cdf6248641447210d60fbabaa2ff92087b8afff80e197cb2031f11705dbe159b35405472e1dac597a34a9763a55a%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=d0e035a9908a94f31faaafc0807432c3; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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>bb43a1dec0ea4679806c4f84c42b87eb</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:21:15Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"fad010e7e420b8d11c70895d886c6f69\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "71"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Tue, 19 Oct 2010 03:21:16 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "643"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=9a3cacf58cecc9348222fb3bc54eef4d; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -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-19T03:21:16Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -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/a81acf81ad8f4addb650821938bf2ec4
|
180
180
|
connection:
|
181
181
|
- close
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
x-runtime:
|
185
|
-
- "
|
185
|
+
- "511"
|
186
186
|
date:
|
187
|
-
-
|
187
|
+
- Tue, 19 Oct 2010 03:21:17 GMT
|
188
188
|
server:
|
189
189
|
- nginx/0.7.65
|
190
190
|
content-length:
|
191
191
|
- "850"
|
192
192
|
set-cookie:
|
193
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=a787f2a5ee50e00f90ee67294c9012c3; 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>
|
199
|
+
<id>a81acf81ad8f4addb650821938bf2ec4</id>
|
200
200
|
<account_code>transaction-lookup-1287186411</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2010-10-
|
202
|
+
<date type="datetime">2010-10-19T03:21:16Z</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>
|
@@ -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/04549b618baf4c09be4081b2832ed8ba
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "545"
|
257
257
|
date:
|
258
|
-
-
|
258
|
+
- Tue, 19 Oct 2010 03:21:18 GMT
|
259
259
|
server:
|
260
260
|
- nginx/0.7.65
|
261
261
|
content-length:
|
262
262
|
- "850"
|
263
263
|
set-cookie:
|
264
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=1725b900f9cc42ff470902177a3cd5e9; 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>
|
270
|
+
<id>04549b618baf4c09be4081b2832ed8ba</id>
|
271
271
|
<account_code>transaction-lookup-1287186411</account_code>
|
272
272
|
<action>purchase</action>
|
273
|
-
<date type="datetime">2010-10-
|
273
|
+
<date type="datetime">2010-10-19T03:21:18Z</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>
|
@@ -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/afdb2a362364499db76114d0dfc8bf6d
|
322
322
|
connection:
|
323
323
|
- close
|
324
324
|
content-type:
|
325
325
|
- application/xml; charset=utf-8
|
326
326
|
x-runtime:
|
327
|
-
- "
|
327
|
+
- "470"
|
328
328
|
date:
|
329
|
-
-
|
329
|
+
- Tue, 19 Oct 2010 03:21:19 GMT
|
330
330
|
server:
|
331
331
|
- nginx/0.7.65
|
332
332
|
content-length:
|
333
333
|
- "850"
|
334
334
|
set-cookie:
|
335
|
-
- _recurly_session=
|
335
|
+
- _recurly_session=2eb0c3a8eee68add2ce77dc30c128ba1; 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>
|
341
|
+
<id>afdb2a362364499db76114d0dfc8bf6d</id>
|
342
342
|
<account_code>transaction-lookup-1287186411</account_code>
|
343
343
|
<action>purchase</action>
|
344
|
-
<date type="datetime">2010-10-
|
344
|
+
<date type="datetime">2010-10-19T03:21:19Z</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/transactions/
|
366
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/a81acf81ad8f4addb650821938bf2ec4.xml?account_code=transaction-lookup-1287186411
|
367
367
|
body:
|
368
368
|
headers:
|
369
369
|
accept:
|
@@ -380,30 +380,30 @@
|
|
380
380
|
x-ua-compatible:
|
381
381
|
- IE=Edge
|
382
382
|
etag:
|
383
|
-
- "\"
|
383
|
+
- "\"2ff4a13c33662f029ce37c51a92a17d4\""
|
384
384
|
connection:
|
385
385
|
- close
|
386
386
|
content-type:
|
387
387
|
- application/xml; charset=utf-8
|
388
388
|
x-runtime:
|
389
|
-
- "
|
389
|
+
- "17"
|
390
390
|
date:
|
391
|
-
-
|
391
|
+
- Tue, 19 Oct 2010 03:21:20 GMT
|
392
392
|
server:
|
393
393
|
- nginx/0.7.65
|
394
394
|
content-length:
|
395
395
|
- "850"
|
396
396
|
set-cookie:
|
397
|
-
- _recurly_session=
|
397
|
+
- _recurly_session=4a378dcc78a0f222ac8a6cbabb93198d; domain=.recurly.com; path=/; Secure; HttpOnly
|
398
398
|
cache-control:
|
399
399
|
- private, max-age=0, must-revalidate
|
400
400
|
body: |
|
401
401
|
<?xml version="1.0" encoding="UTF-8"?>
|
402
402
|
<transaction type="Payment">
|
403
|
-
<id>
|
403
|
+
<id>a81acf81ad8f4addb650821938bf2ec4</id>
|
404
404
|
<account_code>transaction-lookup-1287186411</account_code>
|
405
405
|
<action>purchase</action>
|
406
|
-
<date type="datetime">2010-10-
|
406
|
+
<date type="datetime">2010-10-19T03:21:16Z</date>
|
407
407
|
<amount_in_cents type="integer">100</amount_in_cents>
|
408
408
|
<status>success</status>
|
409
409
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -425,7 +425,7 @@
|
|
425
425
|
- !ruby/struct:VCR::HTTPInteraction
|
426
426
|
request: !ruby/struct:VCR::Request
|
427
427
|
method: :get
|
428
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
428
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/04549b618baf4c09be4081b2832ed8ba.xml?account_code=transaction-lookup-1287186411
|
429
429
|
body:
|
430
430
|
headers:
|
431
431
|
accept:
|
@@ -442,30 +442,30 @@
|
|
442
442
|
x-ua-compatible:
|
443
443
|
- IE=Edge
|
444
444
|
etag:
|
445
|
-
- "\"
|
445
|
+
- "\"2135d0f2d02c1ad24caf3d4ec3f26a4a\""
|
446
446
|
connection:
|
447
447
|
- close
|
448
448
|
content-type:
|
449
449
|
- application/xml; charset=utf-8
|
450
450
|
x-runtime:
|
451
|
-
- "
|
451
|
+
- "35"
|
452
452
|
date:
|
453
|
-
-
|
453
|
+
- Tue, 19 Oct 2010 03:21:20 GMT
|
454
454
|
server:
|
455
455
|
- nginx/0.7.65
|
456
456
|
content-length:
|
457
457
|
- "850"
|
458
458
|
set-cookie:
|
459
|
-
- _recurly_session=
|
459
|
+
- _recurly_session=e152a212b2fbcb51a5e7de3f4d8487f9; domain=.recurly.com; path=/; Secure; HttpOnly
|
460
460
|
cache-control:
|
461
461
|
- private, max-age=0, must-revalidate
|
462
462
|
body: |
|
463
463
|
<?xml version="1.0" encoding="UTF-8"?>
|
464
464
|
<transaction type="Payment">
|
465
|
-
<id>
|
465
|
+
<id>04549b618baf4c09be4081b2832ed8ba</id>
|
466
466
|
<account_code>transaction-lookup-1287186411</account_code>
|
467
467
|
<action>purchase</action>
|
468
|
-
<date type="datetime">2010-10-
|
468
|
+
<date type="datetime">2010-10-19T03:21:18Z</date>
|
469
469
|
<amount_in_cents type="integer">200</amount_in_cents>
|
470
470
|
<status>success</status>
|
471
471
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -487,7 +487,7 @@
|
|
487
487
|
- !ruby/struct:VCR::HTTPInteraction
|
488
488
|
request: !ruby/struct:VCR::Request
|
489
489
|
method: :get
|
490
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
490
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/afdb2a362364499db76114d0dfc8bf6d.xml?account_code=transaction-lookup-1287186411
|
491
491
|
body:
|
492
492
|
headers:
|
493
493
|
accept:
|
@@ -504,30 +504,30 @@
|
|
504
504
|
x-ua-compatible:
|
505
505
|
- IE=Edge
|
506
506
|
etag:
|
507
|
-
- "\"
|
507
|
+
- "\"2013b0433c88a5c9cf92764705884c64\""
|
508
508
|
connection:
|
509
509
|
- close
|
510
510
|
content-type:
|
511
511
|
- application/xml; charset=utf-8
|
512
512
|
x-runtime:
|
513
|
-
- "
|
513
|
+
- "42"
|
514
514
|
date:
|
515
|
-
-
|
515
|
+
- Tue, 19 Oct 2010 03:21:21 GMT
|
516
516
|
server:
|
517
517
|
- nginx/0.7.65
|
518
518
|
content-length:
|
519
519
|
- "850"
|
520
520
|
set-cookie:
|
521
|
-
- _recurly_session=
|
521
|
+
- _recurly_session=111d0e3835e970b429755cad5bafa710; domain=.recurly.com; path=/; Secure; HttpOnly
|
522
522
|
cache-control:
|
523
523
|
- private, max-age=0, must-revalidate
|
524
524
|
body: |
|
525
525
|
<?xml version="1.0" encoding="UTF-8"?>
|
526
526
|
<transaction type="Payment">
|
527
|
-
<id>
|
527
|
+
<id>afdb2a362364499db76114d0dfc8bf6d</id>
|
528
528
|
<account_code>transaction-lookup-1287186411</account_code>
|
529
529
|
<action>purchase</action>
|
530
|
-
<date type="datetime">2010-10-
|
530
|
+
<date type="datetime">2010-10-19T03:21:19Z</date>
|
531
531
|
<amount_in_cents type="integer">300</amount_in_cents>
|
532
532
|
<status>success</status>
|
533
533
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "722"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:21:27 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "591"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=30548c76381040abda0fc849ea9dcdef33a015d690b3b24624701b3bc7b531b1ad1bf7501064a08d3b20cbc2d4667b1fb9767e3d8479fbd1e1dd63f1f1935ad4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=5cfeb100e858d5436d44077e673f5b14; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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>0f6c631d1e104cb8ab5c3c107ca33a7d</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:21:27Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"b32d7c4b63745b2385a8c43bb876a229\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "228"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Tue, 19 Oct 2010 03:21:28 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "643"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=edaca18982b45ea21f8454362a7855fd; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -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-19T03:21:28Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -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/80e08c38886a4c3896c5f78683650d8f
|
180
180
|
connection:
|
181
181
|
- close
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
x-runtime:
|
185
|
-
- "
|
185
|
+
- "584"
|
186
186
|
date:
|
187
|
-
-
|
187
|
+
- Tue, 19 Oct 2010 03:21:29 GMT
|
188
188
|
server:
|
189
189
|
- nginx/0.7.65
|
190
190
|
content-length:
|
191
191
|
- "851"
|
192
192
|
set-cookie:
|
193
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=1e5f3d1ca6912ab6a50739282fccfed3; 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>
|
199
|
+
<id>80e08c38886a4c3896c5f78683650d8f</id>
|
200
200
|
<account_code>transaction-refund-1287186411</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2010-10-
|
202
|
+
<date type="datetime">2010-10-19T03:21:29Z</date>
|
203
203
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
204
204
|
<status>success</status>
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -221,7 +221,7 @@
|
|
221
221
|
- !ruby/struct:VCR::HTTPInteraction
|
222
222
|
request: !ruby/struct:VCR::Request
|
223
223
|
method: :delete
|
224
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
224
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/80e08c38886a4c3896c5f78683650d8f.xml?action=refund&amount=1000
|
225
225
|
body:
|
226
226
|
headers:
|
227
227
|
accept:
|
@@ -238,30 +238,30 @@
|
|
238
238
|
x-ua-compatible:
|
239
239
|
- IE=Edge
|
240
240
|
etag:
|
241
|
-
- "\"
|
241
|
+
- "\"7b59ce6bdf76b5980239ebae263ffceb\""
|
242
242
|
connection:
|
243
243
|
- close
|
244
244
|
content-type:
|
245
245
|
- application/xml; charset=utf-8
|
246
246
|
x-runtime:
|
247
|
-
- "
|
247
|
+
- "37"
|
248
248
|
date:
|
249
|
-
-
|
249
|
+
- Tue, 19 Oct 2010 03:21:30 GMT
|
250
250
|
server:
|
251
251
|
- nginx/0.7.65
|
252
252
|
content-length:
|
253
253
|
- "850"
|
254
254
|
set-cookie:
|
255
|
-
- _recurly_session=
|
255
|
+
- _recurly_session=f940d4b5980f4ee99967b6652ee1dd7c; domain=.recurly.com; path=/; Secure; HttpOnly
|
256
256
|
cache-control:
|
257
257
|
- private, max-age=0, must-revalidate
|
258
258
|
body: |
|
259
259
|
<?xml version="1.0" encoding="UTF-8"?>
|
260
260
|
<transaction type="Payment">
|
261
|
-
<id>
|
261
|
+
<id>80e08c38886a4c3896c5f78683650d8f</id>
|
262
262
|
<account_code>transaction-refund-1287186411</account_code>
|
263
263
|
<action>purchase</action>
|
264
|
-
<date type="datetime">2010-10-
|
264
|
+
<date type="datetime">2010-10-19T03:21:29Z</date>
|
265
265
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
266
266
|
<status>void</status>
|
267
267
|
<message>Test Gateway: Successful test transaction</message>
|