recurly 0.2.9 → 0.3.0

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 (86) hide show
  1. data/lib/recurly.rb +13 -5
  2. data/lib/recurly/rails3/railtie.rb +1 -8
  3. data/lib/recurly/version.rb +1 -1
  4. data/spec/vcr/account/close/1288381765.yml +15 -15
  5. data/spec/vcr/account/create-blank/1288381765.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
  7. data/spec/vcr/account/create-min/1288381765.yml +6 -6
  8. data/spec/vcr/account/create/1288381765.yml +6 -6
  9. data/spec/vcr/account/find/1288381765.yml +14 -14
  10. data/spec/vcr/account/list/1288381765.yml +251 -530
  11. data/spec/vcr/account/update/1288381765.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +20 -20
  13. data/spec/vcr/billing/destroy/1286682213.yml +29 -29
  14. data/spec/vcr/billing/find/1286682213.yml +25 -25
  15. data/spec/vcr/billing/update/1286682213.yml +27 -27
  16. data/spec/vcr/charge/create/1287465632.yml +31 -29
  17. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
  18. data/spec/vcr/charge/list-all/1287465632.yml +43 -40
  19. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
  20. data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
  21. data/spec/vcr/charge/lookup/1287465632.yml +24 -22
  22. data/spec/vcr/credit/create/1287461400.yml +24 -22
  23. data/spec/vcr/credit/delete/1287461400.yml +31 -29
  24. data/spec/vcr/credit/list/1287461400.yml +47 -41
  25. data/spec/vcr/credit/lookup/1287461400.yml +23 -21
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
  27. data/spec/vcr/invoice/create/1287167121.yml +42 -40
  28. data/spec/vcr/invoice/list/1287167121.yml +59 -57
  29. data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +12 -12
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
  35. data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
  36. data/spec/vcr/subscription/change1/1287455769.yml +39 -39
  37. data/spec/vcr/subscription/change2/1287455769.yml +39 -39
  38. data/spec/vcr/subscription/create/1287455769.yml +18 -18
  39. data/spec/vcr/subscription/find/1287455769.yml +25 -25
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
  44. data/spec/vcr/transaction/all/1289558212.yml +363 -54
  45. data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
  46. data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
  47. data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
  48. data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
  49. data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
  50. data/spec/vcr/transaction/refund/1289558212.yml +82 -90
  51. data/spec/vcr/transaction/void/1289558212.yml +377 -143
  52. metadata +4 -72
  53. data/spec/vcr/account/close/1287167046.yml +0 -159
  54. data/spec/vcr/account/close/1288381369.yml +0 -159
  55. data/spec/vcr/account/close/1288381447.yml +0 -159
  56. data/spec/vcr/account/create-blank/1287167046.yml +0 -49
  57. data/spec/vcr/account/create-blank/1288381369.yml +0 -49
  58. data/spec/vcr/account/create-blank/1288381447.yml +0 -49
  59. data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
  60. data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
  61. data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
  62. data/spec/vcr/account/create-min/1287167046.yml +0 -63
  63. data/spec/vcr/account/create-min/1288381369.yml +0 -63
  64. data/spec/vcr/account/create-min/1288381447.yml +0 -63
  65. data/spec/vcr/account/create/1287167046.yml +0 -67
  66. data/spec/vcr/account/create/1288381369.yml +0 -67
  67. data/spec/vcr/account/create/1288381447.yml +0 -67
  68. data/spec/vcr/account/find-all/1288381369.yml +0 -52
  69. data/spec/vcr/account/find-all/1288381447.yml +0 -1383
  70. data/spec/vcr/account/find/1287167046.yml +0 -160
  71. data/spec/vcr/account/find/1288381369.yml +0 -160
  72. data/spec/vcr/account/find/1288381447.yml +0 -160
  73. data/spec/vcr/account/list/1287167046.yml +0 -1538
  74. data/spec/vcr/account/list/1288381369.yml +0 -1835
  75. data/spec/vcr/account/list/1288381447.yml +0 -1835
  76. data/spec/vcr/account/update/1287167046.yml +0 -250
  77. data/spec/vcr/account/update/1288381369.yml +0 -250
  78. data/spec/vcr/account/update/1288381447.yml +0 -250
  79. data/spec/vcr/transaction/all/1287186411.yml +0 -387
  80. data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
  81. data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
  82. data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
  83. data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
  84. data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
  85. data/spec/vcr/transaction/refund/1287186411.yml +0 -282
  86. data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -6,49 +6,47 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
+ <company-name>Recurly Ruby Gem</company-name>
9
10
  <account-code>transaction-list-initial-1289558212</account-code>
10
- <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
- <company-name>Recurly Ruby Gem</company-name>
13
+ <first-name>Verena</first-name>
14
14
  </account>
15
15
 
16
16
  headers:
17
- authorization:
18
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
19
- content-type:
20
- - application/xml
21
17
  accept:
22
18
  - "*/*"
23
- user-agent:
24
- - Ruby
25
19
  connection:
26
20
  - close
21
+ content-type:
22
+ - application/xml
23
+ authorization:
24
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
27
25
  response: !ruby/struct:VCR::Response
28
26
  status: !ruby/struct:VCR::ResponseStatus
29
27
  code: 201
30
28
  message: Created
31
29
  headers:
32
- server:
33
- - nginx/0.7.65
34
- date:
35
- - Fri, 12 Nov 2010 10:36:53 GMT
36
- content-type:
37
- - application/xml; charset=utf-8
38
- connection:
39
- - close
40
- cache-control:
41
- - no-cache
42
30
  location:
43
31
  - https://recurlytest3-test.recurly.com/accounts/transaction-list-initial-1289558212
