recurly 0.3.3 → 0.3.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.

Files changed (99) hide show
  1. data/README.md +15 -11
  2. data/lib/patches/active_resource/connection.rb +10 -0
  3. data/lib/recurly.rb +35 -9
  4. data/lib/recurly/account.rb +22 -1
  5. data/lib/recurly/account_base.rb +35 -0
  6. data/lib/recurly/base.rb +26 -39
  7. data/lib/recurly/billing_info.rb +40 -1
  8. data/lib/recurly/charge.rb +12 -1
  9. data/lib/recurly/coupon.rb +8 -0
  10. data/lib/recurly/credit.rb +12 -1
  11. data/lib/recurly/exceptions.rb +19 -0
  12. data/lib/recurly/invoice.rb +1 -1
  13. data/lib/recurly/plan.rb +13 -1
  14. data/lib/recurly/rails3/recurly.rake +5 -3
  15. data/lib/recurly/subscription.rb +21 -3
  16. data/lib/recurly/transaction.rb +29 -1
  17. data/lib/recurly/transparent.rb +140 -0
  18. data/lib/recurly/version.rb +1 -1
  19. data/spec/config/recurly.yml +12 -0
  20. data/spec/config/test1.yml +3 -1
  21. data/spec/config/test2.yml +4 -2
  22. data/spec/integration/credit_spec.rb +6 -6
  23. data/spec/integration/plan_spec.rb +2 -2
  24. data/spec/support/factory.rb +5 -3
  25. data/spec/unit/account_spec.rb +19 -0
  26. data/spec/unit/billing_info_spec.rb +38 -0
  27. data/spec/unit/charge_spec.rb +18 -0
  28. data/spec/unit/config_spec.rb +10 -6
  29. data/spec/unit/coupon_spec.rb +13 -0
  30. data/spec/unit/credit_spec.rb +18 -0
  31. data/spec/unit/plan_spec.rb +18 -0
  32. data/spec/unit/subscription_spec.rb +25 -0
  33. data/spec/unit/transaction_spec.rb +32 -0
  34. data/spec/unit/transparent_spec.rb +114 -0
  35. data/spec/vcr/account/accept-language-account/{1296674173.yml → 1297746103.yml} +16 -13
  36. data/spec/vcr/account/close/{1296674173.yml → 1297746103.yml} +31 -28
  37. data/spec/vcr/account/create-blank/{1296674173.yml → 1297746103.yml} +9 -5
  38. data/spec/vcr/account/create-duplicate/{1296674173.yml → 1297746103.yml} +22 -15
  39. data/spec/vcr/account/create-min/{1296674173.yml → 1297746103.yml} +16 -13
  40. data/spec/vcr/account/create/{1296674173.yml → 1297746103.yml} +16 -13
  41. data/spec/vcr/account/find/{1296674173.yml → 1297746103.yml} +29 -26
  42. data/spec/vcr/account/list/1297746103.yml +1579 -0
  43. data/spec/vcr/account/update/{1296674173.yml → 1297746103.yml} +54 -47
  44. data/spec/vcr/billing/create/{1296690812.yml → 1298594128.yml} +37 -34
  45. data/spec/vcr/billing/destroy/{1296690812.yml → 1298594128.yml} +46 -43
  46. data/spec/vcr/billing/find/{1296690812.yml → 1298594128.yml} +47 -44
  47. data/spec/vcr/billing/update/{1296690812.yml → 1298594128.yml} +50 -47
  48. data/spec/vcr/charge/create/{1296674173.yml → 1297746103.yml} +48 -45
  49. data/spec/vcr/charge/delete-uninvoiced/{1296674173.yml → 1297746103.yml} +49 -46
  50. data/spec/vcr/charge/list-all/{1296674173.yml → 1297746103.yml} +61 -58
  51. data/spec/vcr/charge/list-invoiced/{1296674173.yml → 1297746103.yml} +92 -89
  52. data/spec/vcr/charge/list-pending/{1296674173.yml → 1297746103.yml} +61 -58
  53. data/spec/vcr/charge/lookup/{1296674173.yml → 1297746103.yml} +34 -31
  54. data/spec/vcr/coupon/create/{1296774903.yml → 1299714521.yml} +35 -32
  55. data/spec/vcr/coupon/destroy/{1296688818.yml → 1299714521.yml} +34 -31
  56. data/spec/vcr/{coupon/create/1296688818.yml → credit/create/1299714599.yml} +53 -53
  57. data/spec/vcr/credit/delete/1299714599.yml +262 -0
  58. data/spec/vcr/credit/list/1299714599.yml +319 -0
  59. data/spec/vcr/credit/lookup/1299714599.yml +183 -0
  60. data/spec/vcr/invoice/create-no-charges/{1296674173.yml → 1297746103.yml} +34 -31
  61. data/spec/vcr/invoice/create/{1296674173.yml → 1297746103.yml} +63 -60
  62. data/spec/vcr/invoice/list/{1296674173.yml → 1297746103.yml} +87 -84
  63. data/spec/vcr/invoice/lookup/{1296674173.yml → 1297746103.yml} +64 -61
  64. data/spec/vcr/plan/all.yml +30 -30
  65. data/spec/vcr/plan/find.yml +25 -25
  66. data/spec/vcr/plan/update.yml +16 -15
  67. data/spec/vcr/subscription/addons/add/{1296674173.yml → 1297746103.yml} +44 -40
  68. data/spec/vcr/subscription/addons/create/{1296674173.yml → 1297746103.yml} +44 -40
  69. data/spec/vcr/subscription/addons/remove/{1296674173.yml → 1297746103.yml} +44 -40
  70. data/spec/vcr/subscription/cancel-with-code/{1296674173.yml → 1297746103.yml} +99 -95
  71. data/spec/vcr/subscription/cancel/{1296674173.yml → 1297746103.yml} +86 -82
  72. data/spec/vcr/subscription/change1/{1296674173.yml → 1297746103.yml} +82 -78
  73. data/spec/vcr/subscription/change2/{1296674173.yml → 1297746103.yml} +82 -78
  74. data/spec/vcr/subscription/create/{1296674173.yml → 1297746103.yml} +49 -45
  75. data/spec/vcr/subscription/find/{1296674173.yml → 1297746103.yml} +60 -56
  76. data/spec/vcr/subscription/reactivate/{1296674173.yml → 1297746103.yml} +93 -89
  77. data/spec/vcr/subscription/refund-full/{1296674173.yml → 1297746103.yml} +77 -73
  78. data/spec/vcr/subscription/refund-none/{1296674173.yml → 1297746103.yml} +77 -73
  79. data/spec/vcr/subscription/refund-partial/{1296674173.yml → 1297746103.yml} +77 -73
  80. data/spec/vcr/transaction/all/{1296674173.yml → 1297746103.yml} +107 -107
  81. data/spec/vcr/transaction/create-no-account/{1296674173.yml → 1297746103.yml} +14 -13
  82. data/spec/vcr/transaction/create-with-account/{1296674173.yml → 1297746103.yml} +46 -58
  83. data/spec/vcr/transaction/list-filled/1297746103.yml +213 -0
  84. data/spec/vcr/transaction/list-initial/{1296674173.yml → 1297746103.yml} +38 -35
  85. data/spec/vcr/transaction/lookup/1297746103.yml +213 -0
  86. data/spec/vcr/transaction/refund/1297746103.yml +213 -0
  87. data/spec/vcr/transaction/void/1297746103.yml +213 -0
  88. metadata +146 -139
  89. data/spec/vcr/account/list/1296674173.yml +0 -55
  90. data/spec/vcr/coupon/destroy/1296774903.yml +0 -207
  91. data/spec/vcr/credit/create/1296674173.yml +0 -121
  92. data/spec/vcr/credit/delete/1296674173.yml +0 -121
  93. data/spec/vcr/credit/list/1296674173.yml +0 -121
  94. data/spec/vcr/credit/lookup/1296674173.yml +0 -121
  95. data/spec/vcr/plan/delete/1296674173.yml +0 -225
  96. data/spec/vcr/transaction/list-filled/1296674173.yml +0 -487
  97. data/spec/vcr/transaction/lookup/1296674173.yml +0 -563
  98. data/spec/vcr/transaction/refund/1296674173.yml +0 -287
  99. data/spec/vcr/transaction/void/1296674173.yml +0 -352
