recurly 0.2.1 → 0.2.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 (64) hide show
  1. data/README.md +3 -2
  2. data/lib/recurly/invoice.rb +1 -1
  3. data/lib/recurly/subscription.rb +1 -1
  4. data/lib/recurly/transaction.rb +1 -1
  5. data/lib/recurly/version.rb +1 -1
  6. data/spec/integration/subscription_spec.rb +29 -8
  7. data/spec/vcr/account/close/1286666929.yml +159 -0
  8. data/spec/vcr/account/create-blank/1286666929.yml +49 -0
  9. data/spec/vcr/account/create-duplicate/1286666929.yml +95 -0
  10. data/spec/vcr/account/create-min/1286666929.yml +63 -0
  11. data/spec/vcr/account/create/1286666929.yml +67 -0
  12. data/spec/vcr/account/find/1286666929.yml +122 -0
  13. data/spec/vcr/account/list/1286666929.yml +1565 -0
  14. data/spec/vcr/account/update/1286666929.yml +250 -0
  15. data/spec/vcr/billing/create/1286682213.yml +210 -0
  16. data/spec/vcr/billing/destroy/1286682213.yml +309 -0
  17. data/spec/vcr/billing/find/1286682213.yml +273 -0
  18. data/spec/vcr/billing/update/1286682213.yml +292 -0
  19. data/spec/vcr/charge/create/1286681273.yml +253 -0
  20. data/spec/vcr/charge/list-all/1286681273.yml +302 -0
  21. data/spec/vcr/charge/list-invoiced/1286681273.yml +445 -0
  22. data/spec/vcr/charge/list-pending/1286681273.yml +302 -0
  23. data/spec/vcr/charge/lookup/1286681273.yml +171 -0
  24. data/spec/vcr/credit/create/1286681343.yml +171 -0
  25. data/spec/vcr/credit/list/1286681343.yml +299 -0
  26. data/spec/vcr/credit/lookup/1286681343.yml +171 -0
  27. data/spec/vcr/invoice/create/1286679184.yml +337 -0
  28. data/spec/vcr/invoice/list/1286679184.yml +458 -0
  29. data/spec/vcr/invoice/lookup/1286679184.yml +341 -0
  30. data/spec/vcr/plan/all.yml +306 -0
  31. data/spec/vcr/plan/delete/1286677585.yml +217 -0
  32. data/spec/vcr/plan/find.yml +196 -0
  33. data/spec/vcr/plan/update.yml +197 -0
  34. data/spec/vcr/subscription/cancel/1287036910.yml +401 -0
  35. data/spec/vcr/subscription/cancel/1287037325.yml +401 -0
  36. data/spec/vcr/subscription/cancel/1287037363.yml +401 -0
  37. data/spec/vcr/subscription/change1/1287036910.yml +409 -0
  38. data/spec/vcr/subscription/change1/1287037152.yml +409 -0
  39. data/spec/vcr/subscription/change1/1287037325.yml +409 -0
  40. data/spec/vcr/subscription/change1/1287037363.yml +409 -0
  41. data/spec/vcr/subscription/change2/1287036910.yml +409 -0
  42. data/spec/vcr/subscription/change2/1287037152.yml +283 -0
  43. data/spec/vcr/subscription/change2/1287037325.yml +283 -0
  44. data/spec/vcr/subscription/change2/1287037363.yml +409 -0
  45. data/spec/vcr/subscription/create/1287036910.yml +224 -0
  46. data/spec/vcr/subscription/create/1287037152.yml +224 -0
  47. data/spec/vcr/subscription/create/1287037325.yml +224 -0
  48. data/spec/vcr/subscription/create/1287037363.yml +224 -0
  49. data/spec/vcr/subscription/find/1287036910.yml +283 -0
  50. data/spec/vcr/subscription/find/1287037152.yml +283 -0
  51. data/spec/vcr/subscription/find/1287037325.yml +283 -0
  52. data/spec/vcr/subscription/find/1287037363.yml +283 -0
  53. data/spec/vcr/subscription/refund/1287036910.yml +382 -0
  54. data/spec/vcr/subscription/refund/1287037325.yml +382 -0
  55. data/spec/vcr/subscription/refund/1287037363.yml +382 -0
  56. data/spec/vcr/transaction/all/1286674805.yml +387 -0
  57. data/spec/vcr/transaction/create-no-account/1286674805.yml +91 -0
  58. data/spec/vcr/transaction/create-with-account/1286674805.yml +220 -0
  59. data/spec/vcr/transaction/list-empty/1286674805.yml +212 -0
  60. data/spec/vcr/transaction/list-filled/1286674805.yml +476 -0
  61. data/spec/vcr/transaction/lookup/1286674805.yml +548 -0
  62. data/spec/vcr/transaction/refund/1286674805.yml +220 -0
  63. data/spec/vcr/transaction/void/1286674805.yml +668 -0
  64. metadata +118 -4