32
+ connection:
33
+ - close
34
+ content-type:
35
+ - application/xml; charset=utf-8
44
36
  x-runtime:
45
- - "433"
37
+ - "273"
38
+ date:
39
+ - Tue, 16 Nov 2010 07:04:49 GMT
40
+ server:
41
+ - nginx/0.7.65
46
42
  content-length:
47
43
  - "603"
48
44
  set-cookie:
49
- - account_credentials=ac7117877b62b94b12083f99f353e89ac902b2f4382249fd2f61f48ff3eadba6dd17935e92d931d1c5716ad9652b28bf3908b4248db69df8e2f8626a4bf7dbcd%3A%3A; domain=.recurly.com; path=/
45
+ - account_credentials=222443003381f732fda261e516892df1c857db4d9dce82d092a9526a2b88591b153fbe3ff1ce9ae4ea27e62b80d60af7c67cb8c3dd8408f548f19f1283fa8521%3A%3A; domain=.recurly.com; path=/
50
46
  - ""
51
- - _recurly_session=d697392270a39755c9d40b5c5f3b3767; domain=.recurly.com; path=/; secure; HttpOnly
47
+ - _recurly_session=aefb18c3b2dbaabaca272512a961de23; domain=.recurly.com; path=/; secure; HttpOnly
48
+ cache-control:
49
+ - no-cache
52
50
  body: |
53
51
  <?xml version="1.0" encoding="UTF-8"?>
54
52
  <account>
@@ -61,8 +59,8 @@
61
59
  <company_name>Recurly Ruby Gem</company_name>
62
60
  <balance_in_cents type="integer">0</balance_in_cents>
63
61
  <closed type="boolean">false</closed>
64
- <hosted_login_token>c9f9bdb776c648f4a3889f6697f561fd</hosted_login_token>
65
- <created_at type="datetime">2010-11-12T10:36:53Z</created_at>
62
+ <hosted_login_token>75c77a9188b44c0a99a0c6c85e04b258</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:04:49Z</created_at>
66
64
  <state>active</state>
67
65
  </account>
68
66
 
@@ -74,58 +72,56 @@
74
72
  body: |
75
73
  <?xml version="1.0" encoding="UTF-8"?>
76
74
  <billing-info>
77
- <address1>123 Test St</address1>
78
75
  <city>San Francisco</city>
79
- <state>CA</state>
76
+ <address1>123 Test St</address1>
80
77
  <zip>94115</zip>
78
+ <account-code>transaction-list-initial-1289558212</account-code>
81
79
  <country>US</country>
82
80
  <credit-card>
83
81
  <number>1</number>
84
- <year type="integer">2011</year>
85
82
  <month type="integer">11</month>
83
+ <year type="integer">2011</year>
86
84
  <verification-value>123</verification-value>
87
85
  </credit-card>
88
- <account-code>transaction-list-initial-1289558212</account-code>
89
- <first-name>Verena</first-name>
90
86
  <last-name>Test</last-name>
87
+ <first-name>Verena</first-name>
88
+ <state>CA</state>
91
89
  </billing-info>
92
90
 
93
91
  headers:
94
- authorization:
95
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
96
- content-type:
97
- - application/xml
98
92
  accept:
99
93
  - "*/*"
100
- user-agent:
101
- - Ruby
102
94
  connection:
103
95
  - close
96
+ content-type:
97
+ - application/xml
98
+ authorization:
99
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
104
100
  response: !ruby/struct:VCR::Response
105
101
  status: !ruby/struct:VCR::ResponseStatus
106
102
  code: 200
107
103
  message: OK
108
104
  headers:
109
- server:
110
- - nginx/0.7.65
111
- date:
112
- - Fri, 12 Nov 2010 10:36:51 GMT
113
- content-type:
114
- - application/xml; charset=utf-8
105
+ x-ua-compatible:
106
+ - IE=Edge
107
+ etag:
108
+ - "\"bec065c44c3f915da311e1ad869b038c\""
115
109
  connection:
116
110
  - close
111
+ content-type:
112
+ - application/xml; charset=utf-8
117
113
  x-runtime:
118
- - "45"
119
- etag:
120
- - "\"e2786bdc2557f590230ab01f02873511\""
121
- cache-control:
122
- - private, max-age=0, must-revalidate
114
+ - "58"
115
+ date:
116
+ - Tue, 16 Nov 2010 07:04:52 GMT
117
+ server:
118
+ - nginx/0.7.65
123
119
  content-length:
124
120
  - "649"
125
121
  set-cookie:
126
- - _recurly_session=03247a323e55fbb5328241b3ff3fb53d; domain=.recurly.com; path=/; secure; HttpOnly
127
- x-ua-compatible:
128
- - IE=Edge
122
+ - _recurly_session=e5230f43ac11d6850ddbdcd643f6b7c2; domain=.recurly.com; path=/; secure; HttpOnly
123
+ cache-control:
124
+ - private, max-age=0, must-revalidate
129
125
  body: |
130
126
  <?xml version="1.0" encoding="UTF-8"?>
131
127
  <billing_info>
@@ -147,7 +143,7 @@
147
143
  <month type="integer">11</month>
148
144
  <year type="integer">2011</year>
149
145
  </credit_card>
150
- <updated_at type="datetime">2010-11-12T10:36:51Z</updated_at>
146
+ <updated_at type="datetime">2010-11-16T07:04:52Z</updated_at>
151
147
  </billing_info>
152
148
 
153
149
  http_version: "1.1"
@@ -157,54 +153,60 @@
157
153
  uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-initial-1289558212/transactions
158
154
  body:
159
155
  headers:
160
- authorization:
161
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
162
156
  accept:
163
157
  - application/xml