@@ -2,21 +2,25 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
5
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>subscription-refund-partial-1296674173</account-code>
9
+ <account-code>subscription-refund-partial-1297746103</account-code>
10
10
  <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <company-name>Recurly Ruby Gem</company-name>
14
+ <billing-info>
15
+ <credit-card>
16
+ </credit-card>
17
+ </billing-info>
14
18
  <accept-language type="yaml" nil="true"></accept-language>
15
19
  </account>
16
20
 
17
21
  headers:
18
22
  authorization:
19
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
23
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
20
24
  content-type:
21
25
  - application/xml
22
26
  accept:
@@ -33,9 +37,9 @@
33
37
  cache-control:
34
38
  - no-cache
35
39
  location:
36
- - http://litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173
40
+ - http://app.recurly.local:3000/accounts/subscription-refund-partial-1297746103
37
41
  x-runtime:
38
- - "722"
42
+ - "680"
39
43
  content-type:
40
44
  - application/xml; charset=utf-8
41
45
  content-length:
@@ -43,18 +47,17 @@
43
47
  server:
44
48
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
45
49
  date:
46
- - Thu, 03 Feb 2011 22:23:42 GMT
50
+ - Fri, 11 Mar 2011 18:54:49 GMT
47
51
  connection:
48
52
  - close
49
53
  set-cookie:
50
- - account_credentials=a4c8d20c94e6b3323d3893adcd709f81490973c8091dd85dd546d45627f65dfa6869778620a660def3a339ce74a5e934140ce802bdae0aad38557fba9d766aeb%3A%3A; domain=.recurly.local; path=/
51
- - ""
52
- - _recurly_session=2990dfba578fc53a236d458a969ef1fd; domain=.recurly.local; path=/; HttpOnly
54
+ - account_credentials=d6bd5043fa0338172a2a20ca2914e13070a6998481696503108497fad238b4d51ee8ed9feb2411bd21a324a6d642f965d195cacb490216d3db583352e044261b%3A%3A; domain=.recurly.local; path=/
55
+ - _recurly_session=9a39f0b86bd1f75a1e3a885fd0cff16c; domain=.recurly.local; path=/; HttpOnly
53
56
  body: |
54
57
  <?xml version="1.0" encoding="UTF-8"?>
55
58
  <account>
56
- <id>subscription-refund-partial-1296674173</id>
57
- <account_code>subscription-refund-partial-1296674173</account_code>
59
+ <id>subscription-refund-partial-1297746103</id>
60
+ <account_code>subscription-refund-partial-1297746103</account_code>
58
61
  <username></username>
59
62
  <email>verena@test.com</email>
60
63
  <first_name>Verena</first_name>
@@ -62,8 +65,8 @@
62
65
  <company_name>Recurly Ruby Gem</company_name>
63
66
  <balance_in_cents type="integer">0</balance_in_cents>
64
67
  <closed type="boolean">false</closed>
65
- <hosted_login_token>e474951ef42a4baeaa09ce46dcf76794</hosted_login_token>
66
- <created_at type="datetime">2011-02-03T22:23:42Z</created_at>
68
+ <hosted_login_token>cc5ed56c1f654b2990570643ee887e1d</hosted_login_token>
69
+ <created_at type="datetime">2011-03-11T18:54:48Z</created_at>
67
70
  <state>active</state>
68
71
  </account>
69
72
 
@@ -71,11 +74,11 @@
71
74
  - !ruby/struct:VCR::HTTPInteraction
72
75
  request: !ruby/struct:VCR::Request
73
76
  method: :get
