recurly 0.3.1 → 0.3.2

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 (61) hide show
  1. data/lib/recurly.rb +8 -0
  2. data/lib/recurly/account.rb +5 -0
  3. data/lib/recurly/rails3/railtie.rb +9 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/account_spec.rb +29 -1
  6. data/spec/integration/add_on_spec.rb +84 -0
  7. data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
  8. data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
  9. data/spec/vcr/account/accept-language/1294473117.yml +167 -0
  10. data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
  11. data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
  12. data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
  13. data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
  14. data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
  15. data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
  16. data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
  17. data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
  18. data/spec/vcr/billing/create/1286682213.yml +28 -27
  19. data/spec/vcr/billing/destroy/1286682213.yml +42 -41
  20. data/spec/vcr/billing/find/1286682213.yml +38 -37
  21. data/spec/vcr/billing/update/1286682213.yml +40 -39
  22. data/spec/vcr/charge/create/1287465632.yml +36 -35
  23. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
  24. data/spec/vcr/charge/list-all/1287465632.yml +43 -42
  25. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
  26. data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
  27. data/spec/vcr/charge/lookup/1287465632.yml +22 -21
  28. data/spec/vcr/credit/create/1287461400.yml +23 -22
  29. data/spec/vcr/credit/delete/1287461400.yml +33 -32
  30. data/spec/vcr/credit/list/1287461400.yml +43 -42
  31. data/spec/vcr/credit/lookup/1287461400.yml +24 -23
  32. data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
  33. data/spec/vcr/invoice/create/1287167121.yml +48 -47
  34. data/spec/vcr/invoice/list/1287167121.yml +67 -66
  35. data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
  36. data/spec/vcr/plan/all.yml +29 -17
  37. data/spec/vcr/plan/delete/1286677585.yml +21 -21
  38. data/spec/vcr/plan/find.yml +42 -18
  39. data/spec/vcr/plan/update.yml +17 -17
  40. data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
  41. data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
  42. data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
  43. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
  44. data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
  45. data/spec/vcr/subscription/change1/1287455769.yml +77 -55
  46. data/spec/vcr/subscription/change2/1287455769.yml +77 -55
  47. data/spec/vcr/subscription/create/1287455769.yml +43 -27
  48. data/spec/vcr/subscription/find/1287455769.yml +54 -36
  49. data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
  50. data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
  51. data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
  52. data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
  53. data/spec/vcr/transaction/all/1289558212.yml +46 -46
  54. data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
  55. data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
  56. data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
  57. data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
  58. data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
  59. data/spec/vcr/transaction/refund/1289558212.yml +35 -34
  60. data/spec/vcr/transaction/void/1289558212.yml +71 -70
  61. metadata +34 -20
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>transaction-refund-1289558212</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -34,17 +35,17 @@
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "273"
38
+ - "345"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:05:07 GMT
40
+ - Sat, 08 Jan 2011 08:06:54 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "591"
44
45
  set-cookie:
45
- - account_credentials=47386d6633c9d8204f21fca8c936f1ec6b9eeda33f08d44d1400b1950de9f87a42df47fcdb88cd831d6d1737301601e3f07f7d0807445c7b17a9d85eefc35686%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=d34524d74c4e6cf4ecf5204954fd03af5dff28d13789173c16e6627d3b502cb8c32d28e1755c05ea006354df51d904eeaae7ac344ea5281e6963b79984319fae%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=a2c76be5786f6e6ef5880731da55e04e; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=98cbb9960f5ee4d409b39b41a3b7656a; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>7483f0cb10844e358a36e14831d00589</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:05:07Z</created_at>
63
+ <hosted_login_token>1884a1b2e4884fdc9072d1a101c712f1</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:06:54Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,15 +73,15 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>San Francisco</city>
76
76
  <address1>123 Test St</address1>
77
+ <city>San Francisco</city>
77
78
  <zip>94115</zip>
78
79
  <account-code>transaction-refund-1289558212</account-code>
