recurly 0.2.7 → 0.2.8
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.
- data/lib/recurly/formats/xml_with_pagination.rb +11 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/transaction_spec.rb +10 -6
- data/spec/vcr/transaction/all/1289558212.yml +78 -0
- data/spec/vcr/transaction/create-no-account/1289558212.yml +93 -0
- data/spec/vcr/transaction/create-with-account/1289558212.yml +226 -0
- data/spec/vcr/transaction/list-filled/1289558212.yml +433 -0
- data/spec/vcr/transaction/list-initial/1289558212.yml +210 -0
- data/spec/vcr/transaction/lookup/1289558212.yml +540 -0
- data/spec/vcr/transaction/refund/1289558212.yml +290 -0
- data/spec/vcr/transaction/void/1289558212.yml +366 -0
- metadata +36 -26
@@ -0,0 +1,290 @@
|
|
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
|
+
<account-code>transaction-refund-1289558212</account-code>
|
10
|
+
<first-name>Verena</first-name>
|
11
|
+
<last-name>Test</last-name>
|
12
|
+
<email>verena@test.com</email>
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
14
|
+
</account>
|
15
|
+
|
16
|
+
headers:
|
17
|
+
authorization:
|
18
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
19
|
+
content-type:
|
20
|
+
- application/xml
|
21
|
+
accept:
|
22
|
+
- "*/*"
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
connection:
|
26
|
+
- close
|
27
|
+
response: !ruby/struct:VCR::Response
|
28
|
+
status: !ruby/struct:VCR::ResponseStatus
|
29
|
+
code: 201
|
30
|
+
message: Created
|
31
|
+
headers:
|
32
|
+
server:
|
33
|
+
- nginx/0.7.65
|
34
|
+
date:
|
35
|
+
- Fri, 12 Nov 2010 10:37:03 GMT
|
36
|
+
content-type:
|
37
|
+
- application/xml; charset=utf-8
|
38
|
+
connection:
|
39
|
+
- close
|
40
|
+
cache-control:
|
41
|
+
- no-cache
|
42
|
+
location:
|
43
|
+
- https://recurlytest3-test.recurly.com/accounts/transaction-refund-1289558212
|
44
|
+
x-runtime:
|
45
|
+
- "262"
|
46
|
+
content-length:
|
47
|
+
- "591"
|
48
|
+
set-cookie:
|
49
|
+
- account_credentials=4ae6056bda29944fdaad6244f54c913377932881aacba8b0510b1d39c98b618a03c55cf3b1e7b41dbb0980beccdbfcaad5217c50e8bc0ae912acaec14aecc504%3A%3A; domain=.recurly.com; path=/
|
50
|
+
- ""
|
51
|
+
- _recurly_session=1768aedbac011d315417f5b2e539be32; domain=.recurly.com; path=/; secure; HttpOnly
|
52
|
+
body: |
|
53
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
54
|
+
<account>
|
55
|
+
<id>transaction-refund-1289558212</id>
|
56
|
+
<account_code>transaction-refund-1289558212</account_code>
|
57
|
+
<username></username>
|
58
|
+
<email>verena@test.com</email>
|
59
|
+
<first_name>Verena</first_name>
|
60
|
+
<last_name>Test</last_name>
|
61
|
+
<company_name>Recurly Ruby Gem</company_name>
|
62
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
63
|
+
<closed type="boolean">false</closed>
|
64
|
+
<hosted_login_token>48837227e7a746409c7abf152fec375b</hosted_login_token>
|
65
|
+
<created_at type="datetime">2010-11-12T10:37:03Z</created_at>
|
66
|
+
<state>active</state>
|
67
|
+
</account>
|
68
|
+
|
69
|
+
http_version: "1.1"
|
70
|
+
- !ruby/struct:VCR::HTTPInteraction
|
71
|
+
request: !ruby/struct:VCR::Request
|
72
|
+
method: :put
|
73
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-refund-1289558212/billing_info.xml
|
74
|
+
body: |
|
75
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
76
|
+
<billing-info>
|
77
|
+
<address1>123 Test St</address1>
|
78
|
+
<city>San Francisco</city>
|
79
|
+
<state>CA</state>
|
80
|
+
<zip>94115</zip>
|
81
|
+
<country>US</country>
|
82
|
+
<credit-card>
|
83
|
+
<number>1</number>
|
84
|
+
<year type="integer">2011</year>
|
85
|
+
<month type="integer">11</month>
|
86
|
+
<verification-value>123</verification-value>
|
87
|
+
</credit-card>
|
88
|
+
<account-code>transaction-refund-1289558212</account-code>
|
89
|
+
<first-name>Verena</first-name>
|
90
|
+
<last-name>Test</last-name>
|
91
|
+
</billing-info>
|
92
|
+
|
93
|
+
headers:
|
94
|
+
authorization:
|
95
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
96
|
+
content-type:
|
97
|
+
- application/xml
|
98
|
+
accept:
|
99
|
+
- "*/*"
|
100
|
+
user-agent:
|
101
|
+
- Ruby
|
102
|
+
connection:
|
103
|
+
- close
|
104
|
+
response: !ruby/struct:VCR::Response
|
105
|
+
status: !ruby/struct:VCR::ResponseStatus
|
106
|
+
code: 200
|
107
|
+
message: OK
|
108
|
+
headers:
|
109
|
+
server:
|
110
|
+
- nginx/0.7.65
|
111
|
+
date:
|
112
|
+
- Fri, 12 Nov 2010 10:37:01 GMT
|
113
|
+
content-type:
|
114
|
+
- application/xml; charset=utf-8
|
115
|
+
connection:
|
116
|
+
- close
|
117
|
+
x-runtime:
|
118
|
+
- "47"
|
119
|
+
etag:
|
120
|
+
- "\"b3da46cd521947fed529bf8c20ddab2e\""
|
121
|
+
cache-control:
|
122
|
+
- private, max-age=0, must-revalidate
|
123
|
+
content-length:
|
124
|
+
- "643"
|
125
|
+
set-cookie:
|
126
|
+
- _recurly_session=8d67768d635b1741e7b5a3e79bf08c86; domain=.recurly.com; path=/; secure; HttpOnly
|
127
|
+
x-ua-compatible:
|
128
|
+
- IE=Edge
|
129
|
+
body: |
|
130
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
131
|
+
<billing_info>
|
132
|
+
<account_code>transaction-refund-1289558212</account_code>
|
133
|
+
<first_name>Verena</first_name>
|
134
|
+
<last_name>Test</last_name>
|
135
|
+
<address1>123 Test St</address1>
|
136
|
+
<address2></address2>
|
137
|
+
<city>San Francisco</city>
|
138
|
+
<state>CA</state>
|
139
|
+
<country>US</country>
|
140
|
+
<zip>94115</zip>
|
141
|
+
<phone></phone>
|
142
|
+
<vat_number></vat_number>
|
143
|
+
<ip_address></ip_address>
|
144
|
+
<credit_card>
|
145
|
+
<type>bogus</type>
|
146
|
+
<last_four>1</last_four>
|
147
|
+
<month type="integer">11</month>
|
148
|
+
<year type="integer">2011</year>
|
149
|
+
</credit_card>
|
150
|
+
<updated_at type="datetime">2010-11-12T10:37:01Z</updated_at>
|
151
|
+
</billing_info>
|
152
|
+
|
153
|
+
http_version: "1.1"
|
154
|
+
- !ruby/struct:VCR::HTTPInteraction
|
155
|
+
request: !ruby/struct:VCR::Request
|
156
|
+
method: :post
|
157
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
|
158
|
+
body: |
|
159
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
160
|
+
<transaction>
|
161
|
+
<account>
|
162
|
+
<account-code>transaction-refund-1289558212</account-code>
|
163
|
+
</account>
|
164
|
+
<amount-in-cents type="integer">1000</amount-in-cents>
|
165
|
+
<description>one</description>
|
166
|
+
</transaction>
|
167
|
+
|
168
|
+
headers:
|
169
|
+
authorization:
|
170
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
171
|
+
content-type:
|
172
|
+
- application/xml
|
173
|
+
accept:
|
174
|
+
- "*/*"
|
175
|
+
user-agent:
|
176
|
+
- Ruby
|
177
|
+
connection:
|
178
|
+
- close
|
179
|
+
response: !ruby/struct:VCR::Response
|
180
|
+
status: !ruby/struct:VCR::ResponseStatus
|
181
|
+
code: 201
|
182
|
+
message: Created
|
183
|
+
headers:
|
184
|
+
server:
|
185
|
+
- nginx/0.7.65
|
186
|
+
date:
|
187
|
+
- Fri, 12 Nov 2010 10:37:04 GMT
|
188
|
+
content-type:
|
189
|
+
- application/xml; charset=utf-8
|
190
|
+
connection:
|
191
|
+
- close
|
192
|
+
cache-control:
|
193
|
+
- no-cache
|
194
|
+
location:
|
195
|
+
- https://recurlytest3-test.recurly.com/transactions/0db5ff9f7a9c46a19859e3c49fa71727
|
196
|
+
x-runtime:
|
197
|
+
- "176"
|
198
|
+
content-length:
|
199
|
+
- "851"
|
200
|
+
set-cookie:
|
201
|
+
- _recurly_session=827f2203dc3bf4c51fad88a0fe48fa35; domain=.recurly.com; path=/; secure; HttpOnly
|
202
|
+
body: |
|
203
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
204
|
+
<transaction type="Payment">
|
205
|
+
<id>0db5ff9f7a9c46a19859e3c49fa71727</id>
|
206
|
+
<account_code>transaction-refund-1289558212</account_code>
|
207
|
+
<action>purchase</action>
|
208
|
+
<date type="datetime">2010-11-12T10:37:04Z</date>
|
209
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
210
|
+
<status>success</status>
|
211
|
+
<message>Test Gateway: Successful test transaction</message>
|
212
|
+
<reference></reference>
|
213
|
+
<cvv_result code="M">Match</cvv_result>
|
214
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
215
|
+
<avs_result_street></avs_result_street>
|
216
|
+
<avs_result_postal></avs_result_postal>
|
217
|
+
<test type="boolean">true</test>
|
218
|
+
<voidable type="boolean">true</voidable>
|
219
|
+
<refundable type="boolean">true</refundable>
|
220
|
+
<credit_card>
|
221
|
+
<type>bogus</type>
|
222
|
+
<last_four>1</last_four>
|
223
|
+
</credit_card>
|
224
|
+
</transaction>
|
225
|
+
|
226
|
+
http_version: "1.1"
|
227
|
+
- !ruby/struct:VCR::HTTPInteraction
|
228
|
+
request: !ruby/struct:VCR::Request
|
229
|
+
method: :delete
|
230
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/0db5ff9f7a9c46a19859e3c49fa71727.xml?action=refund&amount=1000
|
231
|
+
body:
|
232
|
+
headers:
|
233
|
+
authorization:
|
234
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
235
|
+
accept:
|
236
|
+
- application/xml
|
237
|
+
user-agent:
|
238
|
+
- Ruby
|
239
|
+
connection:
|
240
|
+
- close
|
241
|
+
response: !ruby/struct:VCR::Response
|
242
|
+
status: !ruby/struct:VCR::ResponseStatus
|
243
|
+
code: 200
|
244
|
+
message: OK
|
245
|
+
headers:
|
246
|
+
server:
|
247
|
+
- nginx/0.7.65
|
248
|
+
date:
|
249
|
+
- Fri, 12 Nov 2010 10:37:02 GMT
|
250
|
+
content-type:
|
251
|
+
- application/xml; charset=utf-8
|
252
|
+
connection:
|
253
|
+
- close
|
254
|
+
x-runtime:
|
255
|
+
- "26"
|
256
|
+
etag:
|
257
|
+
- "\"5b715afed3c606ba517dd56fdd836c81\""
|
258
|
+
cache-control:
|
259
|
+
- private, max-age=0, must-revalidate
|
260
|
+
content-length:
|
261
|
+
- "850"
|
262
|
+
set-cookie:
|
263
|
+
- _recurly_session=53fbfc2a01ec69b8fdf6b7c1cce56565; domain=.recurly.com; path=/; secure; HttpOnly
|
264
|
+
x-ua-compatible:
|
265
|
+
- IE=Edge
|
266
|
+
body: |
|
267
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
268
|
+
<transaction type="Payment">
|
269
|
+
<id>0db5ff9f7a9c46a19859e3c49fa71727</id>
|
270
|
+
<account_code>transaction-refund-1289558212</account_code>
|
271
|
+
<action>purchase</action>
|
272
|
+
<date type="datetime">2010-11-12T10:37:04Z</date>
|
273
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
|
+
<status>void</status>
|
275
|
+
<message>Test Gateway: Successful test transaction</message>
|
276
|
+
<reference></reference>
|
277
|
+
<cvv_result code="M">Match</cvv_result>
|
278
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
279
|
+
<avs_result_street></avs_result_street>
|
280
|
+
<avs_result_postal></avs_result_postal>
|
281
|
+
<test type="boolean">true</test>
|
282
|
+
<voidable type="boolean">false</voidable>
|
283
|
+
<refundable type="boolean">false</refundable>
|
284
|
+
<credit_card>
|
285
|
+
<type>bogus</type>
|
286
|
+
<last_four>1</last_four>
|
287
|
+
</credit_card>
|
288
|
+
</transaction>
|
289
|
+
|
290
|
+
http_version: "1.1"
|
@@ -0,0 +1,366 @@
|
|
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
|
+
<account-code>transaction-void-1289558212</account-code>
|
10
|
+
<first-name>Verena</first-name>
|
11
|
+
<last-name>Test</last-name>
|
12
|
+
<email>verena@test.com</email>
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
14
|
+
</account>
|
15
|
+
|
16
|
+
headers:
|
17
|
+
authorization:
|
18
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
19
|
+
content-type:
|
20
|
+
- application/xml
|
21
|
+
accept:
|
22
|
+
- "*/*"
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
connection:
|
26
|
+
- close
|
27
|
+
response: !ruby/struct:VCR::Response
|
28
|
+
status: !ruby/struct:VCR::ResponseStatus
|
29
|
+
code: 201
|
30
|
+
message: Created
|
31
|
+
headers:
|
32
|
+
server:
|
33
|
+
- nginx/0.7.65
|
34
|
+
date:
|
35
|
+
- Fri, 12 Nov 2010 10:36:59 GMT
|
36
|
+
content-type:
|
37
|
+
- application/xml; charset=utf-8
|
38
|
+
connection:
|
39
|
+
- close
|
40
|
+
cache-control:
|
41
|
+
- no-cache
|
42
|
+
location:
|
43
|
+
- https://recurlytest3-test.recurly.com/accounts/transaction-void-1289558212
|
44
|
+
x-runtime:
|
45
|
+
- "255"
|
46
|
+
content-length:
|
47
|
+
- "587"
|
48
|
+
set-cookie:
|
49
|
+
- account_credentials=da55d1478652ea4d2b31f91104f9d4b79a322dbeed6cdc4d4011ab16bcb806b8b3a5170713648b14f5fbade6b40e790801dcbe72c10795424a97311dda5abedb%3A%3A; domain=.recurly.com; path=/
|
50
|
+
- ""
|
51
|
+
- _recurly_session=9b82c606cb84ac4ef9e56326d4382adb; domain=.recurly.com; path=/; secure; HttpOnly
|
52
|
+
body: |
|
53
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
54
|
+
<account>
|
55
|
+
<id>transaction-void-1289558212</id>
|
56
|
+
<account_code>transaction-void-1289558212</account_code>
|
57
|
+
<username></username>
|
58
|
+
<email>verena@test.com</email>
|
59
|
+
<first_name>Verena</first_name>
|
60
|
+
<last_name>Test</last_name>
|
61
|
+
<company_name>Recurly Ruby Gem</company_name>
|
62
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
63
|
+
<closed type="boolean">false</closed>
|
64
|
+
<hosted_login_token>39fbcc1d1376477cb807df71e0ff551e</hosted_login_token>
|
65
|
+
<created_at type="datetime">2010-11-12T10:36:59Z</created_at>
|
66
|
+
<state>active</state>
|
67
|
+
</account>
|
68
|
+
|
69
|
+
http_version: "1.1"
|
70
|
+
- !ruby/struct:VCR::HTTPInteraction
|
71
|
+
request: !ruby/struct:VCR::Request
|
72
|
+
method: :put
|
73
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-void-1289558212/billing_info.xml
|
74
|
+
body: |
|
75
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
76
|
+
<billing-info>
|
77
|
+
<address1>123 Test St</address1>
|
78
|
+
<city>San Francisco</city>
|
79
|
+
<state>CA</state>
|
80
|
+
<zip>94115</zip>
|
81
|
+
<country>US</country>
|
82
|
+
<credit-card>
|
83
|
+
<number>1</number>
|
84
|
+
<year type="integer">2011</year>
|
85
|
+
<month type="integer">11</month>
|
86
|
+
<verification-value>123</verification-value>
|
87
|
+
</credit-card>
|
88
|
+
<account-code>transaction-void-1289558212</account-code>
|
89
|
+
<first-name>Verena</first-name>
|
90
|
+
<last-name>Test</last-name>
|
91
|
+
</billing-info>
|
92
|
+
|
93
|
+
headers:
|
94
|
+
authorization:
|
95
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
96
|
+
content-type:
|
97
|
+
- application/xml
|
98
|
+
accept:
|
99
|
+
- "*/*"
|
100
|
+
user-agent:
|
101
|
+
- Ruby
|
102
|
+
connection:
|
103
|
+
- close
|
104
|
+
response: !ruby/struct:VCR::Response
|
105
|
+
status: !ruby/struct:VCR::ResponseStatus
|
106
|
+
code: 200
|
107
|
+
message: OK
|
108
|
+
headers:
|
109
|
+
server:
|
110
|
+
- nginx/0.7.65
|
111
|
+
date:
|
112
|
+
- Fri, 12 Nov 2010 10:37:01 GMT
|
113
|
+
content-type:
|
114
|
+
- application/xml; charset=utf-8
|
115
|
+
connection:
|
116
|
+
- close
|
117
|
+
x-runtime:
|
118
|
+
- "50"
|
119
|
+
etag:
|
120
|
+
- "\"6124153c4f827d8997dd101b33e6e373\""
|
121
|
+
cache-control:
|
122
|
+
- private, max-age=0, must-revalidate
|
123
|
+
content-length:
|
124
|
+
- "641"
|
125
|
+
set-cookie:
|
126
|
+
- _recurly_session=767f109b2f88e0d35fb3964c9b161627; domain=.recurly.com; path=/; secure; HttpOnly
|
127
|
+
x-ua-compatible:
|
128
|
+
- IE=Edge
|
129
|
+
body: |
|
130
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
131
|
+
<billing_info>
|
132
|
+
<account_code>transaction-void-1289558212</account_code>
|
133
|
+
<first_name>Verena</first_name>
|
134
|
+
<last_name>Test</last_name>
|
135
|
+
<address1>123 Test St</address1>
|
136
|
+
<address2></address2>
|
137
|
+
<city>San Francisco</city>
|
138
|
+
<state>CA</state>
|
139
|
+
<country>US</country>
|
140
|
+
<zip>94115</zip>
|
141
|
+
<phone></phone>
|
142
|
+
<vat_number></vat_number>
|
143
|
+
<ip_address></ip_address>
|
144
|
+
<credit_card>
|
145
|
+
<type>bogus</type>
|
146
|
+
<last_four>1</last_four>
|
147
|
+
<month type="integer">11</month>
|
148
|
+
<year type="integer">2011</year>
|
149
|
+
</credit_card>
|
150
|
+
<updated_at type="datetime">2010-11-12T10:37:01Z</updated_at>
|
151
|
+
</billing_info>
|
152
|
+
|
153
|
+
http_version: "1.1"
|
154
|
+
- !ruby/struct:VCR::HTTPInteraction
|
155
|
+
request: !ruby/struct:VCR::Request
|
156
|
+
method: :post
|
157
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
|
158
|
+
body: |
|
159
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
160
|
+
<transaction>
|
161
|
+
<account>
|
162
|
+
<account-code>transaction-void-1289558212</account-code>
|
163
|
+
</account>
|
164
|
+
<amount-in-cents type="integer">100</amount-in-cents>
|
165
|
+
<description>one</description>
|
166
|
+
</transaction>
|
167
|
+
|
168
|
+
headers:
|
169
|
+
authorization:
|
170
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
171
|
+
content-type:
|
172
|
+
- application/xml
|
173
|
+
accept:
|
174
|
+
- "*/*"
|
175
|
+
user-agent:
|
176
|
+
- Ruby
|
177
|
+
connection:
|
178
|
+
- close
|
179
|
+
response: !ruby/struct:VCR::Response
|
180
|
+
status: !ruby/struct:VCR::ResponseStatus
|
181
|
+
code: 201
|
182
|
+
message: Created
|
183
|
+
headers:
|
184
|
+
server:
|
185
|
+
- nginx/0.7.65
|
186
|
+
date:
|
187
|
+
- Fri, 12 Nov 2010 10:37:00 GMT
|
188
|
+
content-type:
|
189
|
+
- application/xml; charset=utf-8
|
190
|
+
connection:
|
191
|
+
- close
|
192
|
+
cache-control:
|
193
|
+
- no-cache
|
194
|
+
location:
|
195
|
+
- https://recurlytest3-test.recurly.com/transactions/d54c99400c41404bb6c4a3a010fb86a4
|
196
|
+
x-runtime:
|
197
|
+
- "319"
|
198
|
+
content-length:
|
199
|
+
- "848"
|
200
|
+
set-cookie:
|
201
|
+
- _recurly_session=a0f4d7d98cdf493dd56d4043250b2c2c; domain=.recurly.com; path=/; secure; HttpOnly
|
202
|
+
body: |
|
203
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
204
|
+
<transaction type="Payment">
|
205
|
+
<id>d54c99400c41404bb6c4a3a010fb86a4</id>
|
206
|
+
<account_code>transaction-void-1289558212</account_code>
|
207
|
+
<action>purchase</action>
|
208
|
+
<date type="datetime">2010-11-12T10:36:59Z</date>
|
209
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
210
|
+
<status>success</status>
|
211
|
+
<message>Test Gateway: Successful test transaction</message>
|
212
|
+
<reference></reference>
|
213
|
+
<cvv_result code="M">Match</cvv_result>
|
214
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
215
|
+
<avs_result_street></avs_result_street>
|
216
|
+
<avs_result_postal></avs_result_postal>
|
217
|
+
<test type="boolean">true</test>
|
218
|
+
<voidable type="boolean">true</voidable>
|
219
|
+
<refundable type="boolean">true</refundable>
|
220
|
+
<credit_card>
|
221
|
+
<type>bogus</type>
|
222
|
+
<last_four>1</last_four>
|
223
|
+
</credit_card>
|
224
|
+
</transaction>
|
225
|
+
|
226
|
+
http_version: "1.1"
|
227
|
+
- !ruby/struct:VCR::HTTPInteraction
|
228
|
+
request: !ruby/struct:VCR::Request
|
229
|
+
method: :delete
|
230
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/d54c99400c41404bb6c4a3a010fb86a4.xml?action=void
|
231
|
+
body:
|
232
|
+
headers:
|
233
|
+
authorization:
|
234
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
235
|
+
accept:
|
236
|
+
- application/xml
|
237
|
+
user-agent:
|
238
|
+
- Ruby
|
239
|
+
connection:
|
240
|
+
- close
|
241
|
+
response: !ruby/struct:VCR::Response
|
242
|
+
status: !ruby/struct:VCR::ResponseStatus
|
243
|
+
code: 200
|
244
|
+
message: OK
|
245
|
+
headers:
|
246
|
+
server:
|
247
|
+
- nginx/0.7.65
|
248
|
+
date:
|
249
|
+
- Fri, 12 Nov 2010 10:37:02 GMT
|
250
|
+
content-type:
|
251
|
+
- application/xml; charset=utf-8
|
252
|
+
connection:
|
253
|
+
- close
|
254
|
+
x-runtime:
|
255
|
+
- "24"
|
256
|
+
etag:
|
257
|
+
- "\"680d49c7b423466ba5151d01610ca775\""
|
258
|
+
cache-control:
|
259
|
+
- private, max-age=0, must-revalidate
|
260
|
+
content-length:
|
261
|
+
- "847"
|
262
|
+
set-cookie:
|
263
|
+
- _recurly_session=5b9745be1ecfb70d37e302dbc76bb286; domain=.recurly.com; path=/; secure; HttpOnly
|
264
|
+
x-ua-compatible:
|
265
|
+
- IE=Edge
|
266
|
+
body: |
|
267
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
268
|
+
<transaction type="Payment">
|
269
|
+
<id>d54c99400c41404bb6c4a3a010fb86a4</id>
|
270
|
+
<account_code>transaction-void-1289558212</account_code>
|
271
|
+
<action>purchase</action>
|
272
|
+
<date type="datetime">2010-11-12T10:36:59Z</date>
|
273
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
274
|
+
<status>void</status>
|
275
|
+
<message>Test Gateway: Successful test transaction</message>
|
276
|
+
<reference></reference>
|
277
|
+
<cvv_result code="M">Match</cvv_result>
|
278
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
279
|
+
<avs_result_street></avs_result_street>
|
280
|
+
<avs_result_postal></avs_result_postal>
|
281
|
+
<test type="boolean">true</test>
|
282
|
+
<voidable type="boolean">false</voidable>
|
283
|
+
<refundable type="boolean">false</refundable>
|
284
|
+
<credit_card>
|
285
|
+
<type>bogus</type>
|
286
|
+
<last_four>1</last_four>
|
287
|
+
</credit_card>
|
288
|
+
</transaction>
|
289
|
+
|
290
|
+
http_version: "1.1"
|
291
|
+
- !ruby/struct:VCR::HTTPInteraction
|
292
|
+
request: !ruby/struct:VCR::Request
|
293
|
+
method: :get
|
294
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml?show=voided
|
295
|
+
body:
|
296
|
+
headers:
|
297
|
+
authorization:
|
298
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
299
|
+
accept:
|
300
|
+
- application/xml
|
301
|
+
accept-encoding:
|
302
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
303
|
+
user-agent:
|
304
|
+
- Ruby
|
305
|
+
connection:
|
306
|
+
- close
|
307
|
+
response: !ruby/struct:VCR::Response
|
308
|
+
status: !ruby/struct:VCR::ResponseStatus
|
309
|
+
code: 200
|
310
|
+
message: OK
|
311
|
+
headers:
|
312
|
+
server:
|
313
|
+
- nginx/0.7.65
|
314
|
+
date:
|
315
|
+
- Fri, 12 Nov 2010 10:37:00 GMT
|
316
|
+
content-type:
|
317
|
+
- application/xml; charset=utf-8
|
318
|
+
transfer-encoding:
|
319
|
+
- chunked
|
320
|
+
connection:
|
321
|
+
- close
|
322
|
+
x-runtime:
|
323
|
+
- "61"
|
324
|
+
etag:
|
325
|
+
- "\"954e13017cc7b0a9ee63288a94eba23b\""
|
326
|
+
cache-control:
|
327
|
+
- private, max-age=0, must-revalidate
|
328
|
+
set-cookie:
|
329
|
+
- _recurly_session=20db8dc7b2914968b56d5800f5ace867; domain=.recurly.com; path=/; secure; HttpOnly
|
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