recurly 0.4.2 → 0.4.3

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 (71) hide show
  1. data/lib/recurly.rb +1 -0
  2. data/lib/recurly/base.rb +92 -12
  3. data/lib/recurly/formats/xml_with_errors.rb +132 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/config/recurly.yml +4 -4
  6. data/spec/integration/transaction_spec.rb +4 -3
  7. data/spec/vcr/account/accept-language-account/1297746103.yml +6 -6
  8. data/spec/vcr/account/close/1297746103.yml +17 -17
  9. data/spec/vcr/account/create-blank/1297746103.yml +4 -4
  10. data/spec/vcr/account/create-duplicate/1297746103.yml +10 -10
  11. data/spec/vcr/account/create-min/1297746103.yml +6 -6
  12. data/spec/vcr/account/create/1297746103.yml +6 -6
  13. data/spec/vcr/account/find/1297746103.yml +16 -16
  14. data/spec/vcr/account/list/1297746103.yml +204 -156
  15. data/spec/vcr/account/update/1297746103.yml +29 -29
  16. data/spec/vcr/billing/create/1298594128.yml +21 -21
  17. data/spec/vcr/billing/destroy/1298594128.yml +28 -28
  18. data/spec/vcr/billing/find/1298594128.yml +28 -28
  19. data/spec/vcr/billing/update/1298594128.yml +29 -29
  20. data/spec/vcr/charge/create/1297746103.yml +29 -29
  21. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +32 -32
  22. data/spec/vcr/charge/list-all/1297746103.yml +41 -41
  23. data/spec/vcr/charge/list-invoiced/1297746103.yml +68 -68
  24. data/spec/vcr/charge/list-pending/1297746103.yml +41 -41
  25. data/spec/vcr/charge/lookup/1297746103.yml +21 -21
  26. data/spec/vcr/coupon/create/1299714521.yml +25 -25
  27. data/spec/vcr/coupon/destroy/1299714521.yml +22 -22
  28. data/spec/vcr/credit/create/1299714599.yml +21 -21
  29. data/spec/vcr/credit/delete/1299714599.yml +28 -28
  30. data/spec/vcr/credit/list/1299714599.yml +41 -41
  31. data/spec/vcr/credit/lookup/1299714599.yml +21 -21
  32. data/spec/vcr/invoice/create-no-charges/1297746103.yml +18 -18
  33. data/spec/vcr/invoice/create/1297746103.yml +42 -42
  34. data/spec/vcr/invoice/list/1297746103.yml +61 -61
  35. data/spec/vcr/invoice/lookup/1297746103.yml +43 -43
  36. data/spec/vcr/plan/all.yml +65 -52
  37. data/spec/vcr/plan/find.yml +58 -34
  38. data/spec/vcr/plan/update.yml +28 -29
  39. data/spec/vcr/subscription/addons/add/1297746103.yml +293 -335
  40. data/spec/vcr/subscription/addons/add/1301884213.yml +480 -0
  41. data/spec/vcr/subscription/addons/create/1297746103.yml +134 -335
  42. data/spec/vcr/subscription/addons/create/1301884213.yml +321 -0
  43. data/spec/vcr/subscription/addons/remove/1297746103.yml +262 -335
  44. data/spec/vcr/subscription/addons/remove/1301884213.yml +449 -0
  45. data/spec/vcr/subscription/cancel-with-code/{1297746103.yml → 1301881900.yml} +104 -92
  46. data/spec/vcr/subscription/cancel/{1297746103.yml → 1301881900.yml} +90 -78
  47. data/spec/vcr/subscription/change1/{1297746103.yml → 1301881900.yml} +86 -74
  48. data/spec/vcr/subscription/change2/{1297746103.yml → 1301881900.yml} +86 -74
  49. data/spec/vcr/subscription/create/{1297746103.yml → 1301881900.yml} +50 -38
  50. data/spec/vcr/subscription/find/{1297746103.yml → 1301881900.yml} +62 -50
  51. data/spec/vcr/subscription/reactivate/{1297746103.yml → 1301881900.yml} +95 -83
  52. data/spec/vcr/subscription/refund-full/{1297746103.yml → 1301881900.yml} +79 -67
  53. data/spec/vcr/subscription/refund-none/{1297746103.yml → 1301881900.yml} +79 -67
  54. data/spec/vcr/subscription/refund-partial/{1297746103.yml → 1301881900.yml} +79 -67
  55. data/spec/vcr/transaction/all/1301883347.yml +387 -0
  56. data/spec/vcr/transaction/create-no-account/{1300473500.yml → 1301883347.yml} +18 -18
  57. data/spec/vcr/transaction/create-with-account/{1300473500.yml → 1301883347.yml} +37 -37
  58. data/spec/vcr/transaction/list-filled/{1300473500.yml → 1301883347.yml} +169 -169
  59. data/spec/vcr/transaction/list-initial/{1300473500.yml → 1301883347.yml} +39 -39
  60. data/spec/vcr/transaction/lookup/{1300473500.yml → 1301883347.yml} +119 -119
  61. data/spec/vcr/transaction/refund/{1300473500.yml → 1301883347.yml} +53 -53
  62. data/spec/vcr/transaction/void/1301883347.yml +365 -0
  63. data/spec/vcr/transparent/post-url/{1300476053.yml → 1301879142.yml} +19 -19
  64. metadata +66 -58
  65. data/spec/vcr/transaction/all/1300473500.yml +0 -387
  66. data/spec/vcr/transaction/void/1300473500.yml +0 -620
  67. data/spec/vcr/transparent/post-url/1300475927.yml +0 -41
  68. data/spec/vcr/transparent/post-url/1300475952.yml +0 -41
  69. data/spec/vcr/transparent/post-url/1300476034.yml +0 -125
  70. data/spec/vcr/transparent/post-url/1300476102.yml +0 -125
  71. data/spec/vcr/transparent/post-url/1300476126.yml +0 -125