79
80
  <country>US</country>
80
81
  <credit-card>
81
82
  <number>1</number>
82
- <month type="integer">11</month>
83
- <year type="integer">2011</year>
83
+ <month type="integer">1</month>
84
+ <year type="integer">2012</year>
84
85
  <verification-value>123</verification-value>
85
86
  </credit-card>
86
87
  <last-name>Test</last-name>
@@ -105,21 +106,21 @@
105
106
  x-ua-compatible:
106
107
  - IE=Edge
107
108
  etag:
108
- - "\"13c7ca0b1698267735ce42c4f66cb4fe\""
109
+ - "\"4f0a8437b713060aa9b3eaf57e163f2d\""
109
110
  connection:
110
111
  - close
111
112
  content-type:
112
113
  - application/xml; charset=utf-8
113
114
  x-runtime:
114
- - "53"
115
+ - "198"
115
116
  date:
116
- - Tue, 16 Nov 2010 07:05:05 GMT
117
+ - Sat, 08 Jan 2011 08:06:55 GMT
117
118
  server:
118
- - nginx/0.7.65
119
+ - nginx/0.8.53
119
120
  content-length:
120
- - "643"
121
+ - "642"
121
122
  set-cookie:
122
- - _recurly_session=649b1ebb496a48ce7c02c22cf8437de7; domain=.recurly.com; path=/; secure; HttpOnly
123
+ - _recurly_session=76745a3e094ca92d62952bb0cf918ffa; domain=.recurly.com; path=/; secure; HttpOnly
123
124
  cache-control:
124
125
  - private, max-age=0, must-revalidate
125
126
  body: |
@@ -140,10 +141,10 @@
140
141
  <credit_card>
141
142
  <type>bogus</type>
142
143
  <last_four>1</last_four>
143
- <month type="integer">11</month>
144
- <year type="integer">2011</year>
144
+ <month type="integer">1</month>
145
+ <year type="integer">2012</year>
145
146
  </credit_card>
146
- <updated_at type="datetime">2010-11-16T07:05:05Z</updated_at>
147
+ <updated_at type="datetime">2011-01-08T08:06:55Z</updated_at>
147
148
  </billing_info>
148
149
 
149
150
  http_version: "1.1"
@@ -176,30 +177,30 @@
176
177
  message: Created
177
178
  headers:
178
179
  location:
179
- - https://recurlytest3-test.recurly.com/transactions/79bc093c97dd48f48b95aa2b495fd523
180
+ - https://recurlytest3-test.recurly.com/transactions/0c0965f0caee4406be4d199e1a4479e1
180
181
  connection:
181
182
  - close
182
183
  content-type:
183
184
  - application/xml; charset=utf-8
184
185
  x-runtime:
185
- - "304"
186
+ - "453"
186
187
  date:
187
- - Tue, 16 Nov 2010 07:05:08 GMT
188
+ - Sat, 08 Jan 2011 08:06:57 GMT
188
189
  server:
189
- - nginx/0.7.65
190
+ - nginx/0.8.53
190
191
  content-length:
191
192
  - "851"
192
193
  set-cookie:
193
- - _recurly_session=0dee1386f131cf04f782fd652e9a8230; domain=.recurly.com; path=/; secure; HttpOnly
194
+ - _recurly_session=4074c0a5c2c62fc1afb893f9c870f658; domain=.recurly.com; path=/; secure; HttpOnly
194
195
  cache-control:
195
196
  - no-cache
196
197
  body: |
197
198
  <?xml version="1.0" encoding="UTF-8"?>
198
199
  <transaction type="Payment">
199
- <id>79bc093c97dd48f48b95aa2b495fd523</id>
200
+ <id>0c0965f0caee4406be4d199e1a4479e1</id>
200
201
  <account_code>transaction-refund-1289558212</account_code>
201
202
  <action>purchase</action>