74
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/company/plans/paid.xml
77
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/company/plans/paid.xml
75
78
  body:
76
79
  headers:
77
80
  authorization:
78
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
81
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
79
82
  accept:
80
83
  - application/xml
81
84
  accept-encoding:
@@ -90,23 +93,23 @@
90
93
  message: "OK "
91
94
  headers:
92
95
  x-runtime:
93
- - "225"
96
+ - "242"
94
97
  content-type:
95
98
  - application/xml; charset=utf-8
96
99
  etag:
97
- - "\"70b5c605373b1a4346a2d7ed46048dc4\""
100
+ - "\"dc04fba13f15d49d04ca6692abb21ff9\""
98
101
  cache-control:
99
102
  - private, max-age=0, must-revalidate
100
103
  content-length:
101
- - "1150"
104
+ - "1146"
102
105
  server:
103
106
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
104
107
  date:
105
- - Thu, 03 Feb 2011 22:23:44 GMT
108
+ - Fri, 11 Mar 2011 18:54:51 GMT
106
109
  connection:
107
110
  - close
108
111
  set-cookie:
109
- - _recurly_session=c0ee6195f826aae286057a5389a107f1; domain=.recurly.local; path=/; HttpOnly
112
+ - _recurly_session=dcd225ea689a391df2faa960eab224fa; domain=.recurly.local; path=/; HttpOnly
110
113
  body: |
111
114
  <?xml version="1.0" encoding="UTF-8"?>
112
115
  <plan>
@@ -119,7 +122,7 @@
119
122
  <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
120
123
  <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
121
124
  <plan_interval_length type="integer">1</plan_interval_length>
122
- <plan_interval_unit>months</plan_interval_unit>
125
+ <plan_interval_unit>days</plan_interval_unit>
123
126
  <trial_interval_length type="integer">0</trial_interval_length>
124
127
  <trial_interval_unit>months</trial_interval_unit>
125
128
  <latest_version depreciated="true">
@@ -127,10 +130,10 @@
127
130
  <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
128
131
  <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
129
132
  <plan_interval_length type="integer">1</plan_interval_length>
130
- <plan_interval_unit>months</plan_interval_unit>
133
+ <plan_interval_unit>days</plan_interval_unit>
131
134
  <trial_interval_length type="integer">0</trial_interval_length>
132
135
  <trial_interval_unit>months</trial_interval_unit>
133
- <created_at type="datetime">2011-02-02T21:02:59Z</created_at>
136
+ <created_at type="datetime">2011-02-21T01:06:56Z</created_at>
134
137
  </latest_version>
135
138
  </plan>
136
139
 
@@ -138,27 +141,21 @@
138
141
  - !ruby/struct:VCR::HTTPInteraction
139
142
  request: !ruby/struct:VCR::Request
140
143
  method: :post
141
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml
144
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/subscription-refund-partial-1297746103/subscription.xml
142
145
  body: |
143
146
  <?xml version="1.0" encoding="UTF-8"?>
144
147
  <subscription>
145
148
  <plan-code>paid</plan-code>
146
149
  <quantity type="integer">1</quantity>
147
150
  <account>
148
- <account-code>subscription-refund-partial-1296674173</account-code>
151
+ <account-code>subscription-refund-partial-1297746103</account-code>
149
152
  <first-name>Verena</first-name>
150
153
  <last-name>Test</last-name>
151
154
  <email>verena@test.com</email>
152
155
  <company-name>Recurly Ruby Gem</company-name>
153
- <accept-language type="yaml" nil="true"></accept-language>
154
- <id>subscription-refund-partial-1296674173</id>
155
- <username type="yaml" nil="true"></username>
156
- <balance-in-cents type="integer">0</balance-in-cents>
157
- <closed type="boolean">false</closed>
158
- <hosted-login-token>e474951ef42a4baeaa09ce46dcf76794</hosted-login-token>
159
- <created-at type="datetime">2011-02-03T22:23:42Z</created-at>
160
- <state>active</state>
161
156
  <billing-info>
157
+ <first-name>Verena</first-name>
158
+ <last-name>Test</last-name>
162
159
  <address1>123 Test St</address1>
163
160
  <city>San Francisco</city>
164
161
  <state>CA</state>
@@ -167,18 +164,25 @@
167
164
  <credit-card>
168
165
  <number>4111111111111111</number>
169
166
  <year type="integer">2012</year>
170
- <month type="integer">2</month>
167
+ <month type="integer">3</month>
171
168
  <verification-value>123</verification-value>
172
169
  </credit-card>
173
- <first-name>Verena</first-name>
174
- <last-name>Test</last-name>
175
170
  </billing-info>
171
+ <accept-language type="yaml" nil="true"></accept-language>
172
+ <id>subscription-refund-partial-1297746103</id>
173
+ <username type="yaml" nil="true"></username>
174
+ <balance-in-cents type="integer">0</balance-in-cents>
175
+ <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>
178
+ <state>active</state>
176
179
  </account>
180
+ <addons type="array"/>
177
181
  </subscription>
178
182
 
179
183
  headers:
180
184
  authorization:
181
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
185
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
182
186
  content-type:
183
187
  - application/xml
184
188
  accept:
@@ -195,7 +199,7 @@
195
199
  cache-control:
196
200
  - no-cache
197
201
  x-runtime:
198
- - "4479"
202
+ - "5458"
199
203
  content-type:
200
204
  - application/xml; charset=utf-8
201
205
  content-length:
@@ -203,16 +207,16 @@
203
207
  server:
204
208
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
205
209
  date:
206
- - Thu, 03 Feb 2011 22:23:50 GMT
210
+ - Fri, 11 Mar 2011 18:54:59 GMT
207
211
  connection:
208
212
  - close
209
213
  set-cookie:
210
- - _recurly_session=b3031035294221f7a31ab43461f3afac; domain=.recurly.local; path=/; HttpOnly
214
+ - _recurly_session=166b1046777aaf15c596524961445092; domain=.recurly.local; path=/; HttpOnly
211
215
  body: |
