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
@@ -1,282 +0,0 @@
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-1287186411</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-1287186411
32
- connection:
33
- - close
34
- content-type:
35
- - application/xml; charset=utf-8
36
- x-runtime:
37
- - "593"
38
- date:
39
- - Tue, 19 Oct 2010 05:23:39 GMT
40
- server:
41
- - nginx/0.7.65
42
- content-length:
43
- - "591"
44
- set-cookie:
45
- - account_credentials=a49e9281201985df000dcd2d5901cee29873c6c431916e0b628d6f72f256dc964e19a7a7e51a8ccc114abe436e9d90ca64aadcabd1fdc5b37b0b256a914e220e%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
- - ""
47
- - _recurly_session=c95ce83133d9c9520a1ee6ed02ee48d3; 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-1287186411</id>
54
- <account_code>transaction-refund-1287186411</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>9770067479cf4e7d8c8c59f585b132bd</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:23:39Z</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-1287186411/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-1287186411</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
- - "\"5ed77adc7456537c090f04835da6cea5\""
109
- connection:
110
- - close
111
- content-type:
112
- - application/xml; charset=utf-8
113
- x-runtime:
114
- - "82"
115
- date:
116
- - Tue, 19 Oct 2010 05:23:39 GMT
117
- server:
118
- - nginx/0.7.65
119
- content-length:
120
- - "643"
121
- set-cookie:
122
- - _recurly_session=e963fbf79bfb89be0f6a6e8e3b83f437; 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-1287186411</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-19T05:23:39Z</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-1287186411</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/75f81c0e3e73406ba9420d9e0f9dc86b
180
- connection:
181
- - close
182
- content-type:
183
- - application/xml; charset=utf-8
184
- x-runtime:
185
- - "323"
186
- date:
187
- - Tue, 19 Oct 2010 05:23:40 GMT
188
- server:
189
- - nginx/0.7.65
190
- content-length:
191
- - "851"
192
- set-cookie:
193
- - _recurly_session=3b66bdee315f8d61bc0e50d99a9d8887; 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>75f81c0e3e73406ba9420d9e0f9dc86b</id>
200
- <account_code>transaction-refund-1287186411</account_code>
201
- <action>purchase</action>
202
- <date type="datetime">2010-10-19T05:23:40Z</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"
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/75f81c0e3e73406ba9420d9e0f9dc86b.xml?action=refund&amount=1000
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
- - "\"2e0ddff625fe98004304992801e85a55\""
242
- connection:
243
- - close
244
- content-type:
245
- - application/xml; charset=utf-8
246
- x-runtime:
247
- - "38"
248
- date:
249
- - Tue, 19 Oct 2010 05:23:41 GMT
250
- server:
251
- - nginx/0.7.65
252
- content-length:
253
- - "850"
254
- set-cookie:
255
- - _recurly_session=b90819ed466074d4b62a73088aed5c76; 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>75f81c0e3e73406ba9420d9e0f9dc86b</id>
262
- <account_code>transaction-refund-1287186411</account_code>
263
- <action>purchase</action>
264
- <date type="datetime">2010-10-19T05:23:40Z</date>
265
- <amount_in_cents type="integer">1000</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"
@@ -1,600 +0,0 @@
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-1287186411</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-1287186411
32
- connection:
33
- - close
34
- content-type:
35
- - application/xml; charset=utf-8
36
- x-runtime:
37
- - "616"
38
- date:
39
- - Tue, 19 Oct 2010 05:23:34 GMT
40
- server:
41
- - nginx/0.7.65
42
- content-length:
43
- - "587"
44
- set-cookie:
45
- - account_credentials=12a9856123d4dfaee2e3bfdc71fba278da68e25f73423b03bae5a7785e32462ce3f25944a420a2768db09896a66d674ac671e460adaef89d8838cec0dd657dc3%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
- - ""
47
- - _recurly_session=742360b209785ff64d33a3d7797e2ae4; 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-1287186411</id>
54
- <account_code>transaction-void-1287186411</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>e0c5c1572ebd4dbbb84cccc8144bbd3f</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:23:34Z</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-1287186411/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-1287186411</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
- - "\"76932e5426ca45a3b6a66ae2d774df8d\""
109
- connection:
110
- - close
111
- content-type:
112
- - application/xml; charset=utf-8
113
- x-runtime:
114
- - "58"
115
- date:
116
- - Tue, 19 Oct 2010 05:23:35 GMT
117
- server:
118
- - nginx/0.7.65
119
- content-length:
120
- - "641"
121
- set-cookie:
122
- - _recurly_session=cc59884c31f783633c48a32886ef64c8; 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-1287186411</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-19T05:23:35Z</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-1287186411</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/9e4069d18644423e9bcf4b1635c3b9e8
180
- connection:
181
- - close
182
- content-type:
183
- - application/xml; charset=utf-8
184
- x-runtime:
185
- - "529"
186
- date:
187
- - Tue, 19 Oct 2010 05:23:36 GMT
188
- server:
189
- - nginx/0.7.65
190
- content-length:
191
- - "848"
192
- set-cookie:
193
- - _recurly_session=50377f805f256b16ed86b7837e8208b4; 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>9e4069d18644423e9bcf4b1635c3b9e8</id>
200
- <account_code>transaction-void-1287186411</account_code>
201
- <action>purchase</action>
202
- <date type="datetime">2010-10-19T05:23:36Z</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/9e4069d18644423e9bcf4b1635c3b9e8.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
- - "\"705e7ac6b8990dcbe70db295ecdae124\""
242
- connection:
243
- - close
244
- content-type:
245
- - application/xml; charset=utf-8
246
- x-runtime:
247
- - "61"
248
- date:
249
- - Tue, 19 Oct 2010 05:23:37 GMT
250
- server:
251
- - nginx/0.7.65
252
- content-length:
253
- - "847"
254
- set-cookie:
255
- - _recurly_session=f9ff363f3857f6027c742a67a4f5f694; 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>9e4069d18644423e9bcf4b1635c3b9e8</id>
262
- <account_code>transaction-void-1287186411</account_code>
263
- <action>purchase</action>
264
- <date type="datetime">2010-10-19T05:23:36Z</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
- - "\"1ffaa4458d2c5c964731082be437c9dd\""
304
- connection:
305
- - close
306
- content-type:
307
- - application/xml; charset=utf-8
308
- x-runtime:
309
- - "84"
310
- date:
311
- - Tue, 19 Oct 2010 05:23:37 GMT
312
- server:
313
- - nginx/0.7.65
314
- content-length:
315
- - "12432"
316
- set-cookie:
317
- - _recurly_session=a43bca28098ed3bdcbcee9d9fa527c19; 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">16</total_entries>
326
- <transaction type="Payment">
327
- <id>9e4069d18644423e9bcf4b1635c3b9e8</id>
328
- <account_code>transaction-void-1287186411</account_code>
329
- <action>purchase</action>
330
- <date type="datetime">2010-10-19T05:23:36Z</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>bafbaf73e1fe463d99fe1922548bf5ec</id>
345
- <account_code>transaction-void-1287186411</account_code>
346
- <action>authorization</action>
347
- <date type="datetime">2010-10-19T05:23:35Z</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>e50f2c92858944b7afa6002048d4afe5</id>
362
- <account_code>transaction-lookup-1287186411</account_code>
363
- <action>authorization</action>
364
- <date type="datetime">2010-10-19T05:23:28Z</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>93433acafae2460d8d890c67c78ac80e</id>
379
- <account_code>transaction-list-filled-1287186411</account_code>
380
- <action>authorization</action>
381
- <date type="datetime">2010-10-19T05:23:22Z</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>19400347b0524ed5a2486d1225c1824a</id>
396
- <account_code>transaction-list-empty-1287186411</account_code>
397
- <action>authorization</action>
398
- <date type="datetime">2010-10-19T05:23:20Z</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>6f987fd24d5f403cad8bb789bffd1653</id>
413
- <account_code>transaction-create-with-account-1287186411</account_code>
414
- <action>authorization</action>
415
- <date type="datetime">2010-10-19T05:23:16Z</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>5787fcbf9bdf46c2bf5695ef805e7c4f</id>
430
- <account_code>invoice-lookup-1287167121</account_code>
431
- <action>authorization</action>
432
- <date type="datetime">2010-10-19T05:22:19Z</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>7645056bc416452499a30e64092ecf73</id>
447
- <account_code>invoice-list-1287167121</account_code>
448
- <action>authorization</action>
449
- <date type="datetime">2010-10-19T05:22:14Z</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>3a7981a8b2074da7b7c46d38b2f5d319</id>
464
- <account_code>invoice-create-no-charges-1287167121</account_code>
465
- <action>authorization</action>
466
- <date type="datetime">2010-10-19T05:22:11Z</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>28fd42f70b54447286e141a7225c0d3e</id>
481
- <account_code>invoice-create-1287167121</account_code>
482
- <action>authorization</action>
483
- <date type="datetime">2010-10-19T05:22:07Z</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>bab262ec696c4fd3962bea14f48954f3</id>
498
- <account_code>charge-create-1287465632</account_code>
499
- <action>authorization</action>
500
- <date type="datetime">2010-10-19T05:21:45Z</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>00dfa2a6c3244c3a863eb0b669754188</id>
515
- <account_code>billing-destroy-1286682213</account_code>
516
- <action>authorization</action>
517
- <date type="datetime">2010-10-19T05:21:30Z</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>25a060c2bd9847dfaeaf4376e277b10e</id>
532
- <account_code>billing-find-1286682213</account_code>
533
- <action>authorization</action>
534
- <date type="datetime">2010-10-19T05:21:27Z</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>89a6b965104f45e5953e8230b17fbf57</id>
549
- <account_code>billing-update-1286682213</account_code>
550
- <action>authorization</action>
551
- <date type="datetime">2010-10-19T05:21:24Z</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>f749610a6e8941728363b4ffe432b917</id>
566
- <account_code>billing-update-1286682213</account_code>
567
- <action>authorization</action>
568
- <date type="datetime">2010-10-19T05:21:24Z</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>4d41c1e2e6f94609ba40b79684e791d8</id>
583
- <account_code>billing-create-1286682213</account_code>
584
- <action>authorization</action>
585
- <date type="datetime">2010-10-19T05:21:21Z</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
- </transactions>
599
-
600
- http_version: "1.1"