164
- accept-encoding:
165
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
166
- user-agent:
167
- - Ruby
168
158
  connection:
169
159
  - close
160
+ authorization:
161
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
170
162
  response: !ruby/struct:VCR::Response
171
163
  status: !ruby/struct:VCR::ResponseStatus
172
164
  code: 200
173
165
  message: OK
174
166
  headers:
175
- server:
176
- - nginx/0.7.65
177
- date:
178
- - Fri, 12 Nov 2010 10:36:54 GMT
179
- content-type:
180
- - application/xml; charset=utf-8
181
- transfer-encoding:
182
- - chunked
167
+ x-ua-compatible:
168
+ - IE=Edge
169
+ etag:
170
+ - "\"e73db2e5469a9fbf42ddb557c1c2ccce\""
183
171
  connection:
184
172
  - close
173
+ content-type:
174
+ - application/xml; charset=utf-8
185
175
  x-runtime:
186
- - "30"
187
- etag:
188
- - "\"ab19e78c0fb23867494865abfe65983d\""
176
+ - "31"
177
+ date:
178
+ - Tue, 16 Nov 2010 07:04:50 GMT
179
+ server:
180
+ - nginx/0.7.65
181
+ content-length:
182
+ - "1002"
183
+ set-cookie:
184
+ - _recurly_session=e488ef4fed8a07befcd8bbd7ef79bbdf; domain=.recurly.com; path=/; secure; HttpOnly
189
185
  cache-control:
190
186
  - private, max-age=0, must-revalidate
191
- set-cookie:
192
- - _recurly_session=ae1cb4c5243188becf6eac471d8a6e09; domain=.recurly.com; path=/; secure; HttpOnly
193
- x-ua-compatible:
194
- - IE=Edge
195
- content-encoding:
196
- - gzip
197
- body: !binary |
198
- H4sIAAAAAAAAA32TTY/bIBCG7/kViLvXH5uk3shhL1V7WqnSpmdrjCdZJGxH
199
- ME6b/voO/khibdUbMM+8vLxA8fq7seKCzpuu3cv0KZECW93Vpj3t5c/DtyiX
200
- r2pVkIPWgyamvKDrGfdSd9bisCLVSohC985hS+UZTjghpiU8oZMqLeLH8sCf
201
- 0f2T3SRFPNcGkDoCW7K0Mzhv/qi8qI8dd7eTkx9wbVhhcMqSplZYryutEaps
202
- m6zTbP2i8xy2FWKSrL88I5tgaKRB667nk3EsqB6SiKzxFJnWkAEbpVn+stnk
203
- WZoV8aJjFglRKejpo3PmD4RZAIfVEamB5uTCkEyDUmVJmkRpyvKHJNs9b3eb
204
- NEryXcIGAzRbbAaHpi01H/NzSgGHJTN1egLqvbp0pi7iaTLaadB7vkt1QE/i
205
- O+/1C6478d5zat4feysoFB7yKOK5ZRRweER+EhpVEd/HY01fLqVD31sSIda9
206
- fJPqDUh/8Eu5lebDXfyS/SrVOzlEElDXrOIFtLU4d2zfDnKiCVJPfOZb6yet
207
- 0g8S7O0OzWvTld2ay1F7yU5rIztmMXyMqussAv8Kcj0WcahMm4eQobLzJd/A
208
- I1jP5FyeaI6sb//H34HQwTvdnz1/2cepV6u/vVg7zOoDAAA=
187
+ body: |
188
+ <?xml version="1.0" encoding="UTF-8"?>
189
+ <transactions type="collection">
190
+ <current_page type="integer">1</current_page>
191
+ <per_page type="integer">50</per_page>
192
+ <total_entries type="integer">1</total_entries>
193
+ <transaction type="Payment">
194
+ <id>847d5ab8c41c423193e73e4aa7d0b631</id>
195
+ <account_code>transaction-list-initial-1289558212</account_code>
196
+ <action>authorization</action>
197
+ <date type="datetime">2010-11-15T23:04:52-08:00</date>
198
+ <amount_in_cents type="integer">100</amount_in_cents>
199
+ <status>void</status>
200
+ <message>Test Gateway: Successful test transaction</message>
201
+ <reference></reference>
202
+ <cvv_result code="M">Match</cvv_result>
203
+ <avs_result code="D">Street address and postal code match.</avs_result>
204
+ <avs_result_street></avs_result_street>
205
+ <avs_result_postal></avs_result_postal>
206
+ <test type="boolean">true</test>
207
+ <voidable type="boolean">false</voidable>
208
+ <refundable type="boolean">false</refundable>
209
+ </transaction>
210
+ </transactions>
209
211
 
210
212
  http_version: "1.1"
@@ -6,49 +6,47 @@
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
+ <company-name>Recurly Ruby Gem</company-name>
9
10
  <account-code>transaction-lookup-1289558212</account-code>
10
- <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
- <company-name>Recurly Ruby Gem</company-name>
13
+ <first-name>Verena</first-name>
14
14
  </account>
15
15
 
16
16
  headers:
17
- authorization:
18
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
19
- content-type:
20
- - application/xml
21
17
  accept:
22
18
  - "*/*"
23
- user-agent:
24
- - Ruby
25
19
  connection:
26
20
  - close
21
+ content-type:
22
+ - application/xml
23
+ authorization:
24
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
27
25
  response: !ruby/struct:VCR::Response
28
26
  status: !ruby/struct:VCR::ResponseStatus
29
27
  code: 201
30
28
  message: Created
31
29
  headers:
32
- server:
33
- - nginx/0.7.65
34
- date:
35
- - Fri, 12 Nov 2010 10:36:55 GMT
36
- content-type:
37
- - application/xml; charset=utf-8
38
- connection:
39
- - close
40
- cache-control:
41
- - no-cache
42
30
  location:
43
31
  - https://recurlytest3-test.recurly.com/accounts/transaction-lookup-1289558212
32
+ connection:
33
+ - close
34
+ content-type:
35
+ - application/xml; charset=utf-8
44
36
  x-runtime:
45
- - "254"
37
+ - "275"
38
+ date:
39
+ - Tue, 16 Nov 2010 07:04:56 GMT
40
+ server:
41
+ - nginx/0.7.65
46
42
  content-length:
47
43
  - "591"
48
44
  set-cookie:
49
- - account_credentials=ef4cfca02cf1f0d83ede8bc0c5f1b8a196607d29189789dbda879d99c405d356e5836b04f77a5c5e84233febc27b1408d3a9cc99c91ce2bc352a8854dfc9f547%3A%3A; domain=.recurly.com; path=/
45
+ - account_credentials=621900741d7d1f28b6b5dfe3064fb721a6a1a56d5c3bf69a1f83e8dec30991af2f707f703d68a5e2a14eec0194ff91e6fec9f0ba3f9944d4635ba5970f554a7f%3A%3A; domain=.recurly.com; path=/
50
46
  - ""
51
- - _recurly_session=f1a101e1d1c6077b3edcfa5409835972; domain=.recurly.com; path=/; secure; HttpOnly
47
+ - _recurly_session=ad2dad534ac00106728e20ab4d25751f; domain=.recurly.com; path=/; secure; HttpOnly
48
+ cache-control:
49
+ - no-cache
52
50
  body: |
53
51
  <?xml version="1.0" encoding="UTF-8"?>
54
52
  <account>
@@ -61,8 +59,8 @@
61
59
  <company_name>Recurly Ruby Gem</company_name>
62
60
  <balance_in_cents type="integer">0</balance_in_cents>
63
61
  <closed type="boolean">false</closed>
64
- <hosted_login_token>96adc9c7e5f342bfb8162e6887f29ef4</hosted_login_token>
65
- <created_at type="datetime">2010-11-12T10:36:55Z</created_at>
62
+ <hosted_login_token>5ce44ca4518d4e2cb0e5910fdeae731b</hosted_login_token>
63
+ <created_at type="datetime">2010-11-16T07:04:56Z</created_at>
66
64
  <state>active</state>
67
65
  </account>
68
66
 
@@ -74,58 +72,56 @@
74
72
  body: |
75
73
  <?xml version="1.0" encoding="UTF-8"?>
76
74
  <billing-info>
77
- <address1>123 Test St</address1>
78
75
  <city>San Francisco</city>
79
- <state>CA</state>
76
+ <address1>123 Test St</address1>
80
77
  <zip>94115</zip>
78
+ <account-code>transaction-lookup-1289558212</account-code>
81
79
  <country>US</country>
82
80
  <credit-card>
83
81
  <number>1</number>
84
- <year type="integer">2011</year>
85
82
  <month type="integer">11</month>
83
+ <year type="integer">2011</year>
86
84
  <verification-value>123</verification-value>
87
85
  </credit-card>
88
- <account-code>transaction-lookup-1289558212</account-code>
89
- <first-name>Verena</first-name>
90
86
  <last-name>Test</last-name>
87
+ <first-name>Verena</first-name>
88
+ <state>CA</state>
91
89
  </billing-info>
92
90
 
93
91
  headers:
94
- authorization:
95
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
96
- content-type:
97
- - application/xml
98
92
  accept:
99
93
  - "*/*"
100
- user-agent:
101
- - Ruby
102
94
  connection:
103
95
  - close
96
+ content-type:
97
+ - application/xml
98
+ authorization:
99
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
104
100
  response: !ruby/struct:VCR::Response
105
101
  status: !ruby/struct:VCR::ResponseStatus
106
102
  code: 200
107
103
  message: OK
108
104
  headers:
109
- server:
110
- - nginx/0.7.65
111
- date:
112
- - Fri, 12 Nov 2010 10:36:58 GMT
113
- content-type:
114
- - application/xml; charset=utf-8
105
+ x-ua-compatible:
106
+ - IE=Edge
107
+ etag:
108
+ - "\"29afc8dd4982aa90828f3bc2aeb97b32\""
115
109
  connection:
116
110
  - close
111
+ content-type:
112
+ - application/xml; charset=utf-8
117
113
  x-runtime:
118
- - "50"
119
- etag:
120
- - "\"e2dbcadabef5a147a24377725470ee39\""
121
- cache-control:
122
- - private, max-age=0, must-revalidate
114
+ - "59"
115
+ date:
116
+ - Tue, 16 Nov 2010 07:04:58 GMT
117
+ server:
118
+ - nginx/0.7.65
123
119
  content-length:
124
120
  - "643"
125
121
  set-cookie:
126
- - _recurly_session=c3236826b7b2d27e9511e47d2be7a73b; domain=.recurly.com; path=/; secure; HttpOnly
127
- x-ua-compatible:
128
- - IE=Edge
122
+ - _recurly_session=eddfce96155b161a54e3a6ffe79cad59; domain=.recurly.com; path=/; secure; HttpOnly
123
+ cache-control:
124
+ - private, max-age=0, must-revalidate
129
125
  body: |
130
126
  <?xml version="1.0" encoding="UTF-8"?>
131
127
  <billing_info>
@@ -147,7 +143,7 @@
147
143
  <month type="integer">11</month>
148
144
  <year type="integer">2011</year>
149
145
  </credit_card>
150
- <updated_at type="datetime">2010-11-12T10:36:58Z</updated_at>
146
+ <updated_at type="datetime">2010-11-16T07:04:58Z</updated_at>
151
147
  </billing_info>