@@ -2,12 +2,12 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
5
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <transaction>
9
9
  <account>
10
- <account-code>transaction-create-with-accout-1300473500</account-code>
10
+ <account-code>transaction-create-with-accout-1301883347</account-code>
11
11
  <first-name>Verena</first-name>
12
12
  <last-name>Test</last-name>
13
13
  <email>verena@test.com</email>
@@ -23,7 +23,7 @@
23
23
  <credit-card>
24
24
  <number>4111111111111111</number>
25
25
  <year type="integer">2012</year>
26
- <month type="integer">3</month>
26
+ <month type="integer">4</month>
27
27
  <verification-value>123</verification-value>
28
28
  </credit-card>
29
29
  </billing-info>
@@ -34,7 +34,7 @@
34
34
 
35
35
  headers:
36
36
  authorization:
37
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
37
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
38
38
  content-type:
39
39
  - application/xml
40
40
  accept:
@@ -51,15 +51,15 @@
51
51
  cache-control:
52
52
  - no-cache
53
53
  location:
54
- - http://app.recurly.local:3000/transactions/1bddde9d533642d8b22e67edf91e7628
54
+ - http://app.recurly.local:3000/transactions/5db6cb6042f44b02bea276e4c8f9a4ad
55
55
  x-runtime:
56
- - "10536"
56
+ - "3052"
57
57
  content-type:
58
58
  - application/xml; charset=utf-8
59
59
  content-length:
60
- - "806"
60
+ - "871"
61
61
  set-cookie:
62
- - _recurly_session=94c5a7b9655a1b48cbd2d105fb41033d; domain=.recurly.local; path=/; HttpOnly
62
+ - _recurly_session=84fb4399613568e83eef4f54dfb5ab81; domain=.recurly.local; path=/; HttpOnly
63
63
  connection:
64
64
  - close
65
65
  server:
@@ -67,19 +67,19 @@
67
67
  body: |
68
68
  <?xml version="1.0" encoding="UTF-8"?>
69
69
  <transaction type="Payment">
70
- <id>1bddde9d533642d8b22e67edf91e7628</id>
71
- <account_code>transaction-create-with-accout-1300473500</account_code>
70
+ <id>5db6cb6042f44b02bea276e4c8f9a4ad</id>
71
+ <account_code>transaction-create-with-accout-1301883347</account_code>
72
72
  <action>purchase</action>
73
- <date type="datetime">2011-03-18T18:56:04Z</date>
73
+ <date type="datetime">2011-04-04T02:25:54Z</date>
74
74
  <amount_in_cents type="integer">700</amount_in_cents>
75
75
  <status>success</status>
76
- <message>Approved</message>
77
- <reference>819793155761849369</reference>
78
- <cvv_result code=""></cvv_result>
79
- <avs_result code=""></avs_result>
80
- <avs_result_street></avs_result_street>
81
- <avs_result_postal></avs_result_postal>
82
- <test type="boolean">false</test>
76
+ <message>Test Gateway: Successful test transaction</message>
77
+ <reference>12345</reference>
78
+ <cvv_result code="M">Match</cvv_result>
79
+ <avs_result code="D">Street address and postal code match.</avs_result>
80
+ <avs_result_street>Y</avs_result_street>
81
+ <avs_result_postal>Y</avs_result_postal>
82
+ <test type="boolean">true</test>
83
83
  <voidable type="boolean">true</voidable>
84
84
  <refundable type="boolean">true</refundable>
85
85
  <credit_card>
@@ -2,11 +2,11 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
5
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>transaction-create-with-account-1300473500</account-code>
9
+ <account-code>transaction-create-with-account-1301883347</account-code>
10
10
  <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
@@ -20,7 +20,7 @@
20
20
 
21
21
  headers:
22
22
  authorization:
23
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
23
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
24
24
  content-type:
25
25
  - application/xml
26
26
  accept:
@@ -37,15 +37,15 @@
37
37
  cache-control:
38
38
  - no-cache
39
39
  location:
40
- - http://app.recurly.local:3000/accounts/transaction-create-with-account-1300473500
40
+ - http://app.recurly.local:3000/accounts/transaction-create-with-account-1301883347
41
41
  x-runtime:
42
- - "355"
42
+ - "306"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "617"
47
47
  set-cookie:
48
- - _recurly_session=edbfa149f5ac082f0a2eacfd073a131c; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=4fae650cf8340ab2816986a48be59a60; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -53,8 +53,8 @@
53
53
  body: |
54
54
  <?xml version="1.0" encoding="UTF-8"?>
55
55
  <account>
56
- <id>transaction-create-with-account-1300473500</id>
57
- <account_code>transaction-create-with-account-1300473500</account_code>
56
+ <id>transaction-create-with-account-1301883347</id>
57
+ <account_code>transaction-create-with-account-1301883347</account_code>
58
58
  <username></username>
59
59
  <email>verena@test.com</email>
60
60
  <first_name>Verena</first_name>
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>4ea5b9d2a6f64d98bf5ad45d8977965f</hosted_login_token>
66
- <created_at type="datetime">2011-03-18T18:56:12Z</created_at>
65
+ <hosted_login_token>ead42483745e4d10854fea55530e0efb</hosted_login_token>
66
+ <created_at type="datetime">2011-04-04T02:25:57Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -71,7 +71,7 @@
71
71
  - !ruby/struct:VCR::HTTPInteraction
72
72
  request: !ruby/struct:VCR::Request
73
73
  method: :put
74
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/transaction-create-with-account-1300473500/billing_info.xml
74
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/transaction-create-with-account-1301883347/billing_info.xml
75
75
  body: |
76
76
  <?xml version="1.0" encoding="UTF-8"?>
77
77
  <billing-info>
@@ -85,15 +85,15 @@
85
85
  <credit-card>
86
86
  <number>4111111111111111</number>
87
87
  <year type="integer">2012</year>