212
216
  <?xml version="1.0" encoding="UTF-8"?>
213
217
  <subscription>
214
- <id>subscription-refund-partial-1296674173</id>
215
- <account_code>subscription-refund-partial-1296674173</account_code>
218
+ <id>subscription-refund-partial-1297746103</id>
219
+ <account_code>subscription-refund-partial-1297746103</account_code>
216
220
  <plan>
217
221
  <plan_code>paid</plan_code>
218
222
  <name>Paid</name>
@@ -220,11 +224,11 @@
220
224
  <state>active</state>
221
225
  <quantity type="integer">1</quantity>
222
226
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
223
- <activated_at type="datetime">2011-02-03T22:23:46Z</activated_at>
227
+ <activated_at type="datetime">2011-03-11T18:54:54Z</activated_at>
224
228
  <canceled_at nil="true" type="datetime"></canceled_at>
225
229
  <expires_at nil="true" type="datetime"></expires_at>
226
- <current_period_started_at type="datetime">2011-02-03T22:23:46Z</current_period_started_at>
227
- <current_period_ends_at type="datetime">2011-03-03T22:23:46Z</current_period_ends_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>
228
232
  <trial_started_at nil="true" type="datetime"></trial_started_at>
229
233
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
230
234
  <add_ons type="array">
@@ -235,11 +239,11 @@
235
239
  - !ruby/struct:VCR::HTTPInteraction
236
240
  request: !ruby/struct:VCR::Request
237
241
  method: :get
238
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml
242
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/subscription-refund-partial-1297746103/subscription.xml
239
243
  body:
240
244
  headers:
241
245
  authorization:
242
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
246
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
243
247
  accept:
244
248
  - application/xml
245
249
  accept-encoding:
@@ -254,11 +258,11 @@
254
258
  message: "OK "
255
259
  headers:
256
260
  x-runtime:
257
- - "278"
261
+ - "301"
258
262
  content-type:
259
263
  - application/xml; charset=utf-8
260
264
  etag:
261
- - "\"383358e745b9058920326a626d6b4c53\""
265
+ - "\"db897e7a2269364c6a2866b69dcc8c9b\""
262
266
  cache-control:
263
267
  - private, max-age=0, must-revalidate
264
268
  content-length:
@@ -266,16 +270,16 @@
266
270
  server:
267
271
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
268
272
  date:
269
- - Thu, 03 Feb 2011 22:23:53 GMT
273
+ - Fri, 11 Mar 2011 18:55:01 GMT
270
274
  connection:
271
275
  - close
272
276
  set-cookie:
273
- - _recurly_session=04a87ad86668915c3621993e6d5fb220; domain=.recurly.local; path=/; HttpOnly
277
+ - _recurly_session=d220ec187a9e28794aa6c1caa7852ea4; domain=.recurly.local; path=/; HttpOnly
274
278
  body: |
275
279
  <?xml version="1.0" encoding="UTF-8"?>
276
280
  <subscription>
277
- <id>subscription-refund-partial-1296674173</id>
278
- <account_code>subscription-refund-partial-1296674173</account_code>
281
+ <id>subscription-refund-partial-1297746103</id>
282
+ <account_code>subscription-refund-partial-1297746103</account_code>
279
283
  <plan>
280
284
  <plan_code>paid</plan_code>
281
285
  <name>Paid</name>
@@ -283,11 +287,11 @@
283
287
  <state>active</state>
284
288
  <quantity type="integer">1</quantity>
285
289
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
286
- <activated_at type="datetime">2011-02-03T22:23:46Z</activated_at>
290
+ <activated_at type="datetime">2011-03-11T18:54:54Z</activated_at>
287
291
  <canceled_at nil="true" type="datetime"></canceled_at>
288
292
  <expires_at nil="true" type="datetime"></expires_at>
289
- <current_period_started_at type="datetime">2011-02-03T22:23:46Z</current_period_started_at>
290
- <current_period_ends_at type="datetime">2011-03-03T22:23:46Z</current_period_ends_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>
291
295
  <trial_started_at nil="true" type="datetime"></trial_started_at>
292
296
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
293
297
  <add_ons type="array">
@@ -298,11 +302,11 @@
298
302
  - !ruby/struct:VCR::HTTPInteraction
299
303
  request: !ruby/struct:VCR::Request
300
304
  method: :delete
301
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml?refund=partial
305
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/subscription-refund-partial-1297746103/subscription.xml?refund=partial
302
306
  body:
303
307
  headers:
304
308
  authorization:
305
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
309
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
306
310
  accept:
307
311
  - application/xml
308
312
  user-agent:
@@ -315,11 +319,11 @@
315
319
  message: "OK "
316
320
  headers:
317
321
  x-runtime:
318
- - "3178"
322
+ - "2782"
319
323
  content-type:
320
324
  - application/xml; charset=utf-8
321
325
  etag:
322
- - "\"196ba47d8b5ea7901c129348364bf35f\""
326
+ - "\"07cb5e5055506fe581f71dca624b9414\""
323
327
  cache-control:
324
328
  - private, max-age=0, must-revalidate
325
329
  content-length:
@@ -327,16 +331,16 @@
327
331
  server:
328
332
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
329
333
  date:
330
- - Thu, 03 Feb 2011 22:23:58 GMT
334
+ - Fri, 11 Mar 2011 18:55:06 GMT
331
335
  connection:
332
336
  - close
333
337
  set-cookie:
334
- - _recurly_session=4e2f16ef15e54337f51eecee2d8fe9d5; domain=.recurly.local; path=/; HttpOnly
338
+ - _recurly_session=d775dc49bb373875ef0ba9aa6dc39d8b; domain=.recurly.local; path=/; HttpOnly
335
339
  body: |
336
340
  <?xml version="1.0" encoding="UTF-8"?>
337
341
  <subscription>
338
- <id>subscription-refund-partial-1296674173</id>
339
- <account_code>subscription-refund-partial-1296674173</account_code>
342
+ <id>subscription-refund-partial-1297746103</id>
343
+ <account_code>subscription-refund-partial-1297746103</account_code>
340
344
  <plan>