202
- <date type="datetime">2010-11-16T07:05:08Z</date>
203
+ <date type="datetime">2011-01-08T08:06:56Z</date>
203
204
  <amount_in_cents type="integer">1000</amount_in_cents>
204
205
  <status>success</status>
205
206
  <message>Test Gateway: Successful test transaction</message>
@@ -221,7 +222,7 @@
221
222
  - !ruby/struct:VCR::HTTPInteraction
222
223
  request: !ruby/struct:VCR::Request
223
224
  method: :delete
224
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/79bc093c97dd48f48b95aa2b495fd523.xml?action=refund&amount=1000
225
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/0c0965f0caee4406be4d199e1a4479e1.xml?action=refund&amount=1000
225
226
  body:
226
227
  headers:
227
228
  accept:
@@ -238,30 +239,30 @@
238
239
  x-ua-compatible:
239
240
  - IE=Edge
240
241
  etag:
241
- - "\"4a1680f40f358271631e93c1f4c92466\""
242
+ - "\"0c7da2221ce802c1c87fa53c21a74fcb\""
242
243
  connection:
243
244
  - close
244
245
  content-type:
245
246
  - application/xml; charset=utf-8
246
247
  x-runtime:
247
- - "32"
248
+ - "31"
248
249
  date:
249
- - Tue, 16 Nov 2010 07:05:07 GMT
250
+ - Sat, 08 Jan 2011 08:06:57 GMT
250
251
  server:
251
- - nginx/0.7.65
252
+ - nginx/0.8.53
252
253
  content-length:
253
254
  - "850"
254
255
  set-cookie:
255
- - _recurly_session=450d455ae75201e07a9e05d6c728f9f4; domain=.recurly.com; path=/; secure; HttpOnly
256
+ - _recurly_session=5da5c1d57c567bfa0e8b496d7ec7f34d; domain=.recurly.com; path=/; secure; HttpOnly
256
257
  cache-control:
257
258
  - private, max-age=0, must-revalidate
258
259
  body: |
259
260
  <?xml version="1.0" encoding="UTF-8"?>
260
261
  <transaction type="Payment">
261
- <id>79bc093c97dd48f48b95aa2b495fd523</id>
262
+ <id>0c0965f0caee4406be4d199e1a4479e1</id>
262
263
  <account_code>transaction-refund-1289558212</account_code>
263
264
  <action>purchase</action>
264
- <date type="datetime">2010-11-16T07:05:08Z</date>
265
+ <date type="datetime">2011-01-08T08:06:56Z</date>
265
266
  <amount_in_cents type="integer">1000</amount_in_cents>
266
267
  <status>void</status>
267
268
  <message>Test Gateway: Successful test transaction</message>
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>transaction-void-1289558212</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -34,17 +35,17 @@
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "271"
38
+ - "347"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:05:01 GMT
40
+ - Sat, 08 Jan 2011 08:06:49 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "587"
44
45
  set-cookie:
45
- - account_credentials=3c7450ae0bce1c6212004f2d8e4d231fc48233e37e61953a51d8068b79f0340178bf1b861a02671579769b295adbaef0383578d0ff07add05cb42a6f1ffa63c5%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=dcf8df46958e9ca9edde9c09ecf92f427124d23d966eec33f71cfec967334fed18184840d7632553c7e3567ff4883d83b3a2d2e47cacc458154c59e8fb37c195%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=4e5b7ed977e1108c45663b473d1644c9; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=3eec9e8aafd203ad5987c10971c99b75; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>3f870885a8834ac2b94d69eb4ab0455f</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:05:01Z</created_at>
63
+ <hosted_login_token>4844e645d2fb4dc7a07d03293641cbfb</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:06:49Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,15 +73,15 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>San Francisco</city>
76
76
  <address1>123 Test St</address1>
77
+ <city>San Francisco</city>
77
78
  <zip>94115</zip>
78
79
  <account-code>transaction-void-1289558212</account-code>
79
80
  <country>US</country>