152
148
 
153
149
  http_version: "1.1"
@@ -166,46 +162,44 @@
166
162
  </transaction>
167
163
 
168
164
  headers:
169
- authorization:
170
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
171
- content-type:
172
- - application/xml
173
165
  accept:
174
166
  - "*/*"
175
- user-agent:
176
- - Ruby
177
167
  connection:
178
168
  - close
169
+ content-type:
170
+ - application/xml
171
+ authorization:
172
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
179
173
  response: !ruby/struct:VCR::Response
180
174
  status: !ruby/struct:VCR::ResponseStatus
181
175
  code: 201
182
176
  message: Created
183
177
  headers:
184
- server:
185
- - nginx/0.7.65
186
- date:
187
- - Fri, 12 Nov 2010 10:36:56 GMT
188
- content-type:
189
- - application/xml; charset=utf-8
178
+ location:
179
+ - https://recurlytest3-test.recurly.com/transactions/28c8731dedf14256a8c7b931ddba2968
190
180
  connection:
191
181
  - close
192
- cache-control:
193
- - no-cache
194
- location:
195
- - https://recurlytest3-test.recurly.com/transactions/b4ad8f20c07a4ab99a2d4eed5b713d9f
182
+ content-type:
183
+ - application/xml; charset=utf-8
196
184
  x-runtime:
197
- - "166"
185
+ - "223"
186
+ date:
187
+ - Tue, 16 Nov 2010 07:04:57 GMT
188
+ server:
189
+ - nginx/0.7.65
198
190
  content-length:
199
191
  - "850"
200
192
  set-cookie:
201
- - _recurly_session=1a3dba93235a676654a8bb5354d35f83; domain=.recurly.com; path=/; secure; HttpOnly
193
+ - _recurly_session=43381cf3503c2ffa68f519494d9b2b9b; domain=.recurly.com; path=/; secure; HttpOnly
194
+ cache-control:
195
+ - no-cache
202
196
  body: |
203
197
  <?xml version="1.0" encoding="UTF-8"?>
204
198
  <transaction type="Payment">
205
- <id>b4ad8f20c07a4ab99a2d4eed5b713d9f</id>
199
+ <id>28c8731dedf14256a8c7b931ddba2968</id>
206
200
  <account_code>transaction-lookup-1289558212</account_code>
207
201
  <action>purchase</action>
208
- <date type="datetime">2010-11-12T10:36:56Z</date>
202
+ <date type="datetime">2010-11-16T07:04:57Z</date>
209
203
  <amount_in_cents type="integer">100</amount_in_cents>
210
204
  <status>success</status>
211
205
  <message>Test Gateway: Successful test transaction</message>
@@ -239,46 +233,44 @@
239
233
  </transaction>
240
234
 
241
235
  headers:
242
- authorization:
243
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
244
- content-type:
245
- - application/xml
246
236
  accept:
247
237
  - "*/*"
248
- user-agent:
249
- - Ruby
250
238
  connection:
251
239
  - close
240
+ content-type:
241
+ - application/xml
242
+ authorization:
243
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
252
244
  response: !ruby/struct:VCR::Response
253
245
  status: !ruby/struct:VCR::ResponseStatus
254
246
  code: 201
255
247
  message: Created
256
248
  headers:
257
- server:
258
- - nginx/0.7.65
259
- date:
260
- - Fri, 12 Nov 2010 10:36:59 GMT
261
- content-type:
262
- - application/xml; charset=utf-8
249
+ location:
250
+ - https://recurlytest3-test.recurly.com/transactions/f15ade968a23483c9c22649b6bdc6a92
263
251
  connection:
264
252
  - close
265
- cache-control:
266
- - no-cache
267
- location:
268
- - https://recurlytest3-test.recurly.com/transactions/ee4872c17e4d463b81891e0619449be6
253
+ content-type:
254
+ - application/xml; charset=utf-8
269
255
  x-runtime:
270
- - "345"
256
+ - "311"
257
+ date:
258
+ - Tue, 16 Nov 2010 07:05:00 GMT
259
+ server:
260
+ - nginx/0.7.65
271
261
  content-length:
272
262
  - "850"
273
263
  set-cookie:
274
- - _recurly_session=3d9b3e6cf06521a0aa1b5699bff7178e; domain=.recurly.com; path=/; secure; HttpOnly
264
+ - _recurly_session=d135386757751679913cb766c018d83e; domain=.recurly.com; path=/; secure; HttpOnly
265
+ cache-control:
266
+ - no-cache
275
267
  body: |
276
268
  <?xml version="1.0" encoding="UTF-8"?>
277
269
  <transaction type="Payment">
278
- <id>ee4872c17e4d463b81891e0619449be6</id>
270
+ <id>f15ade968a23483c9c22649b6bdc6a92</id>
279
271
  <account_code>transaction-lookup-1289558212</account_code>
280
272
  <action>purchase</action>
281
- <date type="datetime">2010-11-12T10:36:59Z</date>
273
+ <date type="datetime">2010-11-16T07:05:00Z</date>
282
274
  <amount_in_cents type="integer">200</amount_in_cents>
283
275
  <status>success</status>
284
276
  <message>Test Gateway: Successful test transaction</message>
@@ -312,46 +304,44 @@
312
304
  </transaction>
313
305
 
314
306
  headers:
315
- authorization:
316
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
317
- content-type:
318
- - application/xml
319
307
  accept:
320
308
  - "*/*"
321
- user-agent:
322
- - Ruby
323
309
  connection:
324
310
  - close
311
+ content-type:
312
+ - application/xml
313
+ authorization:
314
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
325
315
  response: !ruby/struct:VCR::Response
326
316
  status: !ruby/struct:VCR::ResponseStatus
