recurly 0.4.0 → 0.4.1

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.

Files changed (65) hide show
  1. data/lib/patches/rails2/active_resource/connection.rb +10 -0
  2. data/lib/patches/{active_resource → rails3/active_resource}/connection.rb +0 -0
  3. data/lib/recurly.rb +7 -2
  4. data/lib/recurly/transparent.rb +4 -1
  5. data/lib/recurly/version.rb +1 -1
  6. data/spec/integration/transaction_spec.rb +5 -2
  7. data/spec/unit/transparent_spec.rb +59 -1
  8. data/spec/vcr/account/accept-language-account/1297746103.yml +8 -11
  9. data/spec/vcr/account/close/1297746103.yml +23 -30
  10. data/spec/vcr/account/create-blank/1297746103.yml +5 -7
  11. data/spec/vcr/account/create-duplicate/1297746103.yml +13 -18
  12. data/spec/vcr/account/create-min/1297746103.yml +8 -11
  13. data/spec/vcr/account/create/1297746103.yml +8 -11
  14. data/spec/vcr/account/find/1297746103.yml +22 -29
  15. data/spec/vcr/account/list/1297746103.yml +150 -196
  16. data/spec/vcr/account/update/1297746103.yml +37 -46
  17. data/spec/vcr/billing/create/1298594128.yml +24 -31
  18. data/spec/vcr/billing/destroy/1298594128.yml +35 -46
  19. data/spec/vcr/billing/find/1298594128.yml +32 -41
  20. data/spec/vcr/billing/update/1298594128.yml +32 -41
  21. data/spec/vcr/charge/create/1297746103.yml +36 -45
  22. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +46 -59
  23. data/spec/vcr/charge/list-all/1297746103.yml +51 -62
  24. data/spec/vcr/charge/list-invoiced/1297746103.yml +82 -97
  25. data/spec/vcr/charge/list-pending/1297746103.yml +51 -62
  26. data/spec/vcr/charge/lookup/1297746103.yml +28 -35
  27. data/spec/vcr/coupon/create/1299714521.yml +23 -30
  28. data/spec/vcr/coupon/destroy/1299714521.yml +26 -35
  29. data/spec/vcr/credit/create/1299714599.yml +28 -35
  30. data/spec/vcr/credit/delete/1299714599.yml +41 -52
  31. data/spec/vcr/credit/list/1299714599.yml +51 -62
  32. data/spec/vcr/credit/lookup/1299714599.yml +28 -35
  33. data/spec/vcr/invoice/create-no-charges/1297746103.yml +21 -28
  34. data/spec/vcr/invoice/create/1297746103.yml +50 -61
  35. data/spec/vcr/invoice/list/1297746103.yml +73 -88
  36. data/spec/vcr/invoice/lookup/1297746103.yml +52 -63
  37. data/spec/vcr/plan/all.yml +18 -24
  38. data/spec/vcr/plan/find.yml +18 -24
  39. data/spec/vcr/plan/update.yml +18 -24
  40. data/spec/vcr/subscription/addons/add/1297746103.yml +331 -38
  41. data/spec/vcr/subscription/addons/create/1297746103.yml +331 -38
  42. data/spec/vcr/subscription/addons/remove/1297746103.yml +331 -38
  43. data/spec/vcr/subscription/cancel-with-code/1297746103.yml +71 -86
  44. data/spec/vcr/subscription/cancel/1297746103.yml +59 -72
  45. data/spec/vcr/subscription/change1/1297746103.yml +55 -68
  46. data/spec/vcr/subscription/change2/1297746103.yml +55 -68
  47. data/spec/vcr/subscription/create/1297746103.yml +25 -32
  48. data/spec/vcr/subscription/find/1297746103.yml +35 -44
  49. data/spec/vcr/subscription/reactivate/1297746103.yml +64 -79
  50. data/spec/vcr/subscription/refund-full/1297746103.yml +52 -65
  51. data/spec/vcr/subscription/refund-none/1297746103.yml +52 -65
  52. data/spec/vcr/subscription/refund-partial/1297746103.yml +52 -65
  53. data/spec/vcr/transaction/all/1300473500.yml +387 -0
  54. data/spec/vcr/transaction/create-no-account/{1297746103.yml → 1300473500.yml} +19 -22
  55. data/spec/vcr/transaction/create-with-account/{1297746103.yml → 1300473500.yml} +55 -43
  56. data/spec/vcr/transaction/list-filled/1300473500.yml +603 -0
  57. data/spec/vcr/transaction/list-initial/{1297746103.yml → 1300473500.yml} +45 -52
  58. data/spec/vcr/transaction/lookup/1300473500.yml +561 -0
  59. data/spec/vcr/transaction/refund/{1297746103.yml → 1300473500.yml} +113 -41
  60. data/spec/vcr/transaction/void/1300473500.yml +620 -0
  61. metadata +21 -20
  62. data/spec/vcr/transaction/all/1297746103.yml +0 -389
  63. data/spec/vcr/transaction/list-filled/1297746103.yml +0 -213
  64. data/spec/vcr/transaction/lookup/1297746103.yml +0 -213
  65. data/spec/vcr/transaction/void/1297746103.yml +0 -213