80
81
  <credit-card>
81
82
  <number>1</number>
82
- <month type="integer">11</month>
83
- <year type="integer">2011</year>
83
+ <month type="integer">1</month>
84
+ <year type="integer">2012</year>
84
85
  <verification-value>123</verification-value>
85
86
  </credit-card>
86
87
  <last-name>Test</last-name>
@@ -105,21 +106,21 @@
105
106
  x-ua-compatible:
106
107
  - IE=Edge
107
108
  etag:
108
- - "\"d3b89911f7d4407b46ee9d55c1e284f3\""
109
+ - "\"d8ac58d08d91fce3fc668b7f1ece6613\""
109
110
  connection:
110
111
  - close
111
112
  content-type:
112
113
  - application/xml; charset=utf-8
113
114
  x-runtime:
114
- - "53"
115
+ - "176"
115
116
  date:
116
- - Tue, 16 Nov 2010 07:05:04 GMT
117
+ - Sat, 08 Jan 2011 08:06:50 GMT
117
118
  server:
118
- - nginx/0.7.65
119
+ - nginx/0.8.53
119
120
  content-length:
120
- - "641"
121
+ - "640"
121
122
  set-cookie:
122
- - _recurly_session=33a3fc9706992cd8763e31e3783bd0cd; domain=.recurly.com; path=/; secure; HttpOnly
123
+ - _recurly_session=8878d8a63dbadbe467039a6b9fa6943e; domain=.recurly.com; path=/; secure; HttpOnly
123
124
  cache-control:
124
125
  - private, max-age=0, must-revalidate
125
126
  body: |
@@ -140,10 +141,10 @@
140
141
  <credit_card>
141
142
  <type>bogus</type>
142
143
  <last_four>1</last_four>
143
- <month type="integer">11</month>
144
- <year type="integer">2011</year>
144
+ <month type="integer">1</month>
145
+ <year type="integer">2012</year>
145
146
  </credit_card>
146
- <updated_at type="datetime">2010-11-16T07:05:04Z</updated_at>
147
+ <updated_at type="datetime">2011-01-08T08:06:50Z</updated_at>
147
148
  </billing_info>
148
149
 
149
150
  http_version: "1.1"
@@ -176,30 +177,30 @@
176
177
  message: Created
177
178
  headers:
178
179
  location:
179
- - https://recurlytest3-test.recurly.com/transactions/fa60e80e9959425b9a17011a40ce541a
180
+ - https://recurlytest3-test.recurly.com/transactions/15ddbb436ba04fd6a98c0435509ac34b
180
181
  connection:
181
182
  - close
182
183
  content-type:
183
184
  - application/xml; charset=utf-8
184
185
  x-runtime:
185
- - "298"
186
+ - "461"
186
187
  date:
187
- - Tue, 16 Nov 2010 07:05:03 GMT
188
+ - Sat, 08 Jan 2011 08:06:51 GMT
188
189
  server:
189
- - nginx/0.7.65
190
+ - nginx/0.8.53
190
191
  content-length:
191
192
  - "848"
192
193
  set-cookie:
193
- - _recurly_session=dd39971b8e644ddd87e8c76e4dfe8fbe; domain=.recurly.com; path=/; secure; HttpOnly
194
+ - _recurly_session=5186158b8aa751f3740f8883958a313d; domain=.recurly.com; path=/; secure; HttpOnly
194
195
  cache-control:
195
196
  - no-cache
196
197
  body: |
197
198
  <?xml version="1.0" encoding="UTF-8"?>
198
199
  <transaction type="Payment">
199
- <id>fa60e80e9959425b9a17011a40ce541a</id>
200
+ <id>15ddbb436ba04fd6a98c0435509ac34b</id>
200
201
  <account_code>transaction-void-1289558212</account_code>
201
202
  <action>purchase</action>
202
- <date type="datetime">2010-11-16T07:05:02Z</date>
203
+ <date type="datetime">2011-01-08T08:06:51Z</date>
203
204
  <amount_in_cents type="integer">100</amount_in_cents>