88
- <month type="integer">3</month>
88
+ <month type="integer">4</month>
89
89
  <verification-value>123</verification-value>
90
90
  </credit-card>
91
- <account-code>transaction-create-with-account-1300473500</account-code>
91
+ <account-code>transaction-create-with-account-1301883347</account-code>
92
92
  </billing-info>
93
93
 
94
94
  headers:
95
95
  authorization:
96
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
96
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
97
97
  content-type:
98
98
  - application/xml
99
99
  accept:
@@ -108,17 +108,17 @@
108
108
  message: OK
109
109
  headers:
110
110
  x-runtime:
111
- - "5861"
111
+ - "2096"
112
112
  content-type:
113
113
  - application/xml; charset=utf-8
114
114
  etag:
115
- - "\"375b21df99ee5b96ccfb08efe5b6af8a\""
115
+ - "\"6a90ea8c70a7f21fe80bb4b16765ee50\""
116
116
  cache-control:
117
117
  - private, max-age=0, must-revalidate
118
118
  content-length:
119
119
  - "657"
120
120
  set-cookie:
121
- - _recurly_session=ee046e28ab554fb6531a2a1c0910eea8; domain=.recurly.local; path=/; HttpOnly
121
+ - _recurly_session=911a0d52ac39349a8b148891b789072a; domain=.recurly.local; path=/; HttpOnly
122
122
  connection:
123
123
  - close
124
124
  server:
@@ -126,7 +126,7 @@
126
126
  body: |
127
127
  <?xml version="1.0" encoding="UTF-8"?>
128
128
  <billing_info>
129
- <account_code>transaction-create-with-account-1300473500</account_code>
129
+ <account_code>transaction-create-with-account-1301883347</account_code>
130
130
  <first_name>Verena</first_name>
131
131
  <last_name>Test</last_name>
132
132
  <address1>123 Test St</address1>
@@ -141,22 +141,22 @@
141
141
  <credit_card>
142
142
  <type>visa</type>
143
143
  <last_four>1111</last_four>
144
- <month type="integer">3</month>
144
+ <month type="integer">4</month>
145
145
  <year type="integer">2012</year>
146
146
  </credit_card>
147
- <updated_at type="datetime">2011-03-18T18:56:20Z</updated_at>
147
+ <updated_at type="datetime">2011-04-04T02:26:01Z</updated_at>
148
148
  </billing_info>
149
149
 
150
150
  http_version: "1.1"
151
151
  - !ruby/struct:VCR::HTTPInteraction
152
152
  request: !ruby/struct:VCR::Request
153
153
  method: :post
154
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
154
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions.xml
155
155
  body: |
156
156
  <?xml version="1.0" encoding="UTF-8"?>
157
157
  <transaction>
158
158
  <account>
159
- <account-code>transaction-create-with-account-1300473500</account-code>
159
+ <account-code>transaction-create-with-account-1301883347</account-code>
160
160
  <billing-info>
161
161
  <credit-card>
162
162
  </credit-card>
@@ -168,7 +168,7 @@
168
168
 
169
169
  headers:
170
170
  authorization:
171
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
171
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
172
172
  content-type:
173
173
  - application/xml
174
174
  accept:
@@ -185,15 +185,15 @@
185
185
  cache-control:
186
186
  - no-cache
187
187
  location:
188
- - http://app.recurly.local:3000/transactions/9432160a0fbf4fd2873ff3fd97ba2168
188
+ - http://app.recurly.local:3000/transactions/bc291231b35843d9810af8c19401d6a2
189
189
  x-runtime:
190
- - "6942"
190
+ - "2246"
191
191
  content-type:
192
192
  - application/xml; charset=utf-8
193
193
  content-length:
194
- - "807"
194
+ - "872"
195
195
  set-cookie:
196
- - _recurly_session=059b5a8e8cb9a091357a42b6662530b7; domain=.recurly.local; path=/; HttpOnly
196
+ - _recurly_session=f4b4826e692d28f3b2f1620bcc19476d; domain=.recurly.local; path=/; HttpOnly
197
197
  connection:
198
198
  - close
199
199
  server:
@@ -201,19 +201,19 @@
201
201
  body: |
202
202
  <?xml version="1.0" encoding="UTF-8"?>
203
203
  <transaction type="Payment">
204
- <id>9432160a0fbf4fd2873ff3fd97ba2168</id>
205
- <account_code>transaction-create-with-account-1300473500</account_code>
204
+ <id>bc291231b35843d9810af8c19401d6a2</id>
205
+ <account_code>transaction-create-with-account-1301883347</account_code>
206
206
  <action>purchase</action>
207
- <date type="datetime">2011-03-18T18:56:27Z</date>
207
+ <date type="datetime">2011-04-04T02:26:04Z</date>
208
208
  <amount_in_cents type="integer">700</amount_in_cents>
209
209
  <status>success</status>
210
- <message>Approved</message>
211
- <reference>819793155761849641</reference>
212
- <cvv_result code=""></cvv_result>
213
- <avs_result code=""></avs_result>
214
- <avs_result_street></avs_result_street>
215
- <avs_result_postal></avs_result_postal>
216
- <test type="boolean">false</test>
210
+ <message>Test Gateway: Successful test transaction</message>
211
+ <reference>12345</reference>
212
+ <cvv_result code="M">Match</cvv_result>
213
+ <avs_result code="D">Street address and postal code match.</avs_result>
214
+ <avs_result_street>Y</avs_result_street>
215
+ <avs_result_postal>Y</avs_result_postal>
216
+ <test type="boolean">true</test>
217
217
  <voidable type="boolean">true</voidable>
218
218
  <refundable type="boolean">true</refundable>
219
219
  <credit_card>
@@ -2,11 +2,11 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
5
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>transaction-list-filled-1300473500</account-code>
9
+ <account-code>transaction-list-filled-1301883347</account-code>
10
10
  <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
@@ -20,7 +20,7 @@
20
20
 
21
21
  headers:
22
22
  authorization:
23
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
23
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
24
24
  content-type:
25
25
  - application/xml
26
26
  accept:
@@ -37,15 +37,15 @@
37
37
  cache-control:
38
38
  - no-cache
39
39
  location:
40
- - http://app.recurly.local:3000/accounts/transaction-list-filled-1300473500
40
+ - http://app.recurly.local:3000/accounts/transaction-list-filled-1301883347
41
41
  x-runtime:
42
- - "371"
42
+ - "304"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "601"
47
47
  set-cookie:
48
- - _recurly_session=181308e5b30472581f095399b120d1c5; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=eb0d5cfde2fab13b90c9b57a04ae7b03; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -53,8 +53,8 @@
53
53
  body: |
54
54
  <?xml version="1.0" encoding="UTF-8"?>
55
55
  <account>
56
- <id>transaction-list-filled-1300473500</id>
57
- <account_code>transaction-list-filled-1300473500</account_code>
56
+ <id>transaction-list-filled-1301883347</id>
57
+ <account_code>transaction-list-filled-1301883347</account_code>
58
58
  <username></username>
59
59
  <email>verena@test.com</email>
60
60
  <first_name>Verena</first_name>
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>b1356725fa744e1f80471e1a35f4cf93</hosted_login_token>
66
- <created_at type="datetime">2011-03-18T18:56:48Z</created_at>
65
+ <hosted_login_token>170b605823af4a10b34b2a920077ae92</hosted_login_token>
66
+ <created_at type="datetime">2011-04-04T02:26:17Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -71,7 +71,7 @@
71
71
  - !ruby/struct:VCR::HTTPInteraction
72
72
  request: !ruby/struct:VCR::Request
73
73
  method: :put
74
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/transaction-list-filled-1300473500/billing_info.xml
74
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/transaction-list-filled-1301883347/billing_info.xml
75
75
  body: |
76
76
  <?xml version="1.0" encoding="UTF-8"?>
77
77
  <billing-info>
@@ -85,15 +85,15 @@
85
85
  <credit-card>
86
86
  <number>4111111111111111</number>
87
87
  <year type="integer">2012</year>
88
- <month type="integer">3</month>
88
+ <month type="integer">4</month>
89
89
  <verification-value>123</verification-value>
90
90
  </credit-card>
91
- <account-code>transaction-list-filled-1300473500</account-code>
91
+ <account-code>transaction-list-filled-1301883347</account-code>
92
92
  </billing-info>
93
93
 
94
94
  headers:
95
95
  authorization:
96
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
96
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
97
97
  content-type:
98
98
  - application/xml
99
99
  accept:
@@ -108,17 +108,17 @@
108
108
  message: OK
109
109
  headers:
110
110
  x-runtime:
111
- - "6505"
111
+ - "1794"
112
112
  content-type:
113
113
  - application/xml; charset=utf-8
114
114
  etag:
115
- - "\"e87fdea8f7aec8031a13e9e7d3ecee40\""
115
+ - "\"6091c53874124ba2f0271d89a3eaf275\""
116
116
  cache-control:
117
117
  - private, max-age=0, must-revalidate
118
118
  content-length:
119
119
  - "649"
120
120
  set-cookie:
121
- - _recurly_session=5f12ee53e865203bae53a435c45bb4f2; domain=.recurly.local; path=/; HttpOnly
121
+ - _recurly_session=fe0f66f793762203b6d15fe8b2170cd9; domain=.recurly.local; path=/; HttpOnly
122
122
  connection:
123
123
  - close
124
124
  server:
@@ -126,7 +126,7 @@
126
126
  body: |
127
127
  <?xml version="1.0" encoding="UTF-8"?>
128
128
  <billing_info>
129
- <account_code>transaction-list-filled-1300473500</account_code>
129
+ <account_code>transaction-list-filled-1301883347</account_code>
130
130
  <first_name>Verena</first_name>
131
131
  <last_name>Test</last_name>
132
132
  <address1>123 Test St</address1>
@@ -141,22 +141,22 @@
141
141
  <credit_card>
142
142
  <type>visa</type>
143
143
  <last_four>1111</last_four>
144
- <month type="integer">3</month>
144
+ <month type="integer">4</month>
145
145
  <year type="integer">2012</year>
146
146
  </credit_card>
147
- <updated_at type="datetime">2011-03-18T18:56:56Z</updated_at>
147
+ <updated_at type="datetime">2011-04-04T02:26:21Z</updated_at>
148
148
  </billing_info>
149
149
 
150
150
  http_version: "1.1"
151
151
  - !ruby/struct:VCR::HTTPInteraction
152
152
  request: !ruby/struct:VCR::Request
153
153
  method: :post
154
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
154
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions.xml
155
155
  body: |
156
156
  <?xml version="1.0" encoding="UTF-8"?>
157
157
  <transaction>
158
158
  <account>
159
- <account-code>transaction-list-filled-1300473500</account-code>
159
+ <account-code>transaction-list-filled-1301883347</account-code>
160
160
  <billing-info>
161
161
  <credit-card>
162
162
  </credit-card>
@@ -168,7 +168,7 @@
168
168
 
169
169
  headers:
170
170
  authorization:
171
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
171
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
172
172
  content-type:
173
173
  - application/xml
174
174
  accept:
@@ -185,15 +185,15 @@
185
185
  cache-control:
186
186
  - no-cache
187
187
  location:
188
- - http://app.recurly.local:3000/transactions/e7217984af20459384d4bbd20f6b93ff
188
+ - http://app.recurly.local:3000/transactions/24bd9ebad08c42de9bbf6e15561e76e6
189
189
  x-runtime:
190
- - "6303"
190
+ - "2153"
191
191
  content-type:
192
192
  - application/xml; charset=utf-8
193
193
  content-length:
194
- - "799"
194
+ - "864"
195
195
  set-cookie:
196
- - _recurly_session=f07247c6b813c17c65febef8162481dd; domain=.recurly.local; path=/; HttpOnly
196
+ - _recurly_session=9061053c72b9ef51e8f6a3d246169fa1; domain=.recurly.local; path=/; HttpOnly
197
197
  connection:
198
198
  - close
199
199
  server:
@@ -201,19 +201,19 @@
201
201
  body: |
202
202
  <?xml version="1.0" encoding="UTF-8"?>
203
203
  <transaction type="Payment">
204
- <id>e7217984af20459384d4bbd20f6b93ff</id>
205
- <account_code>transaction-list-filled-1300473500</account_code>
204
+ <id>24bd9ebad08c42de9bbf6e15561e76e6</id>
205
+ <account_code>transaction-list-filled-1301883347</account_code>
206
206
  <action>purchase</action>
207
- <date type="datetime">2011-03-18T18:57:02Z</date>
207
+ <date type="datetime">2011-04-04T02:26:24Z</date>
208
208
  <amount_in_cents type="integer">100</amount_in_cents>
209
209
  <status>success</status>
210
- <message>Approved</message>
211
- <reference>819793155761850094</reference>
212
- <cvv_result code=""></cvv_result>
213
- <avs_result code=""></avs_result>
214
- <avs_result_street></avs_result_street>
215
- <avs_result_postal></avs_result_postal>
216
- <test type="boolean">false</test>
210
+ <message>Test Gateway: Successful test transaction</message>
211
+ <reference>12345</reference>
212
+ <cvv_result code="M">Match</cvv_result>
213
+ <avs_result code="D">Street address and postal code match.</avs_result>
214
+ <avs_result_street>Y</avs_result_street>
215
+ <avs_result_postal>Y</avs_result_postal>
216
+ <test type="boolean">true</test>
217
217
  <voidable type="boolean">true</voidable>
218
218
  <refundable type="boolean">true</refundable>
219
219
  <credit_card>
@@ -226,12 +226,12 @@
226
226
  - !ruby/struct:VCR::HTTPInteraction
227
227
  request: !ruby/struct:VCR::Request
228
228
  method: :post
229
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
229
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions.xml
230
230
  body: |
231
231
  <?xml version="1.0" encoding="UTF-8"?>
232
232
  <transaction>
233
233
  <account>
234
- <account-code>transaction-list-filled-1300473500</account-code>
234
+ <account-code>transaction-list-filled-1301883347</account-code>
235
235
  <billing-info>
236
236
  <credit-card>
237
237
  </credit-card>
@@ -243,7 +243,7 @@
243
243
 
244
244
  headers:
245
245
  authorization:
246
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
246
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
247
247
  content-type:
248
248
  - application/xml
249
249
  accept:
@@ -260,15 +260,15 @@
260
260
  cache-control:
261
261
  - no-cache
262
262
  location:
263
- - http://app.recurly.local:3000/transactions/79fcaa0cd07341a09e93fa37bfb746f5
263
+ - http://app.recurly.local:3000/transactions/52eebeb9015c4249b00dfea0f9c33cb9
264
264
  x-runtime:
265
- - "6384"
265
+ - "2174"
266
266
  content-type:
267
267
  - application/xml; charset=utf-8
268
268
  content-length:
269
- - "799"
269
+ - "864"
270
270
  set-cookie:
271
- - _recurly_session=6a63353d8ac2082192a7e3471465f5ec; domain=.recurly.local; path=/; HttpOnly
271
+ - _recurly_session=fc00ba2d9155f3bca076bba0e9b370d8; domain=.recurly.local; path=/; HttpOnly
272
272
  connection:
273
273
  - close
274
274
  server:
@@ -276,19 +276,19 @@
276
276
  body: |
277
277
  <?xml version="1.0" encoding="UTF-8"?>
278
278
  <transaction type="Payment">
279
- <id>79fcaa0cd07341a09e93fa37bfb746f5</id>
280
- <account_code>transaction-list-filled-1300473500</account_code>
279
+ <id>52eebeb9015c4249b00dfea0f9c33cb9</id>
280
+ <account_code>transaction-list-filled-1301883347</account_code>
281
281
  <action>purchase</action>
282
- <date type="datetime">2011-03-18T18:57:10Z</date>
282
+ <date type="datetime">2011-04-04T02:26:28Z</date>
283
283
  <amount_in_cents type="integer">200</amount_in_cents>
284
284
  <status>success</status>
285
- <message>Approved</message>
286
- <reference>819793155761850136</reference>
287
- <cvv_result code=""></cvv_result>
288
- <avs_result code=""></avs_result>
289
- <avs_result_street></avs_result_street>
290
- <avs_result_postal></avs_result_postal>
291
- <test type="boolean">false</test>
285
+ <message>Test Gateway: Successful test transaction</message>
286
+ <reference>12345</reference>
287
+ <cvv_result code="M">Match</cvv_result>
288
+ <avs_result code="D">Street address and postal code match.</avs_result>
289
+ <avs_result_street>Y</avs_result_street>
290
+ <avs_result_postal>Y</avs_result_postal>
291
+ <test type="boolean">true</test>
292
292
  <voidable type="boolean">true</voidable>
293
293
  <refundable type="boolean">true</refundable>
294
294
  <credit_card>
@@ -301,12 +301,12 @@
301
301
  - !ruby/struct:VCR::HTTPInteraction
302
302
  request: !ruby/struct:VCR::Request
303
303
  method: :post
304
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
304
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions.xml
305
305
  body: |
306
306
  <?xml version="1.0" encoding="UTF-8"?>
307
307
  <transaction>
308
308
  <account>
309
- <account-code>transaction-list-filled-1300473500</account-code>
309
+ <account-code>transaction-list-filled-1301883347</account-code>
310
310
  <billing-info>
311
311
  <credit-card>
312
312
  </credit-card>
@@ -318,7 +318,7 @@
318
318
 
319
319
  headers:
320
320
  authorization:
321
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
321
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
322
322
  content-type:
323
323
  - application/xml
324
324
  accept:
@@ -335,15 +335,15 @@
335
335
  cache-control:
336
336
  - no-cache
337
337
  location:
338
- - http://app.recurly.local:3000/transactions/3e51f98433a440449754d451738b141a
338
+ - http://app.recurly.local:3000/transactions/594da6230d1c4797b30bc86aadf87a22
339
339
  x-runtime:
340
- - "6536"
340
+ - "2038"
341
341
  content-type:
342
342
  - application/xml; charset=utf-8
343
343
  content-length:
344
- - "799"
344
+ - "864"
345
345
  set-cookie:
346
- - _recurly_session=826ae2909e214f2df574bc65cd2af4f9; domain=.recurly.local; path=/; HttpOnly
346
+ - _recurly_session=214b3aba849cc6e17212b449b009e5aa; domain=.recurly.local; path=/; HttpOnly
347
347
  connection:
348
348
  - close
349
349
  server:
@@ -351,19 +351,19 @@
351
351
  body: |
352
352
  <?xml version="1.0" encoding="UTF-8"?>
353
353
  <transaction type="Payment">
354
- <id>3e51f98433a440449754d451738b141a</id>
355
- <account_code>transaction-list-filled-1300473500</account_code>
354
+ <id>594da6230d1c4797b30bc86aadf87a22</id>
355
+ <account_code>transaction-list-filled-1301883347</account_code>
356
356
  <action>purchase</action>
357
- <date type="datetime">2011-03-18T18:57:19Z</date>
357
+ <date type="datetime">2011-04-04T02:26:32Z</date>
358
358
  <amount_in_cents type="integer">300</amount_in_cents>
359
359
  <status>success</status>
360
- <message>Approved</message>
361
- <reference>819793155761850193</reference>
362
- <cvv_result code=""></cvv_result>
363
- <avs_result code=""></avs_result>
364
- <avs_result_street></avs_result_street>
365
- <avs_result_postal></avs_result_postal>
366
- <test type="boolean">false</test>
360
+ <message>Test Gateway: Successful test transaction</message>
361
+ <reference>12345</reference>
362
+ <cvv_result code="M">Match</cvv_result>
363
+ <avs_result code="D">Street address and postal code match.</avs_result>
364
+ <avs_result_street>Y</avs_result_street>
365
+ <avs_result_postal>Y</avs_result_postal>
366
+ <test type="boolean">true</test>
367
367
  <voidable type="boolean">true</voidable>
368
368
  <refundable type="boolean">true</refundable>
369
369
  <credit_card>
@@ -376,11 +376,11 @@
376
376
  - !ruby/struct:VCR::HTTPInteraction
377
377
  request: !ruby/struct:VCR::Request
378
378
  method: :get
379
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/transaction-list-filled-1300473500/transactions
379
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/transaction-list-filled-1301883347/transactions
380
380
  body:
381
381
  headers:
382
382
  authorization:
383
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
383
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
384
384
  accept:
385
385
  - application/xml
386
386
  accept-encoding:
@@ -395,17 +395,17 @@
395
395
  message: OK
396
396
  headers:
397
397
  x-runtime:
398
- - "397"
398
+ - "310"
399
399
  content-type:
400
400
  - application/xml; charset=utf-8
401
401
  etag:
402
- - "\"62b21b9536d6aa4397df3d117e58ab92\""
402
+ - "\"e84a11c84e61f4147344205b1d1370b5\""
403
403
  cache-control:
404
404
  - private, max-age=0, must-revalidate
405
405
  content-length:
406
- - "3059"
406
+ - "3319"
407
407
  set-cookie:
408
- - _recurly_session=c0587f12fd3f7c55acc7ceed3b55f2cf; domain=.recurly.local; path=/; HttpOnly
408
+ - _recurly_session=fdc36fa7670a933a14b81bf2d4684d5d; domain=.recurly.local; path=/; HttpOnly
409
409
  connection:
410
410
  - close
411
411
  server:
@@ -417,72 +417,72 @@
417
417
  <per_page type="integer">50</per_page>
418
418
  <total_entries type="integer">4</total_entries>
419
419
  <transaction type="Payment">
420
- <id>3e51f98433a440449754d451738b141a</id>
421
- <account_code>transaction-list-filled-1300473500</account_code>
420
+ <id>594da6230d1c4797b30bc86aadf87a22</id>
421
+ <account_code>transaction-list-filled-1301883347</account_code>
422
422
  <action>purchase</action>
423
- <date type="datetime">2011-03-18T18:57:19Z</date>
423
+ <date type="datetime">2011-04-04T02:26:32Z</date>
424
424
  <amount_in_cents type="integer">300</amount_in_cents>
425
425
  <status>success</status>
426
- <message>Approved</message>
427
- <reference>819793155761850193</reference>
428
- <cvv_result code=""></cvv_result>
429
- <avs_result code=""></avs_result>
430
- <avs_result_street></avs_result_street>
431
- <avs_result_postal></avs_result_postal>
432
- <test type="boolean">false</test>
426
+ <message>Test Gateway: Successful test transaction</message>
427
+ <reference>12345</reference>
428
+ <cvv_result code="M">Match</cvv_result>
429
+ <avs_result code="D">Street address and postal code match.</avs_result>
430
+ <avs_result_street>Y</avs_result_street>
431
+ <avs_result_postal>Y</avs_result_postal>
432
+ <test type="boolean">true</test>
433
433
  <voidable type="boolean">true</voidable>
434
434
  <refundable type="boolean">true</refundable>
435
435
  </transaction>
436
436
  <transaction type="Payment">
437
- <id>79fcaa0cd07341a09e93fa37bfb746f5</id>
438
- <account_code>transaction-list-filled-1300473500</account_code>
437
+ <id>52eebeb9015c4249b00dfea0f9c33cb9</id>
438
+ <account_code>transaction-list-filled-1301883347</account_code>
439
439
  <action>purchase</action>