327
317
  code: 201
328
318
  message: Created
329
319
  headers:
330
- server:
331
- - nginx/0.7.65
332
- date:
333
- - Fri, 12 Nov 2010 10:36:57 GMT
334
- content-type:
335
- - application/xml; charset=utf-8
320
+ location:
321
+ - https://recurlytest3-test.recurly.com/transactions/d8b1f500beaa44eeae51ce7d158cc69c
336
322
  connection:
337
323
  - close
338
- cache-control:
339
- - no-cache
340
- location:
341
- - https://recurlytest3-test.recurly.com/transactions/f3a826520f814953b3c9a64e8cf4eed4
324
+ content-type:
325
+ - application/xml; charset=utf-8
342
326
  x-runtime:
343
- - "179"
327
+ - "278"
328
+ date:
329
+ - Tue, 16 Nov 2010 07:04:59 GMT
330
+ server:
331
+ - nginx/0.7.65
344
332
  content-length:
345
333
  - "850"
346
334
  set-cookie:
347
- - _recurly_session=9c42da4a239a7b5655b19d48479bf1ac; domain=.recurly.com; path=/; secure; HttpOnly
335
+ - _recurly_session=cba0dc6c0203cf5a9444b3aa930b9fff; domain=.recurly.com; path=/; secure; HttpOnly
336
+ cache-control:
337
+ - no-cache
348
338
  body: |
349
339
  <?xml version="1.0" encoding="UTF-8"?>
350
340
  <transaction type="Payment">
351
- <id>f3a826520f814953b3c9a64e8cf4eed4</id>
341
+ <id>d8b1f500beaa44eeae51ce7d158cc69c</id>
352
342
  <account_code>transaction-lookup-1289558212</account_code>
353
343
  <action>purchase</action>
354
- <date type="datetime">2010-11-12T10:36:57Z</date>
344
+ <date type="datetime">2010-11-16T07:04:59Z</date>
355
345
  <amount_in_cents type="integer">300</amount_in_cents>
356
346
  <status>success</status>
357
347
  <message>Test Gateway: Successful test transaction</message>
@@ -373,168 +363,186 @@
373
363
  - !ruby/struct:VCR::HTTPInteraction
374
364
  request: !ruby/struct:VCR::Request
375
365
  method: :get
376
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/b4ad8f20c07a4ab99a2d4eed5b713d9f.xml?account_code=transaction-lookup-1289558212
366
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/28c8731dedf14256a8c7b931ddba2968.xml?account_code=transaction-lookup-1289558212
377
367
  body:
378
368
  headers:
379
- authorization:
380
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
381
369
  accept:
382
370
  - application/xml
383
- accept-encoding:
384
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
385
- user-agent:
386
- - Ruby
387
371
  connection:
388
372
  - close
373
+ authorization:
374
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
389
375
  response: !ruby/struct:VCR::Response
390
376
  status: !ruby/struct:VCR::ResponseStatus
391
377
  code: 200
392
378
  message: OK
393
379
  headers:
394
- server:
395
- - nginx/0.7.65
396
- date:
397
- - Fri, 12 Nov 2010 10:37:00 GMT
398
- content-type:
399
- - application/xml; charset=utf-8
400
- transfer-encoding:
401
- - chunked
380
+ x-ua-compatible:
381
+ - IE=Edge
382
+ etag:
383
+ - "\"1aba26cb889c89097f3cd7b73e9f1ac8\""
402
384
  connection:
403
385
  - close
386
+ content-type:
387
+ - application/xml; charset=utf-8
404
388
  x-runtime:
405
- - "16"
406
- etag:
407
- - "\"8728727f53b47adb8f1f8a1177a63454\""
389
+ - "15"
390
+ date:
391
+ - Tue, 16 Nov 2010 07:05:01 GMT
392
+ server:
393
+ - nginx/0.7.65
394
+ content-length:
395
+ - "850"
396
+ set-cookie:
397
+ - _recurly_session=aa5f66c0096b3a939d41a6efa26b7340; domain=.recurly.com; path=/; secure; HttpOnly
408
398
  cache-control:
409
399
  - private, max-age=0, must-revalidate
410
- set-cookie:
411
- - _recurly_session=0676d2e64d2fce19b1e268c60e002a51; domain=.recurly.com; path=/; secure; HttpOnly
412
- x-ua-compatible:
413
- - IE=Edge
414
- content-encoding:
415
- - gzip
416
- body: !binary |
417
- H4sIAAAAAAAAA31TO2/bMBDe/SsI7o5ExU5sg2aWoJ0CFIi7dBEo8uQIkUiD
418
- D7X+9z1SdhRnyEbd97jveBR/+jf0ZATnO2v2lN2VlIBRVnfmuKe/Dz+WG/ok
419
- Fjw4abxUAVkknE+wp7/keQATqFgQwjstmpXUm7YqVfkoV7LZbmWlVwB63Tyy
420
- e71teYGkxJVK2WhCjU1AfPJd9ta+x9OSVZvter2pWMWLG+4kThHEKTr1Jj0k
421
- Ri4kTMsAl3DpGLoBqKhKVi4ZQ9cDK3f3D7v1wx9eJHwKM+QsnakVDuMv8s4E
422
- OIKjgpUltrjlZJ0PMkQvfFQKvOfF5TtBAxbkEcQBfCA/sdFfed6R14nZxp6E
423
- BHwanBdXSZI7aMHhCkDwYj4nRI1j7cDHPpB0d3v6QsWLDOqNFzM0TTX6W+Yz
424
- Fa/BAQQitUYPT6TR5GQxdp/NyJCM7nDYD+kXp9pnA0w1U661vJkPYT353jIv
425
- tcSc5s+PqLG2B2kovoOIy0xIbjvaTsumv67zC+2KZireUTTfkGc805UD3eHj
426
- ky6/xhQHk4jGHiOuMZ+nci99qFsbnWC8mD+SR3Fjgqr55xCL/1oAOcBSAwAA
400
+ body: |
401
+ <?xml version="1.0" encoding="UTF-8"?>
402
+ <transaction type="Payment">
403
+ <id>28c8731dedf14256a8c7b931ddba2968</id>
404
+ <account_code>transaction-lookup-1289558212</account_code>
405
+ <action>purchase</action>
406
+ <date type="datetime">2010-11-16T07:04:57Z</date>
407
+ <amount_in_cents type="integer">100</amount_in_cents>
408
+ <status>success</status>
409
+ <message>Test Gateway: Successful test transaction</message>
410
+ <reference></reference>
411
+ <cvv_result code="M">Match</cvv_result>
412
+ <avs_result code="D">Street address and postal code match.</avs_result>
413
+ <avs_result_street></avs_result_street>
414
+ <avs_result_postal></avs_result_postal>
415
+ <test type="boolean">true</test>
416
+ <voidable type="boolean">true</voidable>
417
+ <refundable type="boolean">true</refundable>
418
+ <credit_card>
419
+ <type>bogus</type>
420
+ <last_four>1</last_four>
421
+ </credit_card>
422
+ </transaction>
427
423
 