341
345
  <plan_code>paid</plan_code>
342
346
  <name>Paid</name>
@@ -344,11 +348,11 @@
344
348
  <state>expired</state>
345
349
  <quantity type="integer">1</quantity>
346
350
  <total_amount_in_cents type="integer">1000</total_amount_in_cents>
347
- <activated_at type="datetime">2011-02-03T22:23:46Z</activated_at>
348
- <canceled_at type="datetime">2011-02-03T22:23:56Z</canceled_at>
349
- <expires_at type="datetime">2011-03-03T22:23:46Z</expires_at>
350
- <current_period_started_at type="datetime">2011-02-03T22:23:46Z</current_period_started_at>
351
- <current_period_ends_at type="datetime">2011-03-03T22:23:46Z</current_period_ends_at>
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>
352
356
  <trial_started_at nil="true" type="datetime"></trial_started_at>
353
357
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
354
358
  <add_ons type="array">
@@ -359,11 +363,11 @@
359
363
  - !ruby/struct:VCR::HTTPInteraction
360
364
  request: !ruby/struct:VCR::Request
361
365
  method: :get
362
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml
366
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/subscription-refund-partial-1297746103/subscription.xml
363
367
  body:
364
368
  headers:
365
369
  authorization:
366
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
370
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
367
371
  accept:
368
372
  - application/xml
369
373
  accept-encoding:
@@ -386,11 +390,11 @@
386
390
  server:
387
391
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
388
392
  date:
389
- - Thu, 03 Feb 2011 22:24:00 GMT
393
+ - Fri, 11 Mar 2011 18:55:09 GMT
390
394
  connection:
391
395
  - close
392
396
  set-cookie:
393
- - _recurly_session=1fdc608cd947d3a820bd721a9ae6ce10; domain=.recurly.local; path=/; HttpOnly
397
+ - _recurly_session=47159e1d01255c2f5ce504c68211913b; domain=.recurly.local; path=/; HttpOnly
394
398
  body: |
395
399
  <?xml version="1.0" encoding="UTF-8"?>
396
400
  <errors>
@@ -2,11 +2,11 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :get
5
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
5
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
6
6
  body:
7
7
  headers:
8
8
  authorization:
9
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
9
+ - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
10
10
  accept:
11
11
  - application/xml
12
12
  accept-encoding:
@@ -21,35 +21,35 @@
21
21
  message: "OK "
22
22
  headers:
23
23
  x-runtime:
24
- - "1485"
24
+ - "645"
25
25
  content-type:
26
26
  - application/xml; charset=utf-8
27
27
  etag:
28
- - "\"a6ec4006524f4c9cb8156687a3844f74\""
28
+ - "\"e842e1c211c69e1efa654851c4be1358\""
29
29
  cache-control:
30
30
  - private, max-age=0, must-revalidate
31
31
  content-length:
32
- - "15540"
32
+ - "15634"
33
33
  server:
34
34
  - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
35
35
  date:
36
- - Thu, 03 Feb 2011 22:24:43 GMT
36
+ - Fri, 11 Mar 2011 18:55:59 GMT
37
37
  connection:
38
38
  - close
39
39
  set-cookie:
40
- - _recurly_session=7604ba3a0b22b6cf4187340d49300e1e; domain=.recurly.local; path=/; HttpOnly
40
+ - _recurly_session=0fb4523751734edb62f200e8e9b896b0; domain=.recurly.local; path=/; HttpOnly
41
41
  body: |
42
42
  <?xml version="1.0" encoding="UTF-8"?>
43
43
  <transactions type="collection">
44
44
  <current_page type="integer">1</current_page>
45
45
  <per_page type="integer">20</per_page>
46
- <total_entries type="integer">25</total_entries>
46
+ <total_entries type="integer">26</total_entries>
47
47
  <transaction type="Payment">
48
- <id>7a53ae4b1d7d4f768010ca03f8a91210</id>
49
- <account_code>transaction-create-with-account-1296674173</account_code>
50
- <action>purchase</action>
51
- <date type="datetime">2011-02-03T22:24:37Z</date>
52
- <amount_in_cents type="integer">700</amount_in_cents>
48
+ <id>3383fffa3851419e8dd24ff5826f3b3c</id>
49
+ <account_code>transaction-create-with-account-1297746103</account_code>
50
+ <action>authorization</action>
51
+ <date type="datetime">2011-03-11T18:55:52Z</date>
52
+ <amount_in_cents type="integer">0</amount_in_cents>
53
53
  <status>success</status>
54
54
  <message>Test Gateway: Successful test transaction</message>
55
55
  <reference>12345</reference>
@@ -58,15 +58,15 @@
58
58
  <avs_result_street>Y</avs_result_street>
59
59
  <avs_result_postal>Y</avs_result_postal>
60
60
  <test type="boolean">true</test>
61
- <voidable type="boolean">true</voidable>
61
+ <voidable type="boolean">false</voidable>
62
62
  <refundable type="boolean">true</refundable>
63
63
  </transaction>
64
64
  <transaction type="Payment">
65
- <id>3aa9126e7c19407e8ebc395b8bcf2238</id>
66
- <account_code>transaction-create-with-account-1296674173</account_code>
67
- <action>authorization</action>
68
- <date type="datetime">2011-02-03T22:24:33Z</date>
69
- <amount_in_cents type="integer">0</amount_in_cents>
65
+ <id>28ae1109246b436d9430c5361a53f8d6</id>
66
+ <account_code>transaction-create-with-accout-1297746103</account_code>
67
+ <action>purchase</action>
68
+ <date type="datetime">2011-03-11T18:55:39Z</date>
69
+ <amount_in_cents type="integer">700</amount_in_cents>
70
70
  <status>success</status>
71
71
  <message>Test Gateway: Successful test transaction</message>
72
72
  <reference>12345</reference>