@@ -32,27 +32,24 @@
32
32
  response: !ruby/struct:VCR::Response
33
33
  status: !ruby/struct:VCR::ResponseStatus
34
34
  code: 201
35
- message: "Created "
35
+ message: Created
36
36
  headers:
37
37
  cache-control:
38
38
  - no-cache
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/subscription-refund-partial-1297746103
41
41
  x-runtime:
42
- - "680"
42
+ - "361"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "609"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
- date:
50
- - Fri, 11 Mar 2011 18:54:49 GMT
47
+ set-cookie:
48
+ - _recurly_session=aa1e28d4a483ba1087d38f74098d0319; domain=.recurly.local; path=/; HttpOnly
51
49
  connection:
52
50
  - close
53
- set-cookie:
54
- - account_credentials=d6bd5043fa0338172a2a20ca2914e13070a6998481696503108497fad238b4d51ee8ed9feb2411bd21a324a6d642f965d195cacb490216d3db583352e044261b%3A%3A; domain=.recurly.local; path=/
55
- - _recurly_session=9a39f0b86bd1f75a1e3a885fd0cff16c; domain=.recurly.local; path=/; HttpOnly
51
+ server:
52
+ - thin 1.2.7 codename No Hup
56
53
  body: |
57
54
  <?xml version="1.0" encoding="UTF-8"?>
58
55
  <account>
@@ -65,8 +62,8 @@
65
62
  <company_name>Recurly Ruby Gem</company_name>
66
63
  <balance_in_cents type="integer">0</balance_in_cents>
67
64
  <closed type="boolean">false</closed>
68
- <hosted_login_token>cc5ed56c1f654b2990570643ee887e1d</hosted_login_token>
69
- <created_at type="datetime">2011-03-11T18:54:48Z</created_at>
65
+ <hosted_login_token>c987d227d7e64d14b9ca4d9972f5277b</hosted_login_token>
66
+ <created_at type="datetime">2011-03-18T18:55:14Z</created_at>
70
67
  <state>active</state>
71
68
  </account>
72
69
 
@@ -90,10 +87,10 @@
90
87
  response: !ruby/struct:VCR::Response
91
88
  status: !ruby/struct:VCR::ResponseStatus
92
89
  code: 200
93
- message: "OK "
90
+ message: OK
94
91
  headers:
95
92
  x-runtime:
96
- - "242"
93
+ - "92"
97
94
  content-type:
98
95
  - application/xml; charset=utf-8
99
96
  etag:
@@ -102,14 +99,12 @@
102
99
  - private, max-age=0, must-revalidate
103
100
  content-length:
104
101
  - "1146"
105
- server:
106
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
107
- date:
108
- - Fri, 11 Mar 2011 18:54:51 GMT
102
+ set-cookie:
103
+ - _recurly_session=c92e429496ddf4878c4c2cb1c6b779a4; domain=.recurly.local; path=/; HttpOnly
109
104
  connection:
110
105
  - close
111
- set-cookie:
112
- - _recurly_session=dcd225ea689a391df2faa960eab224fa; domain=.recurly.local; path=/; HttpOnly
106
+ server:
107
+ - thin 1.2.7 codename No Hup
113
108
  body: |
114
109
  <?xml version="1.0" encoding="UTF-8"?>
115
110
  <plan>
@@ -173,8 +168,8 @@
173
168
  <username type="yaml" nil="true"></username>
174
169
  <balance-in-cents type="integer">0</balance-in-cents>
175
170
  <closed type="boolean">false</closed>
176
- <hosted-login-token>cc5ed56c1f654b2990570643ee887e1d</hosted-login-token>
177
- <created-at type="datetime">2011-03-11T18:54:48Z</created-at>
171
+ <hosted-login-token>c987d227d7e64d14b9ca4d9972f5277b</hosted-login-token>
172
+ <created-at type="datetime">2011-03-18T18:55:14Z</created-at>
178
173
  <state>active</state>