204
205
  <status>success</status>
205
206
  <message>Test Gateway: Successful test transaction</message>
@@ -221,7 +222,7 @@
221
222
  - !ruby/struct:VCR::HTTPInteraction
222
223
  request: !ruby/struct:VCR::Request
223
224
  method: :delete
224
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/fa60e80e9959425b9a17011a40ce541a.xml?action=void
225
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/15ddbb436ba04fd6a98c0435509ac34b.xml?action=void
225
226
  body:
226
227
  headers:
227
228
  accept:
@@ -238,7 +239,7 @@
238
239
  x-ua-compatible:
239
240
  - IE=Edge
240
241
  etag:
241
- - "\"b4ef2b020ec4509ef25532a30378905b\""
242
+ - "\"f23d1ac05c5bb7f502811cd78202ff82\""
242
243
  connection:
243
244
  - close
244
245
  content-type:
@@ -246,22 +247,22 @@
246
247
  x-runtime:
247
248
  - "31"
248
249
  date:
249
- - Tue, 16 Nov 2010 07:05:05 GMT
250
+ - Sat, 08 Jan 2011 08:06:52 GMT
250
251
  server:
251
- - nginx/0.7.65
252
+ - nginx/0.8.53
252
253
  content-length:
253
254
  - "847"
254
255
  set-cookie:
255
- - _recurly_session=f0bbd2556682957768644cf38bfa71a0; domain=.recurly.com; path=/; secure; HttpOnly
256
+ - _recurly_session=39a9fb1e6519c3790a707721dc8074bb; domain=.recurly.com; path=/; secure; HttpOnly
256
257
  cache-control:
257
258
  - private, max-age=0, must-revalidate
258
259
  body: |
259
260
  <?xml version="1.0" encoding="UTF-8"?>
260
261
  <transaction type="Payment">
261
- <id>fa60e80e9959425b9a17011a40ce541a</id>
262
+ <id>15ddbb436ba04fd6a98c0435509ac34b</id>
262
263
  <account_code>transaction-void-1289558212</account_code>
263
264
  <action>purchase</action>
264
- <date type="datetime">2010-11-16T07:05:02Z</date>
265
+ <date type="datetime">2011-01-08T08:06:51Z</date>
265
266
  <amount_in_cents type="integer">100</amount_in_cents>
266
267
  <status>void</status>
267
268
  <message>Test Gateway: Successful test transaction</message>
@@ -300,21 +301,21 @@
300
301
  x-ua-compatible:
301
302
  - IE=Edge
302
303
  etag:
303
- - "\"b58ac45ab06bc4bf8e11096492b979c9\""
304
+ - "\"f2bb77a33aa55468485cde337666ae1b\""
304
305
  connection:
305
306
  - close
306
307
  content-type:
307
308
  - application/xml; charset=utf-8
308
309
  x-runtime:
309
- - "61"
310
+ - "63"
310
311
  date:
311
- - Tue, 16 Nov 2010 07:05:04 GMT
312
+ - Sat, 08 Jan 2011 08:06:53 GMT
312
313
  server:
313
- - nginx/0.7.65
314
+ - nginx/0.8.53
314
315
  content-length:
315
316
  - "12434"
316
317
  set-cookie:
317
- - _recurly_session=be3de919dea94e35abac4498921c6911; domain=.recurly.com; path=/; secure; HttpOnly
318
+ - _recurly_session=06e7d89cfedcbf6899134f333056b96d; domain=.recurly.com; path=/; secure; HttpOnly
318
319
  cache-control:
319
320
  - private, max-age=0, must-revalidate
320
321
  body: |
@@ -324,10 +325,10 @@
324
325
  <per_page type="integer">20</per_page>
325
326
  <total_entries type="integer">16</total_entries>
326
327
  <transaction type="Payment">