@@ -75,15 +75,15 @@
75
75
  <avs_result_street>Y</avs_result_street>
76
76
  <avs_result_postal>Y</avs_result_postal>
77
77
  <test type="boolean">true</test>
78
- <voidable type="boolean">false</voidable>
78
+ <voidable type="boolean">true</voidable>
79
79
  <refundable type="boolean">true</refundable>
80
80
  </transaction>
81
81
  <transaction type="Payment">
82
- <id>bada094d35ec4ca8822320bb8062a8c9</id>
83
- <account_code>transaction-create-with-accout-1296674173</account_code>
82
+ <id>c94c22af86e447a780e1d3096d084e35</id>
83
+ <account_code>subscription-refund-none-1297746103</account_code>
84
84
  <action>purchase</action>
85
- <date type="datetime">2011-02-03T22:24:24Z</date>
86
- <amount_in_cents type="integer">700</amount_in_cents>
85
+ <date type="datetime">2011-03-11T18:55:19Z</date>
86
+ <amount_in_cents type="integer">1000</amount_in_cents>
87
87
  <status>success</status>
88
88
  <message>Test Gateway: Successful test transaction</message>
89
89
  <reference>12345</reference>
@@ -96,10 +96,10 @@
96
96
  <refundable type="boolean">true</refundable>
97
97
  </transaction>
98
98
  <transaction type="Payment">
99
- <id>ded3e61eab3944119e3406eb2f1ce71d</id>
100
- <account_code>subscription-refund-none-1296674173</account_code>
99
+ <id>06e79dc84a444ba0a217b6983d23dbbf</id>
100
+ <account_code>subscription-refund-partial-1297746103</account_code>
101
101
  <action>purchase</action>
102
- <date type="datetime">2011-02-03T22:24:09Z</date>
102
+ <date type="datetime">2011-03-11T18:54:55Z</date>
103
103
  <amount_in_cents type="integer">1000</amount_in_cents>
104
104
  <status>success</status>
105
105
  <message>Test Gateway: Successful test transaction</message>
@@ -112,30 +112,13 @@
112
112
  <voidable type="boolean">true</voidable>
113
113
  <refundable type="boolean">true</refundable>
114
114
  </transaction>
115
- <transaction type="Refund">
116
- <id>c3fe3fec44204dd79bb87f42d4bc8663</id>
117
- <account_code>subscription-refund-partial-1296674173</account_code>
118
- <action>credit</action>
119
- <date type="datetime">2011-02-03T22:23:56Z</date>
120
- <amount_in_cents type="integer">1000</amount_in_cents>
121
- <status>success</status>
122
- <message>Bogus Gateway: Forced success</message>
123
- <reference></reference>
124
- <cvv_result code=""></cvv_result>
125
- <avs_result code=""></avs_result>
126
- <avs_result_street></avs_result_street>
127
- <avs_result_postal></avs_result_postal>
128
- <test type="boolean">true</test>
129
- <voidable type="boolean">true</voidable>
130
- <refundable type="boolean">false</refundable>
131
- </transaction>
132
115
  <transaction type="Payment">
133
- <id>b6b0346b3dcc4887b5832c5ac249285a</id>
134
- <account_code>subscription-refund-partial-1296674173</account_code>
116
+ <id>5df4b1feebe744f4bf11e536d2987cfb</id>
117
+ <account_code>subscription-refund-full-1297746103</account_code>
135
118
  <action>purchase</action>
136
- <date type="datetime">2011-02-03T22:23:47Z</date>
119
+ <date type="datetime">2011-03-11T18:54:33Z</date>
137
120
  <amount_in_cents type="integer">1000</amount_in_cents>
138
- <status>success</status>
121
+ <status>void</status>
139
122
  <message>Test Gateway: Successful test transaction</message>
140
123
  <reference>12345</reference>
141
124
  <cvv_result code="M">Match</cvv_result>
@@ -146,28 +129,28 @@
146
129
  <voidable type="boolean">false</voidable>
147
130
  <refundable type="boolean">false</refundable>
148
131
  </transaction>
149
- <transaction type="Refund">
150
- <id>89986e7666b24c16b4d9f2490b9c59cb</id>
151
- <account_code>subscription-refund-full-1296674173</account_code>
152
- <action>credit</action>
153
- <date type="datetime">2011-02-03T22:23:35Z</date>
132
+ <transaction type="Payment">
133
+ <id>fd7b49f35dc247aeb90ca08155c86a41</id>
134
+ <account_code>subscription-cancel-with-code-1297746103</account_code>
135
+ <action>purchase</action>
136
+ <date type="datetime">2011-03-11T18:54:06Z</date>
154
137
  <amount_in_cents type="integer">1000</amount_in_cents>
155
138
  <status>success</status>
156
- <message>Bogus Gateway: Forced success</message>
157
- <reference></reference>
158
- <cvv_result code=""></cvv_result>
159
- <avs_result code=""></avs_result>
160
- <avs_result_street></avs_result_street>
161
- <avs_result_postal></avs_result_postal>
139
+ <message>Test Gateway: Successful test transaction</message>
140
+ <reference>12345</reference>
141
+ <cvv_result code="M">Match</cvv_result>
142
+ <avs_result code="D">Street address and postal code match.</avs_result>
143
+ <avs_result_street>Y</avs_result_street>
144
+ <avs_result_postal>Y</avs_result_postal>
162
145
  <test type="boolean">true</test>
163
146
  <voidable type="boolean">true</voidable>
164
- <refundable type="boolean">false</refundable>
147
+ <refundable type="boolean">true</refundable>
165
148
  </transaction>
166
149
  <transaction type="Payment">
167
- <id>8ed312129a6b4a2da9e4ac4c4f8f15aa</id>
168
- <account_code>subscription-refund-full-1296674173</account_code>
150
+ <id>30568cfb42ba4fbc844523c2ab266cf9</id>
151
+ <account_code>subscription-cancel-1297746103</account_code>
169
152
  <action>purchase</action>