428
424
  http_version: "1.1"
429
425
  - !ruby/struct:VCR::HTTPInteraction
430
426
  request: !ruby/struct:VCR::Request
431
427
  method: :get
432
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/ee4872c17e4d463b81891e0619449be6.xml?account_code=transaction-lookup-1289558212
428
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/f15ade968a23483c9c22649b6bdc6a92.xml?account_code=transaction-lookup-1289558212
433
429
  body:
434
430
  headers:
435
- authorization:
436
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
437
431
  accept:
438
432
  - application/xml
439
- accept-encoding:
440
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
441
- user-agent:
442
- - Ruby
443
433
  connection:
444
434
  - close
435
+ authorization:
436
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
445
437
  response: !ruby/struct:VCR::Response
446
438
  status: !ruby/struct:VCR::ResponseStatus
447
439
  code: 200
448
440
  message: OK
449
441
  headers:
450
- server:
451
- - nginx/0.7.65
452
- date:
453
- - Fri, 12 Nov 2010 10:36:58 GMT
454
- content-type:
455
- - application/xml; charset=utf-8
456
- transfer-encoding:
457
- - chunked
442
+ x-ua-compatible:
443
+ - IE=Edge
444
+ etag:
445
+ - "\"913205b8a6e07b3f54d808cf184994ef\""
458
446
  connection:
459
447
  - close
448
+ content-type:
449
+ - application/xml; charset=utf-8
460
450
  x-runtime:
461
- - "14"
462
- etag:
463
- - "\"d4a685d17b53fa75658270b3d6c41883\""
451
+ - "16"
452
+ date:
453
+ - Tue, 16 Nov 2010 07:05:00 GMT
454
+ server:
455
+ - nginx/0.7.65
456
+ content-length:
457
+ - "850"
458
+ set-cookie:
459
+ - _recurly_session=084d7a1347f06e3f011772ec165d1888; domain=.recurly.com; path=/; secure; HttpOnly
464
460
  cache-control:
465
461
  - private, max-age=0, must-revalidate
466
- set-cookie:
467
- - _recurly_session=5456a6d8fc68bcaeb8d583b4ba1f9fc4; domain=.recurly.com; path=/; secure; HttpOnly
468
- x-ua-compatible:
469
- - IE=Edge
470
- content-encoding:
471
- - gzip
472
- body: !binary |
473
- H4sIAAAAAAAAA31TO2/bMBDe/SsI7o5ERXYkg2aWop0CFIi7dBEo6uwIlUiD
474
- D7X+9z1SdhRnyEbd97jveBR//jcOZALreqP3lD3klIBWpuv1aU9/Hb6vK/os
475
- VtxbqZ1UHlnEX86wpz/lZQTtqVgRwvtOAJTVU6HYE5RduX1sK1bVDPItq8uy
476
- bmHLMyRFrlTKBO0bbALig+96MOZPOK9ZUdWbTVWwgmd33FkcI4hzsOpNOoiM
477
- VIhYJz1cw8Wj70egoshZvmYMXQ8s3z1ud5v6N88iPocZU5ZeNwqHcVd5rz2c
478
- wEZ1ji3uOUnnvPTBCReUAud4dv2O0IgFeQJxAOfJD2z0V1525HVmHsNAfAQ+
479
- DM6zmyTKLRzB4gpA8Gw5R0RNU2PBhcGTeHd7+kLFi/TqjWcLNE81uXvmNype
480
- vQXwRHYdejgidUfOBmMPyYyM0egBh32XfnJqXDLAVAvlVkubeRc2s+8981qL
481
- zHn+9IhaYwaQmuI7CLjMiKS2k+k72Q63dX6i3dBExTsK+gvygie6stD1+Pik
482
- Ta8xxsEkojWngGtM57k8SOebowlWMJ4tH9EjuzNB1fJziNV/uisPOFIDAAA=
462
+ body: |
463
+ <?xml version="1.0" encoding="UTF-8"?>
464
+ <transaction type="Payment">
465
+ <id>f15ade968a23483c9c22649b6bdc6a92</id>
466
+ <account_code>transaction-lookup-1289558212</account_code>
467
+ <action>purchase</action>
468
+ <date type="datetime">2010-11-16T07:05:00Z</date>
469
+ <amount_in_cents type="integer">200</amount_in_cents>
470
+ <status>success</status>
471
+ <message>Test Gateway: Successful test transaction</message>
472
+ <reference></reference>
473
+ <cvv_result code="M">Match</cvv_result>
474
+ <avs_result code="D">Street address and postal code match.</avs_result>
475
+ <avs_result_street></avs_result_street>
476
+ <avs_result_postal></avs_result_postal>
477
+ <test type="boolean">true</test>
478
+ <voidable type="boolean">true</voidable>
479
+ <refundable type="boolean">true</refundable>
480
+ <credit_card>
481
+ <type>bogus</type>
482
+ <last_four>1</last_four>
483
+ </credit_card>
484
+ </transaction>
483
485
 