440
- <date type="datetime">2011-03-18T18:57:10Z</date>
440
+ <date type="datetime">2011-04-04T02:26:28Z</date>
441
441
  <amount_in_cents type="integer">200</amount_in_cents>
442
442
  <status>success</status>
443
- <message>Approved</message>
444
- <reference>819793155761850136</reference>
445
- <cvv_result code=""></cvv_result>
446
- <avs_result code=""></avs_result>
447
- <avs_result_street></avs_result_street>
448
- <avs_result_postal></avs_result_postal>
449
- <test type="boolean">false</test>
443
+ <message>Test Gateway: Successful test transaction</message>
444
+ <reference>12345</reference>
445
+ <cvv_result code="M">Match</cvv_result>
446
+ <avs_result code="D">Street address and postal code match.</avs_result>
447
+ <avs_result_street>Y</avs_result_street>
448
+ <avs_result_postal>Y</avs_result_postal>
449
+ <test type="boolean">true</test>
450
450
  <voidable type="boolean">true</voidable>
451
451
  <refundable type="boolean">true</refundable>
452
452
  </transaction>
453
453
  <transaction type="Payment">
454
- <id>e7217984af20459384d4bbd20f6b93ff</id>
455
- <account_code>transaction-list-filled-1300473500</account_code>
454
+ <id>24bd9ebad08c42de9bbf6e15561e76e6</id>
455
+ <account_code>transaction-list-filled-1301883347</account_code>
456
456
  <action>purchase</action>
457
- <date type="datetime">2011-03-18T18:57:02Z</date>
457
+ <date type="datetime">2011-04-04T02:26:24Z</date>
458
458
  <amount_in_cents type="integer">100</amount_in_cents>
459
459
  <status>success</status>
460
- <message>Approved</message>
461
- <reference>819793155761850094</reference>
462
- <cvv_result code=""></cvv_result>
463
- <avs_result code=""></avs_result>
464
- <avs_result_street></avs_result_street>
465
- <avs_result_postal></avs_result_postal>
466
- <test type="boolean">false</test>
460
+ <message>Test Gateway: Successful test transaction</message>
461
+ <reference>12345</reference>
462
+ <cvv_result code="M">Match</cvv_result>
463
+ <avs_result code="D">Street address and postal code match.</avs_result>
464
+ <avs_result_street>Y</avs_result_street>
465
+ <avs_result_postal>Y</avs_result_postal>
466
+ <test type="boolean">true</test>
467
467
  <voidable type="boolean">true</voidable>
468
468
  <refundable type="boolean">true</refundable>
469
469
  </transaction>
470
470
  <transaction type="Payment">
471
- <id>4d9cceb09cb64555be16d16ffdb8a763</id>
472
- <account_code>transaction-list-filled-1300473500</account_code>
471
+ <id>3766ba338b704fdc9c657c51f702b1e1</id>
472
+ <account_code>transaction-list-filled-1301883347</account_code>
473
473
  <action>authorization</action>
474
- <date type="datetime">2011-03-18T18:56:54Z</date>
475
- <amount_in_cents type="integer">100</amount_in_cents>
476
- <status>void</status>
477
- <message>Approved</message>
478
- <reference>819793155761850029</reference>
479
- <cvv_result code=""></cvv_result>
480
- <avs_result code=""></avs_result>
481
- <avs_result_street></avs_result_street>
482
- <avs_result_postal></avs_result_postal>
483
- <test type="boolean">false</test>
474
+ <date type="datetime">2011-04-04T02:26:21Z</date>
475
+ <amount_in_cents type="integer">0</amount_in_cents>
476
+ <status>success</status>
477
+ <message>Test Gateway: Successful test transaction</message>
478
+ <reference>12345</reference>
479
+ <cvv_result code="M">Match</cvv_result>
480
+ <avs_result code="D">Street address and postal code match.</avs_result>
481
+ <avs_result_street>Y</avs_result_street>
482
+ <avs_result_postal>Y</avs_result_postal>
483
+ <test type="boolean">true</test>
484
484
  <voidable type="boolean">false</voidable>
485
- <refundable type="boolean">false</refundable>
485
+ <refundable type="boolean">true</refundable>
486
486
  </transaction>
487
487
  </transactions>
488
488
 
@@ -490,11 +490,11 @@
490
490
  - !ruby/struct:VCR::HTTPInteraction
491
491
  request: !ruby/struct:VCR::Request
492
492
  method: :get
493
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/transaction-list-filled-1300473500/transactions
493
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/transaction-list-filled-1301883347/transactions
494
494
  body:
495
495
  headers:
496
496
  authorization:
497
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
497
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
498
498
  accept:
499
499
  - application/xml
500
500
  accept-encoding:
@@ -509,17 +509,17 @@
509
509
  message: OK
510
510
  headers:
511
511
  x-runtime:
512
- - "397"
512
+ - "309"
513
513
  content-type:
514
514
  - application/xml; charset=utf-8
515
515
  etag:
516
- - "\"62b21b9536d6aa4397df3d117e58ab92\""
516
+ - "\"e84a11c84e61f4147344205b1d1370b5\""
517
517
  cache-control:
518
518
  - private, max-age=0, must-revalidate
519
519
  content-length:
520
- - "3059"
520
+ - "3319"
521
521
  set-cookie:
522
- - _recurly_session=5f03780f13495c03420eb20a97d18e5c; domain=.recurly.local; path=/; HttpOnly
522
+ - _recurly_session=b28b57f866491afe40dded59b14aa7e4; domain=.recurly.local; path=/; HttpOnly
523
523
  connection:
524
524
  - close
525
525
  server:
@@ -531,72 +531,72 @@
531
531
  <per_page type="integer">50</per_page>
532
532
  <total_entries type="integer">4</total_entries>
533
533
  <transaction type="Payment">