@@ -0,0 +1,220 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
6
+ body: |
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <account>
9
+ <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>transaction-refund-1286674805</account-code>
11
+ <last-name>Test</last-name>
12
+ <email>verena@test.com</email>
13
+ <first-name>Verena</first-name>
14
+ </account>
15
+
16
+ headers:
17
+ accept:
18
+ - "*/*"
19
+ connection:
20
+ - close
21
+ content-type:
22
+ - application/xml
23
+ authorization:
24
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
25
+ response: !ruby/struct:VCR::Response
26
+ status: !ruby/struct:VCR::ResponseStatus
27
+ code: 201
28
+ message: Created
29
+ headers:
30
+ location:
31
+ - https://recurlytest3-test.recurly.com/accounts/transaction-refund-1286674805
32
+ connection:
33
+ - close
34
+ content-type:
35
+ - application/xml; charset=utf-8
36
+ x-runtime:
37
+ - "571"
38
+ date:
39
+ - Thu, 14 Oct 2010 06:18:00 GMT
40
+ server:
41
+ - nginx/0.7.65
42
+ content-length:
43
+ - "591"
44
+ set-cookie:
45
+ - account_credentials=6bc433d6bc10c141bc04fa3fc1ca578628d43a673ee3443bf4714e4518eb6106c7ce9b3ef5d9d745471d91785bcdb6e395906833667366a348d9c98d2f30c92c%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
+ - ""
47
+ - _recurly_session=ccf8517fea90dd69edab1fede66ceb6f; domain=.recurly.com; path=/; Secure; HttpOnly
48
+ cache-control:
49
+ - no-cache
50
+ body: |
51
+ <?xml version="1.0" encoding="UTF-8"?>
52
+ <account>
53
+ <id>transaction-refund-1286674805</id>
54
+ <account_code>transaction-refund-1286674805</account_code>
55
+ <username></username>
56
+ <email>verena@test.com</email>
57
+ <first_name>Verena</first_name>
58
+ <last_name>Test</last_name>
59
+ <company_name>Recurly Ruby Gem</company_name>
60
+ <balance_in_cents type="integer">0</balance_in_cents>
61
+ <closed type="boolean">false</closed>
62
+ <hosted_login_token>aa8cf31d6c4f4301a00cb26a370f37c3</hosted_login_token>
63
+ <created_at type="datetime">2010-10-14T06:18:00Z</created_at>
64
+ <state>active</state>
65
+ </account>
66
+
67
+ http_version: "1.1"
68
+ - !ruby/struct:VCR::HTTPInteraction
69
+ request: !ruby/struct:VCR::Request
70
+ method: :put
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-refund-1286674805/billing_info.xml
72
+ body: |
73
+ <?xml version="1.0" encoding="UTF-8"?>
74
+ <billing-info>
75
+ <city>San Francisco</city>
76
+ <address1>123 Test St</address1>
77
+ <zip>94115</zip>
78
+ <account-code>transaction-refund-1286674805</account-code>
79
+ <country>US</country>
80
+ <credit-card>
81
+ <number>1</number>
82
+ <month type="integer">10</month>
83
+ <year type="integer">2011</year>
84
+ <verification-value>123</verification-value>
85
+ </credit-card>
86
+ <last-name>Test</last-name>
87
+ <first-name>Verena</first-name>
88
+ <state>CA</state>
89
+ </billing-info>
90
+
91
+ headers:
92
+ accept:
93
+ - "*/*"
94
+ connection:
95
+ - close
96
+ content-type:
97
+ - application/xml
98
+ authorization:
99
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
100
+ response: !ruby/struct:VCR::Response
101
+ status: !ruby/struct:VCR::ResponseStatus
102
+ code: 200
103
+ message: OK
104
+ headers:
105
+ x-ua-compatible:
106
+ - IE=Edge
107
+ etag:
108
+ - "\"24a3a866730789b9f5fc4f250730f4d4\""
109
+ connection:
110
+ - close
111
+ content-type:
112
+ - application/xml; charset=utf-8
113
+ x-runtime:
114
+ - "266"
115
+ date:
116
+ - Thu, 14 Oct 2010 06:18:01 GMT
117
+ server:
118
+ - nginx/0.7.65
119
+ content-length:
120
+ - "643"
121
+ set-cookie:
122
+ - _recurly_session=bed8390f443174d0cb33ce046dad2225; domain=.recurly.com; path=/; Secure; HttpOnly
123
+ cache-control:
124
+ - private, max-age=0, must-revalidate
125
+ body: |
126
+ <?xml version="1.0" encoding="UTF-8"?>
127
+ <billing_info>
128
+ <account_code>transaction-refund-1286674805</account_code>
129
+ <first_name>Verena</first_name>
130
+ <last_name>Test</last_name>
131
+ <address1>123 Test St</address1>
132
+ <address2></address2>
133
+ <city>San Francisco</city>
134
+ <state>CA</state>
135
+ <country>US</country>
136
+ <zip>94115</zip>
137
+ <phone></phone>
138
+ <vat_number></vat_number>
139
+ <ip_address></ip_address>
140
+ <credit_card>
141
+ <type>bogus</type>
142
+ <last_four>1</last_four>
143
+ <month type="integer">10</month>
144
+ <year type="integer">2011</year>
145
+ </credit_card>
146
+ <updated_at type="datetime">2010-10-14T06:18:01Z</updated_at>
147
+ </billing_info>
148
+
149
+ http_version: "1.1"
150
+ - !ruby/struct:VCR::HTTPInteraction
151
+ request: !ruby/struct:VCR::Request
152
+ method: :post
153
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
154
+ body: |
155
+ <?xml version="1.0" encoding="UTF-8"?>
156
+ <transaction>
157
+ <account>
158
+ <account-code>transaction-refund-1286674805</account-code>
159
+ </account>
160
+ <amount-in-cents type="integer">1000</amount-in-cents>
161
+ <description>one</description>
162
+ </transaction>
163
+
164
+ headers:
165
+ accept:
166
+ - "*/*"
167
+ connection:
168
+ - close
169
+ content-type:
170
+ - application/xml
171
+ authorization:
172
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
173
+ response: !ruby/struct:VCR::Response
174
+ status: !ruby/struct:VCR::ResponseStatus
175
+ code: 201
176
+ message: Created
177
+ headers:
178
+ location:
179
+ - https://recurlytest3-test.recurly.com/transactions/081f3864b1ed4e47ad5036752a638a91
180
+ connection:
181
+ - close
182
+ content-type:
183
+ - application/xml; charset=utf-8
184
+ x-runtime:
185
+ - "453"
186
+ date:
187
+ - Thu, 14 Oct 2010 06:18:02 GMT
188
+ server:
189
+ - nginx/0.7.65
190
+ content-length:
191
+ - "851"
192
+ set-cookie:
193
+ - _recurly_session=e00c4665def4b47d2a43608e24f436ed; domain=.recurly.com; path=/; Secure; HttpOnly
194
+ cache-control:
195
+ - no-cache
196
+ body: |
197
+ <?xml version="1.0" encoding="UTF-8"?>
198
+ <transaction type="Payment">
199
+ <id>081f3864b1ed4e47ad5036752a638a91</id>
200
+ <account_code>transaction-refund-1286674805</account_code>
201
+ <action>purchase</action>
202
+ <date type="datetime">2010-10-14T06:18:02Z</date>
203
+ <amount_in_cents type="integer">1000</amount_in_cents>
204
+ <status>success</status>
205
+ <message>Test Gateway: Successful test transaction</message>
206
+ <reference></reference>
207
+ <cvv_result code="M">Match</cvv_result>
208
+ <avs_result code="D">Street address and postal code match.</avs_result>
209
+ <avs_result_street></avs_result_street>
210
+ <avs_result_postal></avs_result_postal>
211
+ <test type="boolean">true</test>
212
+ <voidable type="boolean">true</voidable>
213
+ <refundable type="boolean">true</refundable>
214
+ <credit_card>
215
+ <type>bogus</type>
216
+ <last_four>1</last_four>
217
+ </credit_card>
218
+ </transaction>
219
+
220
+ http_version: "1.1"
@@ -0,0 +1,668 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
6
+ body: |
7
+ <?xml version="1.0" encoding="UTF-8"?>
8
+ <account>
9
+ <company-name>Recurly Ruby Gem</company-name>
10
+ <account-code>transaction-void-1286674805</account-code>
11
+ <last-name>Test</last-name>
12
+ <email>verena@test.com</email>
13
+ <first-name>Verena</first-name>
14
+ </account>
15
+
16
+ headers:
17
+ accept:
18
+ - "*/*"
19
+ connection:
20
+ - close
21
+ content-type:
22
+ - application/xml
23
+ authorization:
24
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
25
+ response: !ruby/struct:VCR::Response
26
+ status: !ruby/struct:VCR::ResponseStatus
27
+ code: 201
28
+ message: Created
29
+ headers:
30
+ location:
31
+ - https://recurlytest3-test.recurly.com/accounts/transaction-void-1286674805
32
+ connection:
33
+ - close
34
+ content-type:
35
+ - application/xml; charset=utf-8
36
+ x-runtime:
37
+ - "571"
38
+ date:
39
+ - Thu, 14 Oct 2010 06:17:55 GMT
40
+ server:
41
+ - nginx/0.7.65
42
+ content-length:
43
+ - "587"
44
+ set-cookie:
45
+ - account_credentials=13b2a7a6d0071ea3eabff2c1920a35a907ce734e44b849371e3ea2f85582336669bcd1fea74f9d4019bb57810730d0d9f315395ac6a7bb9ebd123ac5d9f2ea23%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
+ - ""
47
+ - _recurly_session=a6d8918647f392f91c246849cf368bb1; domain=.recurly.com; path=/; Secure; HttpOnly
48
+ cache-control:
49
+ - no-cache
50
+ body: |
51
+ <?xml version="1.0" encoding="UTF-8"?>
52
+ <account>
53
+ <id>transaction-void-1286674805</id>
54
+ <account_code>transaction-void-1286674805</account_code>
55
+ <username></username>
56
+ <email>verena@test.com</email>
57
+ <first_name>Verena</first_name>
58
+ <last_name>Test</last_name>
59
+ <company_name>Recurly Ruby Gem</company_name>
60
+ <balance_in_cents type="integer">0</balance_in_cents>
61
+ <closed type="boolean">false</closed>
62
+ <hosted_login_token>3791d11f3d1e4108abaa3a3f8ca2e65c</hosted_login_token>
63
+ <created_at type="datetime">2010-10-14T06:17:55Z</created_at>
64
+ <state>active</state>
65
+ </account>
66
+
67
+ http_version: "1.1"
68
+ - !ruby/struct:VCR::HTTPInteraction
69
+ request: !ruby/struct:VCR::Request
70
+ method: :put
71
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-void-1286674805/billing_info.xml
72
+ body: |
73
+ <?xml version="1.0" encoding="UTF-8"?>
74
+ <billing-info>
75
+ <city>San Francisco</city>
76
+ <address1>123 Test St</address1>
77
+ <zip>94115</zip>
78
+ <account-code>transaction-void-1286674805</account-code>
79
+ <country>US</country>
80
+ <credit-card>
81
+ <number>1</number>
82
+ <month type="integer">10</month>
83
+ <year type="integer">2011</year>
84
+ <verification-value>123</verification-value>
85
+ </credit-card>
86
+ <last-name>Test</last-name>
87
+ <first-name>Verena</first-name>
88
+ <state>CA</state>
89
+ </billing-info>
90
+
91
+ headers:
92
+ accept:
93
+ - "*/*"
94
+ connection:
95
+ - close
96
+ content-type:
97
+ - application/xml
98
+ authorization:
99
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
100
+ response: !ruby/struct:VCR::Response
101
+ status: !ruby/struct:VCR::ResponseStatus
102
+ code: 200
103
+ message: OK
104
+ headers:
105
+ x-ua-compatible:
106
+ - IE=Edge
107
+ etag:
108
+ - "\"d168b16506f6ccf1bf0ace5b9df5f569\""
109
+ connection:
110
+ - close
111
+ content-type:
112
+ - application/xml; charset=utf-8
113
+ x-runtime:
114
+ - "91"
115
+ date:
116
+ - Thu, 14 Oct 2010 06:17:56 GMT
117
+ server:
118
+ - nginx/0.7.65
119
+ content-length:
120
+ - "641"
121
+ set-cookie:
122
+ - _recurly_session=35de01d81dc604fe435ea76f52bd94d9; domain=.recurly.com; path=/; Secure; HttpOnly
123
+ cache-control:
124
+ - private, max-age=0, must-revalidate
125
+ body: |
126
+ <?xml version="1.0" encoding="UTF-8"?>
127
+ <billing_info>
128
+ <account_code>transaction-void-1286674805</account_code>
129
+ <first_name>Verena</first_name>
130
+ <last_name>Test</last_name>
131
+ <address1>123 Test St</address1>
132
+ <address2></address2>
133
+ <city>San Francisco</city>
134
+ <state>CA</state>
135
+ <country>US</country>
136
+ <zip>94115</zip>
137
+ <phone></phone>
138
+ <vat_number></vat_number>
139
+ <ip_address></ip_address>
140
+ <credit_card>
141
+ <type>bogus</type>
142
+ <last_four>1</last_four>
143
+ <month type="integer">10</month>
144
+ <year type="integer">2011</year>
145
+ </credit_card>
146
+ <updated_at type="datetime">2010-10-14T06:17:56Z</updated_at>
147
+ </billing_info>
148
+
149
+ http_version: "1.1"
150
+ - !ruby/struct:VCR::HTTPInteraction
151
+ request: !ruby/struct:VCR::Request
152
+ method: :post
153
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
154
+ body: |
155
+ <?xml version="1.0" encoding="UTF-8"?>
156
+ <transaction>
157
+ <account>
158
+ <account-code>transaction-void-1286674805</account-code>
159
+ </account>
160
+ <amount-in-cents type="integer">100</amount-in-cents>
161
+ <description>one</description>
162
+ </transaction>
163
+
164
+ headers:
165
+ accept:
166
+ - "*/*"
167
+ connection:
168
+ - close
169
+ content-type:
170
+ - application/xml
171
+ authorization:
172
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
173
+ response: !ruby/struct:VCR::Response
174
+ status: !ruby/struct:VCR::ResponseStatus
175
+ code: 201
176
+ message: Created
177
+ headers:
178
+ location:
179
+ - https://recurlytest3-test.recurly.com/transactions/9ddfcf243946439885ae6d063904cd94
180
+ connection:
181
+ - close
182
+ content-type:
183
+ - application/xml; charset=utf-8
184
+ x-runtime:
185
+ - "472"
186
+ date:
187
+ - Thu, 14 Oct 2010 06:17:57 GMT
188
+ server:
189
+ - nginx/0.7.65
190
+ content-length:
191
+ - "848"
192
+ set-cookie:
193
+ - _recurly_session=27c76a374059f49b58297ad31a68232a; domain=.recurly.com; path=/; Secure; HttpOnly
194
+ cache-control:
195
+ - no-cache
196
+ body: |
197
+ <?xml version="1.0" encoding="UTF-8"?>
198
+ <transaction type="Payment">
199
+ <id>9ddfcf243946439885ae6d063904cd94</id>
200
+ <account_code>transaction-void-1286674805</account_code>
201
+ <action>purchase</action>
202
+ <date type="datetime">2010-10-14T06:17:56Z</date>
203
+ <amount_in_cents type="integer">100</amount_in_cents>
204
+ <status>success</status>
205
+ <message>Test Gateway: Successful test transaction</message>
206
+ <reference></reference>
207
+ <cvv_result code="M">Match</cvv_result>
208
+ <avs_result code="D">Street address and postal code match.</avs_result>
209
+ <avs_result_street></avs_result_street>
210
+ <avs_result_postal></avs_result_postal>
211
+ <test type="boolean">true</test>
212
+ <voidable type="boolean">true</voidable>
213
+ <refundable type="boolean">true</refundable>
214
+ <credit_card>
215
+ <type>bogus</type>
216
+ <last_four>1</last_four>
217
+ </credit_card>
218
+ </transaction>
219
+
220
+ http_version: "1.1"
221
+ - !ruby/struct:VCR::HTTPInteraction
222
+ request: !ruby/struct:VCR::Request
223
+ method: :delete
224
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/9ddfcf243946439885ae6d063904cd94.xml?action=void
225
+ body:
226
+ headers:
227
+ accept:
228
+ - application/xml
229
+ connection:
230
+ - close
231
+ authorization:
232
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
233
+ response: !ruby/struct:VCR::Response
234
+ status: !ruby/struct:VCR::ResponseStatus
235
+ code: 200
236
+ message: OK
237
+ headers:
238
+ x-ua-compatible:
239
+ - IE=Edge
240
+ etag:
241
+ - "\"983841596d8138c349a652e8cdd25995\""
242
+ connection:
243
+ - close
244
+ content-type:
245
+ - application/xml; charset=utf-8
246
+ x-runtime:
247
+ - "59"
248
+ date:
249
+ - Thu, 14 Oct 2010 06:17:57 GMT
250
+ server:
251
+ - nginx/0.7.65
252
+ content-length:
253
+ - "847"
254
+ set-cookie:
255
+ - _recurly_session=930f21926f64bb7ab523c6bd39ed408b; domain=.recurly.com; path=/; Secure; HttpOnly
256
+ cache-control:
257
+ - private, max-age=0, must-revalidate
258
+ body: |
259
+ <?xml version="1.0" encoding="UTF-8"?>
260
+ <transaction type="Payment">
261
+ <id>9ddfcf243946439885ae6d063904cd94</id>
262
+ <account_code>transaction-void-1286674805</account_code>
263
+ <action>purchase</action>
264
+ <date type="datetime">2010-10-14T06:17:56Z</date>
265
+ <amount_in_cents type="integer">100</amount_in_cents>
266
+ <status>void</status>
267
+ <message>Test Gateway: Successful test transaction</message>
268
+ <reference></reference>
269
+ <cvv_result code="M">Match</cvv_result>
270
+ <avs_result code="D">Street address and postal code match.</avs_result>
271
+ <avs_result_street></avs_result_street>
272
+ <avs_result_postal></avs_result_postal>
273
+ <test type="boolean">true</test>
274
+ <voidable type="boolean">false</voidable>
275
+ <refundable type="boolean">false</refundable>
276
+ <credit_card>
277
+ <type>bogus</type>
278
+ <last_four>1</last_four>
279
+ </credit_card>
280
+ </transaction>
281
+
282
+ http_version: "1.1"
283
+ - !ruby/struct:VCR::HTTPInteraction
284
+ request: !ruby/struct:VCR::Request
285
+ method: :get
286
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml?show=voided
287
+ body:
288
+ headers:
289
+ accept:
290
+ - application/xml
291
+ connection:
292
+ - close
293
+ authorization:
294
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
295
+ response: !ruby/struct:VCR::Response
296
+ status: !ruby/struct:VCR::ResponseStatus
297
+ code: 200
298
+ message: OK
299
+ headers:
300
+ x-ua-compatible:
301
+ - IE=Edge
302
+ etag:
303
+ - "\"cc140dd101ccd969fda0a0e4c6ec6ee9\""
304
+ connection:
305
+ - close
306
+ content-type:
307
+ - application/xml; charset=utf-8
308
+ x-runtime:
309
+ - "103"
310
+ date:
311
+ - Thu, 14 Oct 2010 06:17:58 GMT
312
+ server:
313
+ - nginx/0.7.65
314
+ content-length:
315
+ - "15477"
316
+ set-cookie:
317
+ - _recurly_session=2c911c501127e25403f49acf690f37ae; domain=.recurly.com; path=/; Secure; HttpOnly
318
+ cache-control:
319
+ - private, max-age=0, must-revalidate
320
+ body: |
321
+ <?xml version="1.0" encoding="UTF-8"?>
322
+ <transactions type="collection">
323
+ <current_page type="integer">1</current_page>
324
+ <per_page type="integer">20</per_page>
325
+ <total_entries type="integer">31</total_entries>
326
+ <transaction type="Payment">
327
+ <id>9ddfcf243946439885ae6d063904cd94</id>
328
+ <account_code>transaction-void-1286674805</account_code>
329
+ <action>purchase</action>
330
+ <date type="datetime">2010-10-14T06:17:56Z</date>
331
+ <amount_in_cents type="integer">100</amount_in_cents>
332
+ <status>void</status>
333
+ <message>Test Gateway: Successful test transaction</message>
334
+ <reference></reference>
335
+ <cvv_result code="M">Match</cvv_result>
336
+ <avs_result code="D">Street address and postal code match.</avs_result>
337
+ <avs_result_street></avs_result_street>
338
+ <avs_result_postal></avs_result_postal>
339
+ <test type="boolean">true</test>
340
+ <voidable type="boolean">false</voidable>
341
+ <refundable type="boolean">false</refundable>
342
+ </transaction>
343
+ <transaction type="Payment">
344
+ <id>3e01d1f9ae8844a7a3a7df9e26f198e7</id>
345
+ <account_code>transaction-void-1286674805</account_code>
346
+ <action>authorization</action>
347
+ <date type="datetime">2010-10-14T06:17:55Z</date>
348
+ <amount_in_cents type="integer">100</amount_in_cents>
349
+ <status>void</status>
350
+ <message>Test Gateway: Successful test transaction</message>
351
+ <reference></reference>
352
+ <cvv_result code="M">Match</cvv_result>
353
+ <avs_result code="D">Street address and postal code match.</avs_result>
354
+ <avs_result_street></avs_result_street>
355
+ <avs_result_postal></avs_result_postal>
356
+ <test type="boolean">true</test>
357
+ <voidable type="boolean">false</voidable>
358
+ <refundable type="boolean">false</refundable>
359
+ </transaction>
360
+ <transaction type="Payment">
361
+ <id>8144014d9f884e3e8ae932afa58b8b7a</id>
362
+ <account_code>transaction-lookup-1286674805</account_code>
363
+ <action>authorization</action>
364
+ <date type="datetime">2010-10-14T06:17:47Z</date>
365
+ <amount_in_cents type="integer">100</amount_in_cents>
366
+ <status>void</status>
367
+ <message>Test Gateway: Successful test transaction</message>
368
+ <reference></reference>
369
+ <cvv_result code="M">Match</cvv_result>
370
+ <avs_result code="D">Street address and postal code match.</avs_result>
371
+ <avs_result_street></avs_result_street>
372
+ <avs_result_postal></avs_result_postal>
373
+ <test type="boolean">true</test>
374
+ <voidable type="boolean">false</voidable>
375
+ <refundable type="boolean">false</refundable>
376
+ </transaction>
377
+ <transaction type="Payment">
378
+ <id>e6ce4b89fcff48dab35e5d039e2855c6</id>
379
+ <account_code>transaction-list-filled-1286674805</account_code>
380
+ <action>authorization</action>
381
+ <date type="datetime">2010-10-14T06:17:39Z</date>
382
+ <amount_in_cents type="integer">100</amount_in_cents>
383
+ <status>void</status>
384
+ <message>Test Gateway: Successful test transaction</message>
385
+ <reference></reference>
386
+ <cvv_result code="M">Match</cvv_result>
387
+ <avs_result code="D">Street address and postal code match.</avs_result>
388
+ <avs_result_street></avs_result_street>
389
+ <avs_result_postal></avs_result_postal>
390
+ <test type="boolean">true</test>
391
+ <voidable type="boolean">false</voidable>
392
+ <refundable type="boolean">false</refundable>
393
+ </transaction>
394
+ <transaction type="Payment">
395
+ <id>0f76238ba3fa4b7b81c86d87808a09b3</id>
396
+ <account_code>transaction-list-empty-1286674805</account_code>
397
+ <action>authorization</action>
398
+ <date type="datetime">2010-10-14T06:17:37Z</date>
399
+ <amount_in_cents type="integer">100</amount_in_cents>
400
+ <status>void</status>
401
+ <message>Test Gateway: Successful test transaction</message>
402
+ <reference></reference>
403
+ <cvv_result code="M">Match</cvv_result>
404
+ <avs_result code="D">Street address and postal code match.</avs_result>
405
+ <avs_result_street></avs_result_street>
406
+ <avs_result_postal></avs_result_postal>
407
+ <test type="boolean">true</test>
408
+ <voidable type="boolean">false</voidable>
409
+ <refundable type="boolean">false</refundable>
410
+ </transaction>
411
+ <transaction type="Payment">
412
+ <id>a7f006d6f52a4888aab3afcec68b1be4</id>
413
+ <account_code>transaction-create-with-account-1286674805</account_code>
414
+ <action>authorization</action>
415
+ <date type="datetime">2010-10-14T06:17:32Z</date>
416
+ <amount_in_cents type="integer">100</amount_in_cents>
417
+ <status>void</status>
418
+ <message>Test Gateway: Successful test transaction</message>
419
+ <reference></reference>
420
+ <cvv_result code="M">Match</cvv_result>
421
+ <avs_result code="D">Street address and postal code match.</avs_result>
422
+ <avs_result_street></avs_result_street>
423
+ <avs_result_postal></avs_result_postal>
424
+ <test type="boolean">true</test>
425
+ <voidable type="boolean">false</voidable>
426
+ <refundable type="boolean">false</refundable>
427
+ </transaction>
428
+ <transaction type="Payment">
429
+ <id>3be4965e38514f2f83724a4ca8518471</id>
430
+ <account_code>invoice-lookup-1286679184</account_code>
431
+ <action>authorization</action>
432
+ <date type="datetime">2010-10-14T06:16:48Z</date>
433
+ <amount_in_cents type="integer">100</amount_in_cents>
434
+ <status>void</status>
435
+ <message>Test Gateway: Successful test transaction</message>
436
+ <reference></reference>
437
+ <cvv_result code="M">Match</cvv_result>
438
+ <avs_result code="D">Street address and postal code match.</avs_result>
439
+ <avs_result_street></avs_result_street>
440
+ <avs_result_postal></avs_result_postal>
441
+ <test type="boolean">true</test>
442
+ <voidable type="boolean">false</voidable>
443
+ <refundable type="boolean">false</refundable>
444
+ </transaction>
445
+ <transaction type="Payment">
446
+ <id>f32a7fbf135849cd9ad5d66218ccb6b3</id>
447
+ <account_code>invoice-list-1286679184</account_code>
448
+ <action>authorization</action>
449
+ <date type="datetime">2010-10-14T06:16:42Z</date>
450
+ <amount_in_cents type="integer">100</amount_in_cents>
451
+ <status>void</status>
452
+ <message>Test Gateway: Successful test transaction</message>
453
+ <reference></reference>
454
+ <cvv_result code="M">Match</cvv_result>
455
+ <avs_result code="D">Street address and postal code match.</avs_result>
456
+ <avs_result_street></avs_result_street>
457
+ <avs_result_postal></avs_result_postal>
458
+ <test type="boolean">true</test>
459
+ <voidable type="boolean">false</voidable>
460
+ <refundable type="boolean">false</refundable>
461
+ </transaction>
462
+ <transaction type="Payment">
463
+ <id>3f31cd29f2d149c98efb84e52d0ede3b</id>
464
+ <account_code>invoice-create-1286679184</account_code>
465
+ <action>authorization</action>
466
+ <date type="datetime">2010-10-14T06:16:37Z</date>
467
+ <amount_in_cents type="integer">100</amount_in_cents>
468
+ <status>void</status>
469
+ <message>Test Gateway: Successful test transaction</message>
470
+ <reference></reference>
471
+ <cvv_result code="M">Match</cvv_result>
472
+ <avs_result code="D">Street address and postal code match.</avs_result>
473
+ <avs_result_street></avs_result_street>
474
+ <avs_result_postal></avs_result_postal>
475
+ <test type="boolean">true</test>
476
+ <voidable type="boolean">false</voidable>
477
+ <refundable type="boolean">false</refundable>
478
+ </transaction>
479
+ <transaction type="Payment">
480
+ <id>9469469abd86454aa1f2fe63c29fdb8a</id>
481
+ <account_code>charge-create-1286681273</account_code>
482
+ <action>authorization</action>
483
+ <date type="datetime">2010-10-14T06:16:20Z</date>
484
+ <amount_in_cents type="integer">100</amount_in_cents>
485
+ <status>void</status>
486
+ <message>Test Gateway: Successful test transaction</message>
487
+ <reference></reference>
488
+ <cvv_result code="M">Match</cvv_result>
489
+ <avs_result code="D">Street address and postal code match.</avs_result>
490
+ <avs_result_street></avs_result_street>
491
+ <avs_result_postal></avs_result_postal>
492
+ <test type="boolean">true</test>
493
+ <voidable type="boolean">false</voidable>
494
+ <refundable type="boolean">false</refundable>
495
+ </transaction>
496
+ <transaction type="Payment">
497
+ <id>148ab253fff84c03b79e0e5ed5650ec4</id>
498
+ <account_code>billing-destroy-1286682213</account_code>
499
+ <action>authorization</action>
500
+ <date type="datetime">2010-10-14T06:16:01Z</date>
501
+ <amount_in_cents type="integer">100</amount_in_cents>
502
+ <status>void</status>
503
+ <message>Test Gateway: Successful test transaction</message>
504
+ <reference></reference>
505
+ <cvv_result code="M">Match</cvv_result>
506
+ <avs_result code="D">Street address and postal code match.</avs_result>
507
+ <avs_result_street></avs_result_street>
508
+ <avs_result_postal></avs_result_postal>
509
+ <test type="boolean">true</test>
510
+ <voidable type="boolean">false</voidable>
511
+ <refundable type="boolean">false</refundable>
512
+ </transaction>
513
+ <transaction type="Payment">
514
+ <id>e83a818d13ed4c658a0ad98dc10cfbd6</id>
515
+ <account_code>billing-find-1286682213</account_code>
516
+ <action>authorization</action>
517
+ <date type="datetime">2010-10-14T06:15:58Z</date>
518
+ <amount_in_cents type="integer">100</amount_in_cents>
519
+ <status>void</status>
520
+ <message>Test Gateway: Successful test transaction</message>
521
+ <reference></reference>
522
+ <cvv_result code="M">Match</cvv_result>
523
+ <avs_result code="D">Street address and postal code match.</avs_result>
524
+ <avs_result_street></avs_result_street>
525
+ <avs_result_postal></avs_result_postal>
526
+ <test type="boolean">true</test>
527
+ <voidable type="boolean">false</voidable>
528
+ <refundable type="boolean">false</refundable>
529
+ </transaction>
530
+ <transaction type="Payment">
531
+ <id>a5d9556a8b3e452ba8d98ac6a4021370</id>
532
+ <account_code>billing-update-1286682213</account_code>
533
+ <action>authorization</action>
534
+ <date type="datetime">2010-10-14T06:15:55Z</date>
535
+ <amount_in_cents type="integer">100</amount_in_cents>
536
+ <status>void</status>
537
+ <message>Test Gateway: Successful test transaction</message>
538
+ <reference></reference>
539
+ <cvv_result code="M">Match</cvv_result>
540
+ <avs_result code="D">Street address and postal code match.</avs_result>
541
+ <avs_result_street></avs_result_street>
542
+ <avs_result_postal></avs_result_postal>
543
+ <test type="boolean">true</test>
544
+ <voidable type="boolean">false</voidable>
545
+ <refundable type="boolean">false</refundable>
546
+ </transaction>
547
+ <transaction type="Payment">
548
+ <id>581548e36b9c423b9bdffc786a0710fa</id>
549
+ <account_code>billing-update-1286682213</account_code>
550
+ <action>authorization</action>
551
+ <date type="datetime">2010-10-14T06:15:54Z</date>
552
+ <amount_in_cents type="integer">100</amount_in_cents>
553
+ <status>void</status>
554
+ <message>Test Gateway: Successful test transaction</message>
555
+ <reference></reference>
556
+ <cvv_result code="M">Match</cvv_result>
557
+ <avs_result code="D">Street address and postal code match.</avs_result>
558
+ <avs_result_street></avs_result_street>
559
+ <avs_result_postal></avs_result_postal>
560
+ <test type="boolean">true</test>
561
+ <voidable type="boolean">false</voidable>
562
+ <refundable type="boolean">false</refundable>
563
+ </transaction>
564
+ <transaction type="Payment">
565
+ <id>5f4e73d1ba004770adad2efe20174360</id>
566
+ <account_code>billing-create-1286682213</account_code>
567
+ <action>authorization</action>
568
+ <date type="datetime">2010-10-14T06:15:51Z</date>
569
+ <amount_in_cents type="integer">100</amount_in_cents>
570
+ <status>void</status>
571
+ <message>Test Gateway: Successful test transaction</message>
572
+ <reference></reference>
573
+ <cvv_result code="M">Match</cvv_result>
574
+ <avs_result code="D">Street address and postal code match.</avs_result>
575
+ <avs_result_street></avs_result_street>
576
+ <avs_result_postal></avs_result_postal>
577
+ <test type="boolean">true</test>
578
+ <voidable type="boolean">false</voidable>
579
+ <refundable type="boolean">false</refundable>
580
+ </transaction>
581
+ <transaction type="Payment">
582
+ <id>5bcbaa6bbbf344db8da3f8f19e4044ec</id>
583
+ <account_code>transaction-refund-1287015526</account_code>
584
+ <action>authorization</action>
585
+ <date type="datetime">2010-10-14T00:31:34Z</date>
586
+ <amount_in_cents type="integer">100</amount_in_cents>
587
+ <status>void</status>
588
+ <message>Test Gateway: Successful test transaction</message>
589
+ <reference></reference>
590
+ <cvv_result code="M">Match</cvv_result>
591
+ <avs_result code="D">Street address and postal code match.</avs_result>
592
+ <avs_result_street></avs_result_street>
593
+ <avs_result_postal></avs_result_postal>
594
+ <test type="boolean">true</test>
595
+ <voidable type="boolean">false</voidable>
596
+ <refundable type="boolean">false</refundable>
597
+ </transaction>
598
+ <transaction type="Payment">
599
+ <id>c1e58072c0e94bb884fc60e8b63068df</id>
600
+ <account_code>transaction-void-1287015526</account_code>
601
+ <action>purchase</action>
602
+ <date type="datetime">2010-10-14T00:31:28Z</date>
603
+ <amount_in_cents type="integer">100</amount_in_cents>
604
+ <status>void</status>
605
+ <message>Test Gateway: Successful test transaction</message>
606
+ <reference></reference>
607
+ <cvv_result code="M">Match</cvv_result>
608
+ <avs_result code="D">Street address and postal code match.</avs_result>
609
+ <avs_result_street></avs_result_street>
610
+ <avs_result_postal></avs_result_postal>
611
+ <test type="boolean">true</test>
612
+ <voidable type="boolean">false</voidable>
613
+ <refundable type="boolean">false</refundable>
614
+ </transaction>
615
+ <transaction type="Payment">
616
+ <id>54f983df41534e3c8bf1103f79517cca</id>
617
+ <account_code>transaction-void-1287015526</account_code>
618
+ <action>authorization</action>
619
+ <date type="datetime">2010-10-14T00:31:26Z</date>
620
+ <amount_in_cents type="integer">100</amount_in_cents>
621
+ <status>void</status>
622
+ <message>Test Gateway: Successful test transaction</message>
623
+ <reference></reference>
624
+ <cvv_result code="M">Match</cvv_result>
625
+ <avs_result code="D">Street address and postal code match.</avs_result>
626
+ <avs_result_street></avs_result_street>
627
+ <avs_result_postal></avs_result_postal>
628
+ <test type="boolean">true</test>
629
+ <voidable type="boolean">false</voidable>
630
+ <refundable type="boolean">false</refundable>
631
+ </transaction>
632
+ <transaction type="Payment">
633
+ <id>e47bf9a135e04984a1db1abe737d4cec</id>
634
+ <account_code>transaction-lookup-1287015526</account_code>
635
+ <action>authorization</action>
636
+ <date type="datetime">2010-10-14T00:31:14Z</date>
637
+ <amount_in_cents type="integer">100</amount_in_cents>
638
+ <status>void</status>
639
+ <message>Test Gateway: Successful test transaction</message>
640
+ <reference></reference>
641
+ <cvv_result code="M">Match</cvv_result>
642
+ <avs_result code="D">Street address and postal code match.</avs_result>
643
+ <avs_result_street></avs_result_street>
644
+ <avs_result_postal></avs_result_postal>
645
+ <test type="boolean">true</test>
646
+ <voidable type="boolean">false</voidable>
647
+ <refundable type="boolean">false</refundable>
648
+ </transaction>
649
+ <transaction type="Payment">
650
+ <id>bc12ab966a684159a841d83eba6b1b30</id>
651
+ <account_code>transaction-list-filled-1287015526</account_code>
652
+ <action>authorization</action>
653
+ <date type="datetime">2010-10-14T00:31:03Z</date>
654
+ <amount_in_cents type="integer">100</amount_in_cents>
655
+ <status>void</status>
656
+ <message>Test Gateway: Successful test transaction</message>
657
+ <reference></reference>
658
+ <cvv_result code="M">Match</cvv_result>
659
+ <avs_result code="D">Street address and postal code match.</avs_result>
660
+ <avs_result_street></avs_result_street>
661
+ <avs_result_postal></avs_result_postal>
662
+ <test type="boolean">true</test>
663
+ <voidable type="boolean">false</voidable>
664
+ <refundable type="boolean">false</refundable>
665
+ </transaction>
666
+ </transactions>
667
+
668
+ http_version: "1.1"