327
- <id>fa60e80e9959425b9a17011a40ce541a</id>
328
+ <id>15ddbb436ba04fd6a98c0435509ac34b</id>
328
329
  <account_code>transaction-void-1289558212</account_code>
329
330
  <action>purchase</action>
330
- <date type="datetime">2010-11-16T07:05:02Z</date>
331
+ <date type="datetime">2011-01-08T08:06:51Z</date>
331
332
  <amount_in_cents type="integer">100</amount_in_cents>
332
333
  <status>void</status>
333
334
  <message>Test Gateway: Successful test transaction</message>
@@ -341,10 +342,10 @@
341
342
  <refundable type="boolean">false</refundable>
342
343
  </transaction>
343
344
  <transaction type="Payment">
344
- <id>812701d6bbdb4e1ebf94ecc6be29e88b</id>
345
+ <id>bb020996d22f431db94ee12712a6d979</id>
345
346
  <account_code>transaction-void-1289558212</account_code>
346
347
  <action>authorization</action>
347
- <date type="datetime">2010-11-16T07:05:04Z</date>
348
+ <date type="datetime">2011-01-08T08:06:50Z</date>
348
349
  <amount_in_cents type="integer">100</amount_in_cents>
349
350
  <status>void</status>
350
351
  <message>Test Gateway: Successful test transaction</message>
@@ -358,10 +359,10 @@
358
359
  <refundable type="boolean">false</refundable>
359
360
  </transaction>
360
361
  <transaction type="Payment">
361
- <id>ba86a9143ce349838984e9c10a3597f5</id>
362
+ <id>e73e32db10d149d9947b18ce8bf5a8db</id>
362
363
  <account_code>transaction-lookup-1289558212</account_code>
363
364
  <action>authorization</action>
364
- <date type="datetime">2010-11-16T07:04:58Z</date>
365
+ <date type="datetime">2011-01-08T08:06:39Z</date>
365
366
  <amount_in_cents type="integer">100</amount_in_cents>
366
367
  <status>void</status>
367
368
  <message>Test Gateway: Successful test transaction</message>
@@ -375,10 +376,10 @@
375
376
  <refundable type="boolean">false</refundable>
376
377
  </transaction>
377
378
  <transaction type="Payment">
378
- <id>c4aabcb8d6de4ca0961fbf4e40e4634d</id>
379
+ <id>8bf331222c3d43eb9a48aedbb7cbe77a</id>
379
380
  <account_code>transaction-list-filled-1289558212</account_code>
380
381
  <action>authorization</action>
381
- <date type="datetime">2010-11-16T07:04:54Z</date>
382
+ <date type="datetime">2011-01-08T08:06:32Z</date>
382
383
  <amount_in_cents type="integer">100</amount_in_cents>
383
384
  <status>void</status>
384
385
  <message>Test Gateway: Successful test transaction</message>
@@ -392,10 +393,10 @@
392
393
  <refundable type="boolean">false</refundable>
393
394
  </transaction>
394
395
  <transaction type="Payment">
395
- <id>847d5ab8c41c423193e73e4aa7d0b631</id>
396
+ <id>dc712441aedf4f4ba4bd6de6ddacfef3</id>
396
397
  <account_code>transaction-list-initial-1289558212</account_code>
397
398
  <action>authorization</action>
398
- <date type="datetime">2010-11-16T07:04:52Z</date>
399
+ <date type="datetime">2011-01-08T08:06:29Z</date>
399
400
  <amount_in_cents type="integer">100</amount_in_cents>
400
401
  <status>void</status>
401
402
  <message>Test Gateway: Successful test transaction</message>
@@ -409,10 +410,10 @@
409
410
  <refundable type="boolean">false</refundable>
410
411
  </transaction>
411
412
  <transaction type="Payment">
412
- <id>ef8b4eb351434b288bd0964399272b93</id>
413
+ <id>37d9c8cc311c4a79b17d93e50ea2755d</id>
413
414
  <account_code>transaction-create-with-account-1289558212</account_code>