534
- <id>3e51f98433a440449754d451738b141a</id>
535
- <account_code>transaction-list-filled-1300473500</account_code>
534
+ <id>594da6230d1c4797b30bc86aadf87a22</id>
535
+ <account_code>transaction-list-filled-1301883347</account_code>
536
536
  <action>purchase</action>
537
- <date type="datetime">2011-03-18T18:57:19Z</date>
537
+ <date type="datetime">2011-04-04T02:26:32Z</date>
538
538
  <amount_in_cents type="integer">300</amount_in_cents>
539
539
  <status>success</status>
540
- <message>Approved</message>
541
- <reference>819793155761850193</reference>
542
- <cvv_result code=""></cvv_result>
543
- <avs_result code=""></avs_result>
544
- <avs_result_street></avs_result_street>
545
- <avs_result_postal></avs_result_postal>
546
- <test type="boolean">false</test>
540
+ <message>Test Gateway: Successful test transaction</message>
541
+ <reference>12345</reference>
542
+ <cvv_result code="M">Match</cvv_result>
543
+ <avs_result code="D">Street address and postal code match.</avs_result>
544
+ <avs_result_street>Y</avs_result_street>
545
+ <avs_result_postal>Y</avs_result_postal>
546
+ <test type="boolean">true</test>
547
547
  <voidable type="boolean">true</voidable>
548
548
  <refundable type="boolean">true</refundable>
549
549
  </transaction>
550
550
  <transaction type="Payment">
551
- <id>79fcaa0cd07341a09e93fa37bfb746f5</id>
552
- <account_code>transaction-list-filled-1300473500</account_code>
551
+ <id>52eebeb9015c4249b00dfea0f9c33cb9</id>
552
+ <account_code>transaction-list-filled-1301883347</account_code>
553
553
  <action>purchase</action>
554
- <date type="datetime">2011-03-18T18:57:10Z</date>
554
+ <date type="datetime">2011-04-04T02:26:28Z</date>
555
555
  <amount_in_cents type="integer">200</amount_in_cents>
556
556
  <status>success</status>
557
- <message>Approved</message>
558
- <reference>819793155761850136</reference>
559
- <cvv_result code=""></cvv_result>
560
- <avs_result code=""></avs_result>
561
- <avs_result_street></avs_result_street>
562
- <avs_result_postal></avs_result_postal>
563
- <test type="boolean">false</test>
557
+ <message>Test Gateway: Successful test transaction</message>
558
+ <reference>12345</reference>
559
+ <cvv_result code="M">Match</cvv_result>
560
+ <avs_result code="D">Street address and postal code match.</avs_result>
561
+ <avs_result_street>Y</avs_result_street>
562
+ <avs_result_postal>Y</avs_result_postal>
563
+ <test type="boolean">true</test>
564
564
  <voidable type="boolean">true</voidable>
565
565
  <refundable type="boolean">true</refundable>
566
566
  </transaction>
567
567
  <transaction type="Payment">
568
- <id>e7217984af20459384d4bbd20f6b93ff</id>
569
- <account_code>transaction-list-filled-1300473500</account_code>
568
+ <id>24bd9ebad08c42de9bbf6e15561e76e6</id>
569
+ <account_code>transaction-list-filled-1301883347</account_code>
570
570
  <action>purchase</action>
571
- <date type="datetime">2011-03-18T18:57:02Z</date>
571
+ <date type="datetime">2011-04-04T02:26:24Z</date>
572
572
  <amount_in_cents type="integer">100</amount_in_cents>
573
573
  <status>success</status>
574
- <message>Approved</message>
575
- <reference>819793155761850094</reference>
576
- <cvv_result code=""></cvv_result>
577
- <avs_result code=""></avs_result>
578
- <avs_result_street></avs_result_street>
579
- <avs_result_postal></avs_result_postal>
580
- <test type="boolean">false</test>
574
+ <message>Test Gateway: Successful test transaction</message>
575
+ <reference>12345</reference>
576
+ <cvv_result code="M">Match</cvv_result>
577
+ <avs_result code="D">Street address and postal code match.</avs_result>
578
+ <avs_result_street>Y</avs_result_street>
579
+ <avs_result_postal>Y</avs_result_postal>
580
+ <test type="boolean">true</test>
581
581
  <voidable type="boolean">true</voidable>
582
582
  <refundable type="boolean">true</refundable>
583
583
  </transaction>
584
584
  <transaction type="Payment">
585
- <id>4d9cceb09cb64555be16d16ffdb8a763</id>
586
- <account_code>transaction-list-filled-1300473500</account_code>
585
+ <id>3766ba338b704fdc9c657c51f702b1e1</id>
586
+ <account_code>transaction-list-filled-1301883347</account_code>
587
587
  <action>authorization</action>
588
- <date type="datetime">2011-03-18T18:56:54Z</date>
589
- <amount_in_cents type="integer">100</amount_in_cents>
590
- <status>void</status>
591
- <message>Approved</message>
592
- <reference>819793155761850029</reference>
593
- <cvv_result code=""></cvv_result>
594
- <avs_result code=""></avs_result>
595
- <avs_result_street></avs_result_street>
596
- <avs_result_postal></avs_result_postal>
597
- <test type="boolean">false</test>
588
+ <date type="datetime">2011-04-04T02:26:21Z</date>
589
+ <amount_in_cents type="integer">0</amount_in_cents>
590
+ <status>success</status>
591
+ <message>Test Gateway: Successful test transaction</message>
592
+ <reference>12345</reference>
593
+ <cvv_result code="M">Match</cvv_result>
594
+ <avs_result code="D">Street address and postal code match.</avs_result>
595
+ <avs_result_street>Y</avs_result_street>
596
+ <avs_result_postal>Y</avs_result_postal>
597
+ <test type="boolean">true</test>
598
598
  <voidable type="boolean">false</voidable>
599
- <refundable type="boolean">false</refundable>
599
+ <refundable type="boolean">true</refundable>
600
600
  </transaction>
601
601
  </transactions>
602
602