170
- <date type="datetime">2011-02-03T22:23:27Z</date>
153
+ <date type="datetime">2011-03-11T18:53:43Z</date>
171
154
  <amount_in_cents type="integer">1000</amount_in_cents>
172
155
  <status>success</status>
173
156
  <message>Test Gateway: Successful test transaction</message>
@@ -177,14 +160,14 @@
177
160
  <avs_result_street>Y</avs_result_street>
178
161
  <avs_result_postal>Y</avs_result_postal>
179
162
  <test type="boolean">true</test>
180
- <voidable type="boolean">false</voidable>
181
- <refundable type="boolean">false</refundable>
163
+ <voidable type="boolean">true</voidable>
164
+ <refundable type="boolean">true</refundable>
182
165
  </transaction>
183
166
  <transaction type="Payment">
184
- <id>fef11da45dd64f47bcfda882b0646324</id>
185
- <account_code>subscription-cancel-with-code-1296674173</account_code>
167
+ <id>28e02cdb8df846fb9cb6d0da099b4e78</id>
168
+ <account_code>subscription-reactivate-1297746103</account_code>
186
169
  <action>purchase</action>
187
- <date type="datetime">2011-02-03T22:23:05Z</date>
170
+ <date type="datetime">2011-03-11T18:53:16Z</date>
188
171
  <amount_in_cents type="integer">1000</amount_in_cents>
189
172
  <status>success</status>
190
173
  <message>Test Gateway: Successful test transaction</message>
@@ -198,10 +181,10 @@
198
181
  <refundable type="boolean">true</refundable>
199
182
  </transaction>
200
183
  <transaction type="Payment">
201
- <id>7fb00ca83fe44839977a8ce9c99349d9</id>
202
- <account_code>subscription-cancel-1296674173</account_code>
184
+ <id>5e9e503a5789412ba185c37b2377064f</id>
185
+ <account_code>1297746103</account_code>
203
186
  <action>purchase</action>
204
- <date type="datetime">2011-02-03T22:22:45Z</date>
187
+ <date type="datetime">2011-03-11T18:52:49Z</date>
205
188
  <amount_in_cents type="integer">1000</amount_in_cents>
206
189
  <status>success</status>
207
190
  <message>Test Gateway: Successful test transaction</message>
@@ -215,10 +198,10 @@
215
198
  <refundable type="boolean">true</refundable>
216
199
  </transaction>
217
200
  <transaction type="Payment">
218
- <id>c86caacefde449d48e4cf21988014b36</id>
219
- <account_code>subscription-reactivate-1296674173</account_code>
201
+ <id>dbaaaa008ea2410a8a17dbd090e8c5f1</id>
202
+ <account_code>subscription-change1-1297746103</account_code>
220
203
  <action>purchase</action>
221
- <date type="datetime">2011-02-03T22:22:21Z</date>
204
+ <date type="datetime">2011-03-11T18:52:24Z</date>
222
205
  <amount_in_cents type="integer">1000</amount_in_cents>
223
206
  <status>success</status>
224
207
  <message>Test Gateway: Successful test transaction</message>
@@ -232,10 +215,10 @@
232
215
  <refundable type="boolean">true</refundable>
233
216
  </transaction>
234
217
  <transaction type="Payment">
235
- <id>c4c6b6098c09497e93353e4d6153337c</id>
236
- <account_code>1296674173</account_code>
218
+ <id>399a11ee1aba4a399cb4dafa57f31372</id>
219
+ <account_code>subscription-create-1297746103</account_code>
237
220
  <action>purchase</action>
238
- <date type="datetime">2011-02-03T22:22:00Z</date>
221
+ <date type="datetime">2011-03-11T18:52:11Z</date>
239
222
  <amount_in_cents type="integer">1000</amount_in_cents>
240
223
  <status>success</status>
241
224
  <message>Test Gateway: Successful test transaction</message>
@@ -249,10 +232,10 @@
249
232
  <refundable type="boolean">true</refundable>
250
233
  </transaction>
251
234
  <transaction type="Payment">
252
- <id>22ca8401b34e4429bbbb7d39ce2967c5</id>
253
- <account_code>subscription-change1-1296674173</account_code>
235
+ <id>592e9629e16b4a3b99243d0d9d9b9a88</id>
236
+ <account_code>subscription-find-1297746103</account_code>
254
237
  <action>purchase</action>
255
- <date type="datetime">2011-02-03T22:21:38Z</date>
238
+ <date type="datetime">2011-03-11T18:51:56Z</date>
256
239
  <amount_in_cents type="integer">1000</amount_in_cents>
257
240
  <status>success</status>
258
241
  <message>Test Gateway: Successful test transaction</message>
@@ -266,11 +249,11 @@
266
249
  <refundable type="boolean">true</refundable>
267
250
  </transaction>
268
251
  <transaction type="Payment">
269
- <id>28ebb171073c4fdd98440835ae378666</id>
270
- <account_code>subscription-create-1296674173</account_code>
271
- <action>purchase</action>
272
- <date type="datetime">2011-02-03T22:21:27Z</date>
273
- <amount_in_cents type="integer">1000</amount_in_cents>
252
+ <id>bfc89c312e4b49748a059c3bcf6d8f30</id>
253
+ <account_code>invoice-lookup-1297746103</account_code>
254
+ <action>authorization</action>
255
+ <date type="datetime">2011-03-11T18:51:19Z</date>
256
+ <amount_in_cents type="integer">0</amount_in_cents>
274
257
  <status>success</status>
275
258
  <message>Test Gateway: Successful test transaction</message>
276
259
  <reference>12345</reference>
@@ -279,15 +262,15 @@
279
262
  <avs_result_street>Y</avs_result_street>
280
263
  <avs_result_postal>Y</avs_result_postal>
281
264
  <test type="boolean">true</test>
282
- <voidable type="boolean">true</voidable>
265
+ <voidable type="boolean">false</voidable>
283
266
  <refundable type="boolean">true</refundable>
284
267
  </transaction>