179
174
  </account>
180
175
  <addons type="array"/>
@@ -194,24 +189,22 @@
194
189
  response: !ruby/struct:VCR::Response
195
190
  status: !ruby/struct:VCR::ResponseStatus
196
191
  code: 201
197
- message: "Created "
192
+ message: Created
198
193
  headers:
199
194
  cache-control:
200
195
  - no-cache
201
196
  x-runtime:
202
- - "5458"
197
+ - "7307"
203
198
  content-type:
204
199
  - application/xml; charset=utf-8
205
200
  content-length:
206
201
  - "924"
207
- server:
208
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
209
- date:
210
- - Fri, 11 Mar 2011 18:54:59 GMT
202
+ set-cookie:
203
+ - _recurly_session=c40361afad762f1cb8fafc533aa2f6d0; domain=.recurly.local; path=/; HttpOnly
211
204
  connection:
212
205
  - close
213
- set-cookie:
214
- - _recurly_session=166b1046777aaf15c596524961445092; domain=.recurly.local; path=/; HttpOnly
206
+ server:
207
+ - thin 1.2.7 codename No Hup
215
208
  body: |
216
209
  <?xml version="1.0" encoding="UTF-8"?>
217
210
  <subscription>
@@ -224,11 +217,11 @@
224
217
  <state>active</state>
225
218
  <quantity type="integer">1</quantity>
226
219
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
227
- <activated_at type="datetime">2011-03-11T18:54:54Z</activated_at>
220
+ <activated_at type="datetime">2011-03-18T18:55:19Z</activated_at>
228
221
  <canceled_at nil="true" type="datetime"></canceled_at>
229
222
  <expires_at nil="true" type="datetime"></expires_at>
230
- <current_period_started_at type="datetime">2011-03-11T18:54:54Z</current_period_started_at>
231
- <current_period_ends_at type="datetime">2011-03-12T18:54:54Z</current_period_ends_at>
223
+ <current_period_started_at type="datetime">2011-03-18T18:55:19Z</current_period_started_at>
224
+ <current_period_ends_at type="datetime">2011-03-19T18:55:19Z</current_period_ends_at>
232
225
  <trial_started_at nil="true" type="datetime"></trial_started_at>
233
226
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
234
227
  <add_ons type="array">
@@ -255,26 +248,24 @@
255
248
  response: !ruby/struct:VCR::Response
256
249
  status: !ruby/struct:VCR::ResponseStatus
257
250
  code: 200
258
- message: "OK "
251
+ message: OK
259
252
  headers:
260
253
  x-runtime:
261
- - "301"
254
+ - "354"
262
255
  content-type:
263
256
  - application/xml; charset=utf-8
264
257
  etag:
265
- - "\"db897e7a2269364c6a2866b69dcc8c9b\""
258
+ - "\"f79be5b046ccf33f92651818ae3f3966\""
266
259
  cache-control:
267
260
  - private, max-age=0, must-revalidate
268
261
  content-length:
269
262
  - "924"
270
- server:
271
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
272
- date:
273
- - Fri, 11 Mar 2011 18:55:01 GMT
263
+ set-cookie:
264
+ - _recurly_session=c3e82d98b3479da3e3894bc32ea71a39; domain=.recurly.local; path=/; HttpOnly
274
265
  connection:
275
266
  - close
276
- set-cookie:
277
- - _recurly_session=d220ec187a9e28794aa6c1caa7852ea4; domain=.recurly.local; path=/; HttpOnly
267
+ server:
268
+ - thin 1.2.7 codename No Hup
278
269
  body: |
279
270
  <?xml version="1.0" encoding="UTF-8"?>
280
271
  <subscription>
@@ -287,11 +278,11 @@
287
278
  <state>active</state>
288
279
  <quantity type="integer">1</quantity>
289
280
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
290
- <activated_at type="datetime">2011-03-11T18:54:54Z</activated_at>
281
+ <activated_at type="datetime">2011-03-18T18:55:19Z</activated_at>
291
282
  <canceled_at nil="true" type="datetime"></canceled_at>
292
283
  <expires_at nil="true" type="datetime"></expires_at>
293
- <current_period_started_at type="datetime">2011-03-11T18:54:54Z</current_period_started_at>
294
- <current_period_ends_at type="datetime">2011-03-12T18:54:54Z</current_period_ends_at>
284
+ <current_period_started_at type="datetime">2011-03-18T18:55:19Z</current_period_started_at>
285
+ <current_period_ends_at type="datetime">2011-03-19T18:55:19Z</current_period_ends_at>
295
286
  <trial_started_at nil="true" type="datetime"></trial_started_at>