414
415
  <action>authorization</action>
415
- <date type="datetime">2010-11-16T07:04:49Z</date>
416
+ <date type="datetime">2011-01-08T08:06:25Z</date>
416
417
  <amount_in_cents type="integer">100</amount_in_cents>
417
418
  <status>void</status>
418
419
  <message>Test Gateway: Successful test transaction</message>
@@ -426,10 +427,10 @@
426
427
  <refundable type="boolean">false</refundable>
427
428
  </transaction>
428
429
  <transaction type="Payment">
429
- <id>9205c4b5486549999679c9340ffa310b</id>
430
+ <id>f05249401eb84ea28d42a1c11802844f</id>
430
431
  <account_code>invoice-lookup-1287167121</account_code>
431
432
  <action>authorization</action>
432
- <date type="datetime">2010-11-16T07:04:00Z</date>
433
+ <date type="datetime">2011-01-08T08:05:06Z</date>
433
434
  <amount_in_cents type="integer">100</amount_in_cents>
434
435
  <status>void</status>
435
436
  <message>Test Gateway: Successful test transaction</message>
@@ -443,10 +444,10 @@
443
444
  <refundable type="boolean">false</refundable>
444
445
  </transaction>
445
446
  <transaction type="Payment">
446
- <id>8be4ba57a0fb441eb4ff5f1f44150a32</id>
447
+ <id>289920ddb4d841e4980522f04cc287f3</id>
447
448
  <account_code>invoice-list-1287167121</account_code>
448
449
  <action>authorization</action>
449
- <date type="datetime">2010-11-16T07:03:54Z</date>
450
+ <date type="datetime">2011-01-08T08:04:59Z</date>
450
451
  <amount_in_cents type="integer">100</amount_in_cents>
451
452
  <status>void</status>
452
453
  <message>Test Gateway: Successful test transaction</message>
@@ -460,10 +461,10 @@
460
461
  <refundable type="boolean">false</refundable>
461
462
  </transaction>
462
463
  <transaction type="Payment">
463
- <id>48705d8826ba4ea5b31854c01c3e1834</id>
464
+ <id>c727cbd93a75406ea9b08fe732cd04fa</id>
464
465
  <account_code>invoice-create-no-charges-1287167121</account_code>
465
466
  <action>authorization</action>
466
- <date type="datetime">2010-11-16T07:03:54Z</date>
467
+ <date type="datetime">2011-01-08T08:04:56Z</date>
467
468
  <amount_in_cents type="integer">100</amount_in_cents>
468
469
  <status>void</status>
469
470
  <message>Test Gateway: Successful test transaction</message>
@@ -477,10 +478,10 @@
477
478
  <refundable type="boolean">false</refundable>
478
479
  </transaction>
479
480
  <transaction type="Payment">
480
- <id>2cd49ba668914127a3605bfff1c70b13</id>
481
+ <id>aad391af1ef349f6ac0328534ef54b39</id>
481
482
  <account_code>invoice-create-1287167121</account_code>
482
483
  <action>authorization</action>
483
- <date type="datetime">2010-11-16T07:03:49Z</date>
484
+ <date type="datetime">2011-01-08T08:04:51Z</date>
484
485
  <amount_in_cents type="integer">100</amount_in_cents>
485
486
  <status>void</status>
486
487
  <message>Test Gateway: Successful test transaction</message>
@@ -494,10 +495,10 @@
494
495
  <refundable type="boolean">false</refundable>
495
496
  </transaction>
496
497
  <transaction type="Payment">
497
- <id>22ad6e4a8cea4b3584b9a130647ff3ee</id>
498
+ <id>43deb871c4f14e559841f98b39f33040</id>
498
499
  <account_code>charge-create-1287465632</account_code>
499
500
  <action>authorization</action>
500
- <date type="datetime">2010-11-16T07:03:32Z</date>
501
+ <date type="datetime">2011-01-08T08:04:20Z</date>
501
502
  <amount_in_cents type="integer">100</amount_in_cents>