285
268
  <transaction type="Payment">
286
- <id>13b6bd7ef15a4780a13387074635c86c</id>
287
- <account_code>subscription-find-1296674173</account_code>
288
- <action>purchase</action>
289
- <date type="datetime">2011-02-03T22:21:15Z</date>
290
- <amount_in_cents type="integer">1000</amount_in_cents>
269
+ <id>d7569cd179b34ec5a76312c0799b3f89</id>
270
+ <account_code>invoice-list-1297746103</account_code>
271
+ <action>authorization</action>
272
+ <date type="datetime">2011-03-11T18:51:00Z</date>
273
+ <amount_in_cents type="integer">0</amount_in_cents>
291
274
  <status>success</status>
292
275
  <message>Test Gateway: Successful test transaction</message>
293
276
  <reference>12345</reference>
@@ -296,14 +279,31 @@
296
279
  <avs_result_street>Y</avs_result_street>
297
280
  <avs_result_postal>Y</avs_result_postal>
298
281
  <test type="boolean">true</test>
299
- <voidable type="boolean">true</voidable>
282
+ <voidable type="boolean">false</voidable>
283
+ <refundable type="boolean">true</refundable>
284
+ </transaction>
285
+ <transaction type="Payment">
286
+ <id>fbf50962e930483ba1b7a13f4be2e00e</id>
287
+ <account_code>invoice-create-no-charges-1297746103</account_code>
288
+ <action>authorization</action>
289
+ <date type="datetime">2011-03-11T18:50:50Z</date>
290
+ <amount_in_cents type="integer">0</amount_in_cents>
291
+ <status>success</status>
292
+ <message>Test Gateway: Successful test transaction</message>
293
+ <reference>12345</reference>
294
+ <cvv_result code="M">Match</cvv_result>
295
+ <avs_result code="D">Street address and postal code match.</avs_result>
296
+ <avs_result_street>Y</avs_result_street>
297
+ <avs_result_postal>Y</avs_result_postal>
298
+ <test type="boolean">true</test>
299
+ <voidable type="boolean">false</voidable>
300
300
  <refundable type="boolean">true</refundable>
301
301
  </transaction>
302
302
  <transaction type="Payment">
303
- <id>9d0406d2ef0f4aec8795d2ded7722524</id>
304
- <account_code>invoice-lookup-1296674173</account_code>
303
+ <id>c6bca07c53e34be18cde58e22e47c91b</id>
304
+ <account_code>invoice-create-1297746103</account_code>
305
305
  <action>authorization</action>
306
- <date type="datetime">2011-02-03T22:20:32Z</date>
306
+ <date type="datetime">2011-03-11T18:50:36Z</date>
307
307
  <amount_in_cents type="integer">0</amount_in_cents>
308
308
  <status>success</status>
309
309
  <message>Test Gateway: Successful test transaction</message>
@@ -317,10 +317,10 @@
317
317
  <refundable type="boolean">true</refundable>
318
318
  </transaction>
319
319
  <transaction type="Payment">
320
- <id>b3587820d543493188147be66d45e566</id>
321
- <account_code>invoice-list-1296674173</account_code>
320
+ <id>a79afaba4eb3401cb96aa236f6259160</id>
321
+ <account_code>charge-create-1297746103</account_code>
322
322
  <action>authorization</action>
323
- <date type="datetime">2011-02-03T22:20:15Z</date>
323
+ <date type="datetime">2011-03-11T18:49:15Z</date>
324
324
  <amount_in_cents type="integer">0</amount_in_cents>
325
325
  <status>success</status>
326
326
  <message>Test Gateway: Successful test transaction</message>
@@ -334,10 +334,10 @@
334
334
  <refundable type="boolean">true</refundable>
335
335
  </transaction>
336
336
  <transaction type="Payment">
337
- <id>cc44b7b71e434fad842b035a1216c039</id>
338
- <account_code>invoice-create-no-charges-1296674173</account_code>
337
+ <id>196adffb7ff247049c14d6de7eea939c</id>
338
+ <account_code>billing-destroy-1298594128</account_code>
339
339
  <action>authorization</action>
340
- <date type="datetime">2011-02-03T22:20:08Z</date>
340
+ <date type="datetime">2011-03-11T18:48:23Z</date>
341
341
  <amount_in_cents type="integer">0</amount_in_cents>
342
342
  <status>success</status>
343
343
  <message>Test Gateway: Successful test transaction</message>
@@ -351,10 +351,10 @@
351
351
  <refundable type="boolean">true</refundable>
352
352
  </transaction>
353
353
  <transaction type="Payment">
354
- <id>83c0691f42d644f88aa64e44b7898af7</id>
355
- <account_code>invoice-create-1296674173</account_code>
354
+ <id>3192a447f828400998b00bd86731267c</id>
355
+ <account_code>billing-find-1298594128</account_code>
356
356
  <action>authorization</action>
357
- <date type="datetime">2011-02-03T22:19:55Z</date>
357
+ <date type="datetime">2011-03-11T18:48:13Z</date>
358
358
  <amount_in_cents type="integer">0</amount_in_cents>
359
359
  <status>success</status>
360
360
  <message>Test Gateway: Successful test transaction</message>
@@ -368,10 +368,10 @@
368
368
  <refundable type="boolean">true</refundable>
369
369
  </transaction>
370
370
  <transaction type="Payment">
371
- <id>d43001dca7f54ec0a52d580df4ac4fbf</id>
372
- <account_code>charge-create-1296674173</account_code>
371
+ <id>02a36e3794554652b3ffa7dde4f41e13</id>
372
+ <account_code>billing-update-1298594128</account_code>
373
373
  <action>authorization</action>
374
- <date type="datetime">2011-02-03T22:18:55Z</date>
374
+ <date type="datetime">2011-03-11T18:48:04Z</date>
375
375
  <amount_in_cents type="integer">0</amount_in_cents>
376
376
  <status>success</status>
377
377
  <message>Test Gateway: Successful test transaction</message>