296
287
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
297
288
  <add_ons type="array">
@@ -316,26 +307,24 @@
316
307
  response: !ruby/struct:VCR::Response
317
308
  status: !ruby/struct:VCR::ResponseStatus
318
309
  code: 200
319
- message: "OK "
310
+ message: OK
320
311
  headers:
321
312
  x-runtime:
322
- - "2782"
313
+ - "2478"
323
314
  content-type:
324
315
  - application/xml; charset=utf-8
325
316
  etag:
326
- - "\"07cb5e5055506fe581f71dca624b9414\""
317
+ - "\"def9dd49cd9f85d7fb2b91784ee6d918\""
327
318
  cache-control:
328
319
  - private, max-age=0, must-revalidate
329
320
  content-length:
330
321
  - "943"
331
- server:
332
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
333
- date:
334
- - Fri, 11 Mar 2011 18:55:06 GMT
322
+ set-cookie:
323
+ - _recurly_session=9f62dbd9c61280309a306398f39fbc0c; domain=.recurly.local; path=/; HttpOnly
335
324
  connection:
336
325
  - close
337
- set-cookie:
338
- - _recurly_session=d775dc49bb373875ef0ba9aa6dc39d8b; domain=.recurly.local; path=/; HttpOnly
326
+ server:
327
+ - thin 1.2.7 codename No Hup
339
328
  body: |
340
329
  <?xml version="1.0" encoding="UTF-8"?>
341
330
  <subscription>
@@ -348,11 +337,11 @@
348
337
  <state>expired</state>
349
338
  <quantity type="integer">1</quantity>
350
339
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
351
- <activated_at type="datetime">2011-03-11T18:54:54Z</activated_at>
352
- <canceled_at type="datetime">2011-03-11T18:55:04Z</canceled_at>
353
- <expires_at type="datetime">2011-03-12T18:54:54Z</expires_at>
354
- <current_period_started_at type="datetime">2011-03-11T18:54:54Z</current_period_started_at>
355
- <current_period_ends_at type="datetime">2011-03-12T18:54:54Z</current_period_ends_at>
340
+ <activated_at type="datetime">2011-03-18T18:55:19Z</activated_at>
341
+ <canceled_at type="datetime">2011-03-18T18:55:30Z</canceled_at>
342
+ <expires_at type="datetime">2011-03-19T18:55:19Z</expires_at>
343
+ <current_period_started_at type="datetime">2011-03-18T18:55:19Z</current_period_started_at>
344
+ <current_period_ends_at type="datetime">2011-03-19T18:55:19Z</current_period_ends_at>
356
345
  <trial_started_at nil="true" type="datetime"></trial_started_at>
357
346
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
358
347
  <add_ons type="array">
@@ -379,7 +368,7 @@
379
368
  response: !ruby/struct:VCR::Response
380
369
  status: !ruby/struct:VCR::ResponseStatus
381
370
  code: 404
382
- message: "Not Found "
371
+ message: Not Found
383
372
  headers:
384
373
  cache-control:
385
374
  - no-cache
@@ -387,14 +376,12 @@
387
376
  - application/xml; charset=utf-8
388
377
  content-length:
389
378
  - "98"
390
- server:
391
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
392
- date:
393
- - Fri, 11 Mar 2011 18:55:09 GMT
379
+ set-cookie:
380
+ - _recurly_session=498fd5a20b93d6a0cea08e93d26a4d8d; domain=.recurly.local; path=/; HttpOnly
394
381
  connection:
395
382
  - close
396
- set-cookie:
397
- - _recurly_session=47159e1d01255c2f5ce504c68211913b; domain=.recurly.local; path=/; HttpOnly
383
+ server:
384
+ - thin 1.2.7 codename No Hup
398
385
  body: |
399
386
  <?xml version="1.0" encoding="UTF-8"?>
400
387
  <errors>