484
486
  http_version: "1.1"
485
487
  - !ruby/struct:VCR::HTTPInteraction
486
488
  request: !ruby/struct:VCR::Request
487
489
  method: :get
488
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/f3a826520f814953b3c9a64e8cf4eed4.xml?account_code=transaction-lookup-1289558212
490
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/d8b1f500beaa44eeae51ce7d158cc69c.xml?account_code=transaction-lookup-1289558212
489
491
  body:
490
492
  headers:
491
- authorization:
492
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
493
493
  accept:
494
494
  - application/xml
495
- accept-encoding:
496
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
497
- user-agent:
498
- - Ruby
499
495
  connection:
500
496
  - close
497
+ authorization:
498
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
501
499
  response: !ruby/struct:VCR::Response
502
500
  status: !ruby/struct:VCR::ResponseStatus
503
501
  code: 200
504
502
  message: OK
505
503
  headers:
506
- server:
507
- - nginx/0.7.65
508
- date:
509
- - Fri, 12 Nov 2010 10:37:00 GMT
510
- content-type:
511
- - application/xml; charset=utf-8
512
- transfer-encoding:
513
- - chunked
504
+ x-ua-compatible:
505
+ - IE=Edge
506
+ etag:
507
+ - "\"aa81739b9dfe340818c56572f5cddaa6\""
514
508
  connection:
515
509
  - close
510
+ content-type:
511
+ - application/xml; charset=utf-8
516
512
  x-runtime:
517
- - "13"
518
- etag:
519
- - "\"1166b4093461450b9cb9515e990d4870\""
513
+ - "14"
514
+ date:
515
+ - Tue, 16 Nov 2010 07:05:02 GMT
516
+ server:
517
+ - nginx/0.7.65
518
+ content-length:
519
+ - "850"
520
+ set-cookie:
521
+ - _recurly_session=15b97b3865767cb1e9d5bd3ffc28b7f1; domain=.recurly.com; path=/; secure; HttpOnly
520
522
  cache-control:
521
523
  - private, max-age=0, must-revalidate
522
- set-cookie:
523
- - _recurly_session=b3e89255451dffa352f044b904ed9578; domain=.recurly.com; path=/; secure; HttpOnly
524
- x-ua-compatible:
525
- - IE=Edge
526
- content-encoding:
527
- - gzip
528
- body: !binary |
529
- H4sIAAAAAAAAA31TO2/bMBDe/SsI7o5eliMbNLMU7RSgQNwli0BTJ0eIRBp8
530
- qPW/75GyoyhDNuq+x33Ho9jTv6EnIxjbaXWg2UNKCSipm06dD/TP8ee6ok98
531
- xZwRygrpkEXc9QIH+ltcB1CO8hUhrGt4W4gq35Z52lbZZlcWp0LuxHYDlWw3
532
- AM2GJUgKXCGl9srV2AT4J991r/W7v6yzvNqVZZVnOUsW3EkcIvCLN/JNWAiM
533
- WAhYIxzcwoWj6wagPE+zdJ1l6HrM0n2x3ZePrywJ+BRmiFk6VUscxt7knXJw
534
- BkN5kabYYsmJOuuE85ZbLyVYy5Lbd4AGLIgz8CNYR35ho7/iuicvE7P1PXEB
535
- +DQ4S+6SIDfQgsEVAGfJfA6IHMfagPW9I+HuDvSZ8mfh5BtLZmiaarRL5g/K
536
- X5wBcEQ0DXpYIlRDLhpj99GMDMHoAYf9kH5xqm00wFQz5V6Lm/kQ1pPvknmr
537
- BeY0f3xEJ617EIriO/C4zIDEtqPuGnHq7+v8QrujkYp35NU35BmPdGmg6fDx
538
- CRNfY4iDSfhJnz2uMZ6nci+sq1vtDc9YMn8Ej2Rhgqr55+Cr/1pLlXxSAwAA
524
+ body: |
525
+ <?xml version="1.0" encoding="UTF-8"?>
526
+ <transaction type="Payment">
527
+ <id>d8b1f500beaa44eeae51ce7d158cc69c</id>
528
+ <account_code>transaction-lookup-1289558212</account_code>
529
+ <action>purchase</action>
530
+ <date type="datetime">2010-11-16T07:04:59Z</date>
531
+ <amount_in_cents type="integer">300</amount_in_cents>
532
+ <status>success</status>
533
+ <message>Test Gateway: Successful test transaction</message>
534
+ <reference></reference>
535
+ <cvv_result code="M">Match</cvv_result>
536
+ <avs_result code="D">Street address and postal code match.</avs_result>
537
+ <avs_result_street></avs_result_street>
538
+ <avs_result_postal></avs_result_postal>
539
+ <test type="boolean">true</test>
540
+ <voidable type="boolean">true</voidable>
541
+ <refundable type="boolean">true</refundable>
542
+ <credit_card>
543
+ <type>bogus</type>
544
+ <last_four>1</last_four>
545
+ </credit_card>
546
+ </transaction>
539
547
 
540
548
  http_version: "1.1"