502
503
  <status>void</status>
503
504
  <message>Test Gateway: Successful test transaction</message>
@@ -511,10 +512,10 @@
511
512
  <refundable type="boolean">false</refundable>
512
513
  </transaction>
513
514
  <transaction type="Payment">
514
- <id>63f539efeb894c4db09b708d927c1fd8</id>
515
+ <id>07ddd5d749a84dba94d6d02db845adfe</id>
515
516
  <account_code>billing-destroy-1286682213</account_code>
516
517
  <action>authorization</action>
517
- <date type="datetime">2010-11-16T07:03:18Z</date>
518
+ <date type="datetime">2011-01-08T08:03:58Z</date>
518
519
  <amount_in_cents type="integer">100</amount_in_cents>
519
520
  <status>void</status>
520
521
  <message>Test Gateway: Successful test transaction</message>
@@ -528,10 +529,10 @@
528
529
  <refundable type="boolean">false</refundable>
529
530
  </transaction>
530
531
  <transaction type="Payment">
531
- <id>728c206ebbc549fc8cbef9bdb61fbb84</id>
532
+ <id>79d20e98f1794610bc2c4cb15afd3d8a</id>
532
533
  <account_code>billing-find-1286682213</account_code>
533
534
  <action>authorization</action>
534
- <date type="datetime">2010-11-16T07:03:16Z</date>
535
+ <date type="datetime">2011-01-08T08:03:54Z</date>
535
536
  <amount_in_cents type="integer">100</amount_in_cents>
536
537
  <status>void</status>
537
538
  <message>Test Gateway: Successful test transaction</message>
@@ -545,10 +546,10 @@
545
546
  <refundable type="boolean">false</refundable>
546
547
  </transaction>
547
548
  <transaction type="Payment">
548
- <id>cec21b30677b4f939209d1b125f12a7a</id>
549
+ <id>cc18b994a3db46aa9edfb56c9d0559d2</id>
549
550
  <account_code>billing-update-1286682213</account_code>
550
551
  <action>authorization</action>
551
- <date type="datetime">2010-11-16T07:03:12Z</date>
552
+ <date type="datetime">2011-01-08T08:03:52Z</date>
552
553
  <amount_in_cents type="integer">100</amount_in_cents>
553
554
  <status>void</status>
554
555
  <message>Test Gateway: Successful test transaction</message>
@@ -562,10 +563,10 @@
562
563
  <refundable type="boolean">false</refundable>
563
564
  </transaction>
564
565
  <transaction type="Payment">
565
- <id>2c3a0cff215d490ead08ab61c3163121</id>
566
+ <id>e759c80d425a42a1bbe3d9c054e67120</id>
566
567
  <account_code>billing-update-1286682213</account_code>
567
568
  <action>authorization</action>
568
- <date type="datetime">2010-11-16T07:03:14Z</date>
569
+ <date type="datetime">2011-01-08T08:03:51Z</date>
569
570
  <amount_in_cents type="integer">100</amount_in_cents>
570
571
  <status>void</status>
571
572
  <message>Test Gateway: Successful test transaction</message>
@@ -579,10 +580,10 @@
579
580
  <refundable type="boolean">false</refundable>
580
581
  </transaction>
581
582
  <transaction type="Payment">
582
- <id>2000ba7652fe4c1694260d599dd86eb1</id>
583
+ <id>ee8418f8a367400dab98f03dfce97137</id>
583
584
  <account_code>billing-create-1286682213</account_code>
584
585
  <action>authorization</action>
585
- <date type="datetime">2010-11-16T07:03:10Z</date>
586
+ <date type="datetime">2011-01-08T08:03:48Z</date>
586
587
  <amount_in_cents type="integer">100</amount_in_cents>
587
588
  <status>void</status>
588
589
  <message>Test Gateway: Successful test transaction</message>