@@ -0,0 +1,387 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
6
+ body:
7
+ headers:
8
+ authorization:
9
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
10
+ accept:
11
+ - application/xml
12
+ accept-encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ user-agent:
15
+ - Ruby
16
+ connection:
17
+ - close
18
+ response: !ruby/struct:VCR::Response
19
+ status: !ruby/struct:VCR::ResponseStatus
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ x-runtime:
24
+ - "723"
25
+ content-type:
26
+ - application/xml; charset=utf-8
27
+ etag:
28
+ - "\"6de03d2bdce663807e89deeed4851c4b\""
29
+ cache-control:
30
+ - private, max-age=0, must-revalidate
31
+ content-length:
32
+ - "14347"
33
+ set-cookie:
34
+ - _recurly_session=47776fec5fded1de614239d287b75758; domain=.recurly.local; path=/; HttpOnly
35
+ connection:
36
+ - close
37
+ server:
38
+ - thin 1.2.7 codename No Hup
39
+ body: |
40
+ <?xml version="1.0" encoding="UTF-8"?>
41
+ <transactions type="collection">
42
+ <current_page type="integer">1</current_page>
43
+ <per_page type="integer">20</per_page>
44
+ <total_entries type="integer">27</total_entries>
45
+ <transaction type="Payment">
46
+ <id>9432160a0fbf4fd2873ff3fd97ba2168</id>
47
+ <account_code>transaction-create-with-account-1300473500</account_code>
48
+ <action>purchase</action>
49
+ <date type="datetime">2011-03-18T18:56:27Z</date>
50
+ <amount_in_cents type="integer">700</amount_in_cents>
51
+ <status>success</status>
52
+ <message>Approved</message>
53
+ <reference>819793155761849641</reference>
54
+ <cvv_result code=""></cvv_result>
55
+ <avs_result code=""></avs_result>
56
+ <avs_result_street></avs_result_street>
57
+ <avs_result_postal></avs_result_postal>
58
+ <test type="boolean">false</test>
59
+ <voidable type="boolean">true</voidable>
60
+ <refundable type="boolean">true</refundable>
61
+ </transaction>
62
+ <transaction type="Payment">
63
+ <id>6b2bea9481264b02bd9f9e6ee7d12f4f</id>
64
+ <account_code>transaction-create-with-account-1300473500</account_code>
65
+ <action>authorization</action>
66
+ <date type="datetime">2011-03-18T18:56:18Z</date>
67
+ <amount_in_cents type="integer">100</amount_in_cents>
68
+ <status>void</status>
69
+ <message>Approved</message>
70
+ <reference>819793155761849484</reference>
71
+ <cvv_result code=""></cvv_result>
72
+ <avs_result code=""></avs_result>
73
+ <avs_result_street></avs_result_street>
74
+ <avs_result_postal></avs_result_postal>
75
+ <test type="boolean">false</test>
76
+ <voidable type="boolean">false</voidable>
77
+ <refundable type="boolean">false</refundable>
78
+ </transaction>
79
+ <transaction type="Payment">
80
+ <id>1bddde9d533642d8b22e67edf91e7628</id>
81
+ <account_code>transaction-create-with-accout-1300473500</account_code>
82
+ <action>purchase</action>
83
+ <date type="datetime">2011-03-18T18:56:04Z</date>
84
+ <amount_in_cents type="integer">700</amount_in_cents>
85
+ <status>success</status>
86
+ <message>Approved</message>
87
+ <reference>819793155761849369</reference>
88
+ <cvv_result code=""></cvv_result>
89
+ <avs_result code=""></avs_result>
90
+ <avs_result_street></avs_result_street>
91
+ <avs_result_postal></avs_result_postal>
92
+ <test type="boolean">false</test>
93
+ <voidable type="boolean">true</voidable>
94
+ <refundable type="boolean">true</refundable>
95
+ </transaction>
96
+ <transaction type="Payment">
97
+ <id>b65d876e79ed49978bab22e7f8f23c23</id>
98
+ <account_code>subscription-refund-none-1297746103</account_code>
99
+ <action>purchase</action>
100
+ <date type="datetime">2011-03-18T18:55:45Z</date>
101
+ <amount_in_cents type="integer">1000</amount_in_cents>
102
+ <status>success</status>
103
+ <message>Approved</message>
104
+ <reference>819793155761849054</reference>
105
+ <cvv_result code=""></cvv_result>
106
+ <avs_result code=""></avs_result>
107
+ <avs_result_street></avs_result_street>
108
+ <avs_result_postal></avs_result_postal>
109
+ <test type="boolean">false</test>
110
+ <voidable type="boolean">true</voidable>
111
+ <refundable type="boolean">true</refundable>
112
+ </transaction>
113
+ <transaction type="Payment">
114
+ <id>9fd1e47c39ed4bebb1c8d6cc87c90c86</id>
115
+ <account_code>subscription-refund-partial-1297746103</account_code>
116
+ <action>purchase</action>
117
+ <date type="datetime">2011-03-18T18:55:22Z</date>
118
+ <amount_in_cents type="integer">1000</amount_in_cents>
119
+ <status>success</status>
120
+ <message>Approved</message>
121
+ <reference>819793155761848817</reference>
122
+ <cvv_result code=""></cvv_result>
123
+ <avs_result code=""></avs_result>
124
+ <avs_result_street></avs_result_street>
125
+ <avs_result_postal></avs_result_postal>
126
+ <test type="boolean">false</test>
127
+ <voidable type="boolean">true</voidable>
128
+ <refundable type="boolean">true</refundable>
129
+ </transaction>
130
+ <transaction type="Payment">
131
+ <id>18cfda911ece4172829c3b67c7f0d127</id>
132
+ <account_code>subscription-refund-full-1297746103</account_code>
133
+ <action>purchase</action>
134
+ <date type="datetime">2011-03-18T18:54:57Z</date>
135
+ <amount_in_cents type="integer">1000</amount_in_cents>
136
+ <status>void</status>
137
+ <message>Approved</message>
138
+ <reference>819793155761848544</reference>
139
+ <cvv_result code=""></cvv_result>
140
+ <avs_result code=""></avs_result>
141
+ <avs_result_street></avs_result_street>
142
+ <avs_result_postal></avs_result_postal>
143
+ <test type="boolean">false</test>
144
+ <voidable type="boolean">false</voidable>
145
+ <refundable type="boolean">false</refundable>
146
+ </transaction>
147
+ <transaction type="Payment">
148
+ <id>aabcfce85d56403f87d50b786a5464fa</id>
149
+ <account_code>subscription-cancel-with-code-1297746103</account_code>
150
+ <action>purchase</action>
151
+ <date type="datetime">2011-03-18T18:54:33Z</date>
152
+ <amount_in_cents type="integer">1000</amount_in_cents>
153
+ <status>success</status>
154
+ <message>Approved</message>
155
+ <reference>819793155748497340</reference>
156
+ <cvv_result code=""></cvv_result>
157
+ <avs_result code=""></avs_result>
158
+ <avs_result_street></avs_result_street>
159
+ <avs_result_postal></avs_result_postal>
160
+ <test type="boolean">false</test>
161
+ <voidable type="boolean">true</voidable>
162
+ <refundable type="boolean">true</refundable>
163
+ </transaction>
164
+ <transaction type="Payment">
165
+ <id>1743d78210ca4a5e98a9a76622e11d73</id>
166
+ <account_code>subscription-cancel-1297746103</account_code>
167
+ <action>purchase</action>
168
+ <date type="datetime">2011-03-18T18:54:11Z</date>
169
+ <amount_in_cents type="integer">1000</amount_in_cents>
170
+ <status>success</status>
171
+ <message>Approved</message>
172
+ <reference>819793155748496979</reference>
173
+ <cvv_result code=""></cvv_result>
174
+ <avs_result code=""></avs_result>
175
+ <avs_result_street></avs_result_street>
176
+ <avs_result_postal></avs_result_postal>
177
+ <test type="boolean">false</test>
178
+ <voidable type="boolean">true</voidable>
179
+ <refundable type="boolean">true</refundable>
180
+ </transaction>
181
+ <transaction type="Payment">
182
+ <id>458f4c3abd994ca39456b70be7a090b9</id>
183
+ <account_code>subscription-reactivate-1297746103</account_code>
184
+ <action>purchase</action>
185
+ <date type="datetime">2011-03-18T18:53:46Z</date>
186
+ <amount_in_cents type="integer">1000</amount_in_cents>
187
+ <status>success</status>
188
+ <message>Approved</message>
189
+ <reference>819793155748496748</reference>
190
+ <cvv_result code=""></cvv_result>
191
+ <avs_result code=""></avs_result>
192
+ <avs_result_street></avs_result_street>
193
+ <avs_result_postal></avs_result_postal>
194
+ <test type="boolean">false</test>
195
+ <voidable type="boolean">true</voidable>
196
+ <refundable type="boolean">true</refundable>
197
+ </transaction>
198
+ <transaction type="Payment">
199
+ <id>f925e1ca439748ed9a33ad72dcdc2780</id>
200
+ <account_code>1297746103</account_code>
201
+ <action>purchase</action>
202
+ <date type="datetime">2011-03-18T18:53:22Z</date>
203
+ <amount_in_cents type="integer">1000</amount_in_cents>
204
+ <status>success</status>
205
+ <message>Approved</message>
206
+ <reference>819793155748496474</reference>
207
+ <cvv_result code=""></cvv_result>
208
+ <avs_result code=""></avs_result>
209
+ <avs_result_street></avs_result_street>
210
+ <avs_result_postal></avs_result_postal>
211
+ <test type="boolean">false</test>
212
+ <voidable type="boolean">true</voidable>
213
+ <refundable type="boolean">true</refundable>
214
+ </transaction>
215
+ <transaction type="Payment">
216
+ <id>23247895f00b49e79798179a727747fa</id>
217
+ <account_code>subscription-change1-1297746103</account_code>
218
+ <action>purchase</action>
219
+ <date type="datetime">2011-03-18T18:53:00Z</date>
220
+ <amount_in_cents type="integer">1000</amount_in_cents>
221
+ <status>success</status>
222
+ <message>Approved</message>
223
+ <reference>819793155748496425</reference>
224
+ <cvv_result code=""></cvv_result>
225
+ <avs_result code=""></avs_result>
226
+ <avs_result_street></avs_result_street>
227
+ <avs_result_postal></avs_result_postal>
228
+ <test type="boolean">false</test>
229
+ <voidable type="boolean">true</voidable>
230
+ <refundable type="boolean">true</refundable>
231
+ </transaction>
232
+ <transaction type="Payment">
233
+ <id>f513dfbb8dd043c1bb19d351fa39b4f3</id>
234
+ <account_code>subscription-create-1297746103</account_code>
235
+ <action>purchase</action>
236
+ <date type="datetime">2011-03-18T18:52:47Z</date>
237
+ <amount_in_cents type="integer">1000</amount_in_cents>
238
+ <status>success</status>
239
+ <message>Approved</message>
240
+ <reference>819793155748496284</reference>
241
+ <cvv_result code=""></cvv_result>
242
+ <avs_result code=""></avs_result>
243
+ <avs_result_street></avs_result_street>
244
+ <avs_result_postal></avs_result_postal>
245
+ <test type="boolean">false</test>
246
+ <voidable type="boolean">true</voidable>
247
+ <refundable type="boolean">true</refundable>
248
+ </transaction>
249
+ <transaction type="Payment">
250
+ <id>7dc9aa2064e44467a1bc23d09f494db2</id>
251
+ <account_code>subscription-find-1297746103</account_code>
252
+ <action>purchase</action>
253
+ <date type="datetime">2011-03-18T18:52:31Z</date>
254
+ <amount_in_cents type="integer">1000</amount_in_cents>
255
+ <status>success</status>
256
+ <message>Approved</message>
257
+ <reference>819793155748496102</reference>
258
+ <cvv_result code=""></cvv_result>
259
+ <avs_result code=""></avs_result>
260
+ <avs_result_street></avs_result_street>
261
+ <avs_result_postal></avs_result_postal>
262
+ <test type="boolean">false</test>
263
+ <voidable type="boolean">true</voidable>
264
+ <refundable type="boolean">true</refundable>
265
+ </transaction>
266
+ <transaction type="Payment">
267
+ <id>6822659ec508405a9db3401abc99da97</id>
268
+ <account_code>invoice-lookup-1297746103</account_code>
269
+ <action>authorization</action>
270
+ <date type="datetime">2011-03-18T18:51:54Z</date>
271
+ <amount_in_cents type="integer">100</amount_in_cents>
272
+ <status>void</status>
273
+ <message>Approved</message>
274
+ <reference>819793155748495435</reference>
275
+ <cvv_result code=""></cvv_result>
276
+ <avs_result code=""></avs_result>
277
+ <avs_result_street></avs_result_street>
278
+ <avs_result_postal></avs_result_postal>
279
+ <test type="boolean">false</test>
280
+ <voidable type="boolean">false</voidable>
281
+ <refundable type="boolean">false</refundable>
282
+ </transaction>
283
+ <transaction type="Payment">
284
+ <id>4d6e4dd4ca8b44a785d07b6d7188aaea</id>
285
+ <account_code>invoice-list-1297746103</account_code>
286
+ <action>authorization</action>
287
+ <date type="datetime">2011-03-18T18:51:33Z</date>
288
+ <amount_in_cents type="integer">100</amount_in_cents>
289
+ <status>void</status>
290
+ <message>Approved</message>
291
+ <reference>819793155732686577</reference>
292
+ <cvv_result code=""></cvv_result>
293
+ <avs_result code=""></avs_result>
294
+ <avs_result_street></avs_result_street>
295
+ <avs_result_postal></avs_result_postal>
296
+ <test type="boolean">false</test>
297
+ <voidable type="boolean">false</voidable>
298
+ <refundable type="boolean">false</refundable>
299
+ </transaction>
300
+ <transaction type="Payment">
301
+ <id>ee5d48010c544eb7ac3e5b2b2b6f50a0</id>
302
+ <account_code>invoice-create-no-charges-1297746103</account_code>
303
+ <action>authorization</action>
304
+ <date type="datetime">2011-03-18T18:51:20Z</date>
305
+ <amount_in_cents type="integer">100</amount_in_cents>
306
+ <status>void</status>
307
+ <message>Approved</message>
308
+ <reference>819793155732686437</reference>
309
+ <cvv_result code=""></cvv_result>
310
+ <avs_result code=""></avs_result>
311
+ <avs_result_street></avs_result_street>
312
+ <avs_result_postal></avs_result_postal>
313
+ <test type="boolean">false</test>
314
+ <voidable type="boolean">false</voidable>
315
+ <refundable type="boolean">false</refundable>
316
+ </transaction>
317
+ <transaction type="Payment">
318
+ <id>ff2700e55aab406db96bcaf604e7c02c</id>
319
+ <account_code>invoice-create-1297746103</account_code>
320
+ <action>authorization</action>
321
+ <date type="datetime">2011-03-18T18:51:02Z</date>
322
+ <amount_in_cents type="integer">100</amount_in_cents>
323
+ <status>void</status>
324
+ <message>Approved</message>
325
+ <reference>819793155732686312</reference>
326
+ <cvv_result code=""></cvv_result>
327
+ <avs_result code=""></avs_result>
328
+ <avs_result_street></avs_result_street>
329
+ <avs_result_postal></avs_result_postal>
330
+ <test type="boolean">false</test>
331
+ <voidable type="boolean">false</voidable>
332
+ <refundable type="boolean">false</refundable>
333
+ </transaction>
334
+ <transaction type="Payment">
335
+ <id>3768387bc4254398b881310641e73014</id>
336
+ <account_code>charge-create-1297746103</account_code>
337
+ <action>authorization</action>
338
+ <date type="datetime">2011-03-18T18:49:41Z</date>
339
+ <amount_in_cents type="integer">100</amount_in_cents>
340
+ <status>void</status>
341
+ <message>Approved</message>
342
+ <reference>819793155732685504</reference>
343
+ <cvv_result code=""></cvv_result>
344
+ <avs_result code=""></avs_result>
345
+ <avs_result_street></avs_result_street>
346
+ <avs_result_postal></avs_result_postal>
347
+ <test type="boolean">false</test>
348
+ <voidable type="boolean">false</voidable>
349
+ <refundable type="boolean">false</refundable>
350
+ </transaction>
351
+ <transaction type="Payment">
352
+ <id>b908597d08a6400c806c3c84a8fddb8a</id>
353
+ <account_code>billing-destroy-1298594128</account_code>
354
+ <action>authorization</action>
355
+ <date type="datetime">2011-03-18T18:48:50Z</date>
356
+ <amount_in_cents type="integer">100</amount_in_cents>
357
+ <status>void</status>
358
+ <message>Approved</message>
359
+ <reference>819793155732685058</reference>
360
+ <cvv_result code=""></cvv_result>
361
+ <avs_result code=""></avs_result>
362
+ <avs_result_street></avs_result_street>
363
+ <avs_result_postal></avs_result_postal>
364
+ <test type="boolean">false</test>
365
+ <voidable type="boolean">false</voidable>
366
+ <refundable type="boolean">false</refundable>
367
+ </transaction>
368
+ <transaction type="Payment">
369
+ <id>7d13035d93234ac7b6bdc2dba832e0ad</id>
370
+ <account_code>billing-find-1298594128</account_code>
371
+ <action>authorization</action>
372
+ <date type="datetime">2011-03-18T18:48:36Z</date>
373
+ <amount_in_cents type="integer">100</amount_in_cents>
374
+ <status>void</status>
375
+ <message>Approved</message>
376
+ <reference>819793155703359410</reference>
377
+ <cvv_result code=""></cvv_result>
378
+ <avs_result code=""></avs_result>
379
+ <avs_result_street></avs_result_street>
380
+ <avs_result_postal></avs_result_postal>
381
+ <test type="boolean">false</test>
382
+ <voidable type="boolean">false</voidable>
383
+ <refundable type="boolean">false</refundable>
384
+ </transaction>
385
+ </transactions>
386
+
387
+ http_version: "1.1"