recurly 0.4.7 → 0.4.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/README.md +6 -0
- data/lib/recurly/base.rb +15 -14
- data/lib/recurly/subscription.rb +2 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -10
- data/spec/integration/transparent_spec.rb +72 -0
- data/spec/unit/transparent_spec.rb +6 -6
- data/spec/vcr/account/accept-language-account/{1301979678.yml → 1296674173.yml} +16 -18
- data/spec/vcr/account/close/{1301979678.yml → 1296674173.yml} +37 -39
- data/spec/vcr/account/create-blank/{1301979678.yml → 1296674173.yml} +8 -12
- data/spec/vcr/account/create-duplicate/{1301979678.yml → 1296674173.yml} +21 -27
- data/spec/vcr/account/create-min/{1301979678.yml → 1296674173.yml} +16 -18
- data/spec/vcr/account/create/{1301979678.yml → 1296674173.yml} +16 -18
- data/spec/vcr/account/find/{1301979678.yml → 1296674173.yml} +36 -38
- data/spec/vcr/account/list/1296674173.yml +55 -0
- data/spec/vcr/account/update/{1301979678.yml → 1296674173.yml} +59 -65
- data/spec/vcr/billing/create/{1302025874.yml → 1296690812.yml} +43 -45
- data/spec/vcr/billing/destroy/{1302025874.yml → 1296690812.yml} +58 -60
- data/spec/vcr/billing/find/{1302025874.yml → 1296690812.yml} +56 -58
- data/spec/vcr/billing/update/{1302025874.yml → 1296690812.yml} +59 -61
- data/spec/vcr/charge/create/{1297746103.yml → 1296674173.yml} +58 -64
- data/spec/vcr/charge/delete-uninvoiced/{1297746103.yml → 1296674173.yml} +66 -72
- data/spec/vcr/charge/list-all/{1297746103.yml → 1296674173.yml} +77 -91
- data/spec/vcr/charge/list-invoiced/{1297746103.yml → 1296674173.yml} +115 -131
- data/spec/vcr/charge/list-pending/{1297746103.yml → 1296674173.yml} +77 -91
- data/spec/vcr/charge/lookup/{1297746103.yml → 1296674173.yml} +43 -49
- data/spec/vcr/coupon/create/1296688818.yml +183 -0
- data/spec/vcr/coupon/create/1296774903.yml +183 -0
- data/spec/vcr/coupon/destroy/1296688818.yml +207 -0
- data/spec/vcr/coupon/destroy/1296774903.yml +207 -0
- data/spec/vcr/{coupon/create/1299714521.yml → credit/create/1296674173.yml} +34 -32
- data/spec/vcr/{billing/errors/1302025874.yml → credit/delete/1296674173.yml} +33 -42
- data/spec/vcr/{coupon/destroy/1299714521.yml → credit/list/1296674173.yml} +35 -33
- data/spec/vcr/credit/lookup/1296674173.yml +121 -0
- data/spec/vcr/invoice/create-no-charges/{1297746103.yml → 1296674173.yml} +40 -42
- data/spec/vcr/invoice/create/{1297746103.yml → 1296674173.yml} +77 -83
- data/spec/vcr/invoice/list/{1297746103.yml → 1296674173.yml} +107 -113
- data/spec/vcr/invoice/lookup/{1297746103.yml → 1296674173.yml} +77 -81
- data/spec/vcr/plan/all.yml +117 -98
- data/spec/vcr/plan/delete/1296674173.yml +225 -0
- data/spec/vcr/plan/find.yml +66 -36
- data/spec/vcr/plan/update.yml +64 -144
- data/spec/vcr/subscription/addons/add/{1301885121.yml → 1296674173.yml} +58 -51
- data/spec/vcr/subscription/addons/create/{1301885121.yml → 1296674173.yml} +58 -51
- data/spec/vcr/subscription/addons/remove/{1301885121.yml → 1296674173.yml} +58 -51
- data/spec/vcr/subscription/cancel-with-code/{1301881900.yml → 1296674173.yml} +135 -133
- data/spec/vcr/subscription/cancel/{1301881900.yml → 1296674173.yml} +117 -114
- data/spec/vcr/subscription/change1/{1301881900.yml → 1296674173.yml} +113 -110
- data/spec/vcr/subscription/change2/{1301881900.yml → 1296674173.yml} +112 -109
- data/spec/vcr/subscription/create/{1301881900.yml → 1296674173.yml} +65 -59
- data/spec/vcr/subscription/find/{1301881900.yml → 1296674173.yml} +81 -76
- data/spec/vcr/subscription/reactivate/{1301881900.yml → 1296674173.yml} +127 -124
- data/spec/vcr/subscription/refund-full/1296674173.yml +400 -0
- data/spec/vcr/subscription/refund-none/{1301881900.yml → 1296674173.yml} +106 -102
- data/spec/vcr/subscription/refund-partial/1296674173.yml +400 -0
- data/spec/vcr/transaction/all/{1301883347.yml → 1296674173.yml} +126 -126
- data/spec/vcr/transaction/create-no-account/{1301883347.yml → 1296674173.yml} +16 -16
- data/spec/vcr/transaction/create-with-account/{1301883347.yml → 1296674173.yml} +45 -51
- data/spec/vcr/transaction/list-filled/{1301883347.yml → 1296674173.yml} +91 -221
- data/spec/vcr/transaction/list-initial/{1301883347.yml → 1296674173.yml} +44 -46
- data/spec/vcr/transaction/lookup/{1301883347.yml → 1296674173.yml} +107 -121
- data/spec/vcr/transaction/refund/{1301883347.yml → 1296674173.yml} +57 -63
- data/spec/vcr/transaction/void/{1301883347.yml → 1296674173.yml} +69 -75
- data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
- data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
- metadata +97 -155
- data/spec/vcr/account/list/1301979678.yml +0 -1588
- data/spec/vcr/credit/create/1299714599.yml +0 -186
- data/spec/vcr/credit/delete/1299714599.yml +0 -265
- data/spec/vcr/credit/list/1299714599.yml +0 -330
- data/spec/vcr/credit/lookup/1299714599.yml +0 -186
- data/spec/vcr/subscription/refund-full/1301881900.yml +0 -334
- data/spec/vcr/subscription/refund-partial/1301881900.yml +0 -334
- data/spec/vcr/transparent/post-url/1301879142.yml +0 -129
@@ -0,0 +1,400 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
|
6
|
+
body: |
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
+
<account>
|
9
|
+
<account-code>subscription-refund-partial-1296674173</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
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
15
|
+
</account>
|
16
|
+
|
17
|
+
headers:
|
18
|
+
authorization:
|
19
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
20
|
+
content-type:
|
21
|
+
- application/xml
|
22
|
+
accept:
|
23
|
+
- "*/*"
|
24
|
+
user-agent:
|
25
|
+
- Ruby
|
26
|
+
connection:
|
27
|
+
- close
|
28
|
+
response: !ruby/struct:VCR::Response
|
29
|
+
status: !ruby/struct:VCR::ResponseStatus
|
30
|
+
code: 201
|
31
|
+
message: "Created "
|
32
|
+
headers:
|
33
|
+
cache-control:
|
34
|
+
- no-cache
|
35
|
+
location:
|
36
|
+
- http://litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173
|
37
|
+
x-runtime:
|
38
|
+
- "722"
|
39
|
+
content-type:
|
40
|
+
- application/xml; charset=utf-8
|
41
|
+
content-length:
|
42
|
+
- "609"
|
43
|
+
server:
|
44
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
45
|
+
date:
|
46
|
+
- Thu, 03 Feb 2011 22:23:42 GMT
|
47
|
+
connection:
|
48
|
+
- close
|
49
|
+
set-cookie:
|
50
|
+
- account_credentials=a4c8d20c94e6b3323d3893adcd709f81490973c8091dd85dd546d45627f65dfa6869778620a660def3a339ce74a5e934140ce802bdae0aad38557fba9d766aeb%3A%3A; domain=.recurly.local; path=/
|
51
|
+
- ""
|
52
|
+
- _recurly_session=2990dfba578fc53a236d458a969ef1fd; domain=.recurly.local; path=/; HttpOnly
|
53
|
+
body: |
|
54
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
55
|
+
<account>
|
56
|
+
<id>subscription-refund-partial-1296674173</id>
|
57
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
58
|
+
<username></username>
|
59
|
+
<email>verena@test.com</email>
|
60
|
+
<first_name>Verena</first_name>
|
61
|
+
<last_name>Test</last_name>
|
62
|
+
<company_name>Recurly Ruby Gem</company_name>
|
63
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
64
|
+
<closed type="boolean">false</closed>
|
65
|
+
<hosted_login_token>e474951ef42a4baeaa09ce46dcf76794</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-02-03T22:23:42Z</created_at>
|
67
|
+
<state>active</state>
|
68
|
+
</account>
|
69
|
+
|
70
|
+
http_version: "1.1"
|
71
|
+
- !ruby/struct:VCR::HTTPInteraction
|
72
|
+
request: !ruby/struct:VCR::Request
|
73
|
+
method: :get
|
74
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/company/plans/paid.xml
|
75
|
+
body:
|
76
|
+
headers:
|
77
|
+
authorization:
|
78
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
79
|
+
accept:
|
80
|
+
- application/xml
|
81
|
+
accept-encoding:
|
82
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
+
user-agent:
|
84
|
+
- Ruby
|
85
|
+
connection:
|
86
|
+
- close
|
87
|
+
response: !ruby/struct:VCR::Response
|
88
|
+
status: !ruby/struct:VCR::ResponseStatus
|
89
|
+
code: 200
|
90
|
+
message: "OK "
|
91
|
+
headers:
|
92
|
+
x-runtime:
|
93
|
+
- "225"
|
94
|
+
content-type:
|
95
|
+
- application/xml; charset=utf-8
|
96
|
+
etag:
|
97
|
+
- "\"70b5c605373b1a4346a2d7ed46048dc4\""
|
98
|
+
cache-control:
|
99
|
+
- private, max-age=0, must-revalidate
|
100
|
+
content-length:
|
101
|
+
- "1150"
|
102
|
+
server:
|
103
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
104
|
+
date:
|
105
|
+
- Thu, 03 Feb 2011 22:23:44 GMT
|
106
|
+
connection:
|
107
|
+
- close
|
108
|
+
set-cookie:
|
109
|
+
- _recurly_session=c0ee6195f826aae286057a5389a107f1; domain=.recurly.local; path=/; HttpOnly
|
110
|
+
body: |
|
111
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
112
|
+
<plan>
|
113
|
+
<plan_code>paid</plan_code>
|
114
|
+
<name>Paid</name>
|
115
|
+
<description></description>
|
116
|
+
<success_url></success_url>
|
117
|
+
<cancel_url></cancel_url>
|
118
|
+
<created_at type="datetime">2011-02-02T21:02:59Z</created_at>
|
119
|
+
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
|
120
|
+
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
121
|
+
<plan_interval_length type="integer">1</plan_interval_length>
|
122
|
+
<plan_interval_unit>months</plan_interval_unit>
|
123
|
+
<trial_interval_length type="integer">0</trial_interval_length>
|
124
|
+
<trial_interval_unit>months</trial_interval_unit>
|
125
|
+
<latest_version depreciated="true">
|
126
|
+
<version type="integer">1</version>
|
127
|
+
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
|
128
|
+
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
129
|
+
<plan_interval_length type="integer">1</plan_interval_length>
|
130
|
+
<plan_interval_unit>months</plan_interval_unit>
|
131
|
+
<trial_interval_length type="integer">0</trial_interval_length>
|
132
|
+
<trial_interval_unit>months</trial_interval_unit>
|
133
|
+
<created_at type="datetime">2011-02-02T21:02:59Z</created_at>
|
134
|
+
</latest_version>
|
135
|
+
</plan>
|
136
|
+
|
137
|
+
http_version: "1.1"
|
138
|
+
- !ruby/struct:VCR::HTTPInteraction
|
139
|
+
request: !ruby/struct:VCR::Request
|
140
|
+
method: :post
|
141
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml
|
142
|
+
body: |
|
143
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
144
|
+
<subscription>
|
145
|
+
<plan-code>paid</plan-code>
|
146
|
+
<quantity type="integer">1</quantity>
|
147
|
+
<account>
|
148
|
+
<account-code>subscription-refund-partial-1296674173</account-code>
|
149
|
+
<first-name>Verena</first-name>
|
150
|
+
<last-name>Test</last-name>
|
151
|
+
<email>verena@test.com</email>
|
152
|
+
<company-name>Recurly Ruby Gem</company-name>
|
153
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
154
|
+
<id>subscription-refund-partial-1296674173</id>
|
155
|
+
<username type="yaml" nil="true"></username>
|
156
|
+
<balance-in-cents type="integer">0</balance-in-cents>
|
157
|
+
<closed type="boolean">false</closed>
|
158
|
+
<hosted-login-token>e474951ef42a4baeaa09ce46dcf76794</hosted-login-token>
|
159
|
+
<created-at type="datetime">2011-02-03T22:23:42Z</created-at>
|
160
|
+
<state>active</state>
|
161
|
+
<billing-info>
|
162
|
+
<address1>123 Test St</address1>
|
163
|
+
<city>San Francisco</city>
|
164
|
+
<state>CA</state>
|
165
|
+
<zip>94115</zip>
|
166
|
+
<country>US</country>
|
167
|
+
<credit-card>
|
168
|
+
<number>4111111111111111</number>
|
169
|
+
<year type="integer">2012</year>
|
170
|
+
<month type="integer">2</month>
|
171
|
+
<verification-value>123</verification-value>
|
172
|
+
</credit-card>
|
173
|
+
<first-name>Verena</first-name>
|
174
|
+
<last-name>Test</last-name>
|
175
|
+
</billing-info>
|
176
|
+
</account>
|
177
|
+
</subscription>
|
178
|
+
|
179
|
+
headers:
|
180
|
+
authorization:
|
181
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
182
|
+
content-type:
|
183
|
+
- application/xml
|
184
|
+
accept:
|
185
|
+
- "*/*"
|
186
|
+
user-agent:
|
187
|
+
- Ruby
|
188
|
+
connection:
|
189
|
+
- close
|
190
|
+
response: !ruby/struct:VCR::Response
|
191
|
+
status: !ruby/struct:VCR::ResponseStatus
|
192
|
+
code: 201
|
193
|
+
message: "Created "
|
194
|
+
headers:
|
195
|
+
cache-control:
|
196
|
+
- no-cache
|
197
|
+
x-runtime:
|
198
|
+
- "4479"
|
199
|
+
content-type:
|
200
|
+
- application/xml; charset=utf-8
|
201
|
+
content-length:
|
202
|
+
- "924"
|
203
|
+
server:
|
204
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
205
|
+
date:
|
206
|
+
- Thu, 03 Feb 2011 22:23:50 GMT
|
207
|
+
connection:
|
208
|
+
- close
|
209
|
+
set-cookie:
|
210
|
+
- _recurly_session=b3031035294221f7a31ab43461f3afac; domain=.recurly.local; path=/; HttpOnly
|
211
|
+
body: |
|
212
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
213
|
+
<subscription>
|
214
|
+
<id>subscription-refund-partial-1296674173</id>
|
215
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
216
|
+
<plan>
|
217
|
+
<plan_code>paid</plan_code>
|
218
|
+
<name>Paid</name>
|
219
|
+
</plan>
|
220
|
+
<state>active</state>
|
221
|
+
<quantity type="integer">1</quantity>
|
222
|
+
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
223
|
+
<activated_at type="datetime">2011-02-03T22:23:46Z</activated_at>
|
224
|
+
<canceled_at nil="true" type="datetime"></canceled_at>
|
225
|
+
<expires_at nil="true" type="datetime"></expires_at>
|
226
|
+
<current_period_started_at type="datetime">2011-02-03T22:23:46Z</current_period_started_at>
|
227
|
+
<current_period_ends_at type="datetime">2011-03-03T22:23:46Z</current_period_ends_at>
|
228
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
229
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
230
|
+
<add_ons type="array">
|
231
|
+
</add_ons>
|
232
|
+
</subscription>
|
233
|
+
|
234
|
+
http_version: "1.1"
|
235
|
+
- !ruby/struct:VCR::HTTPInteraction
|
236
|
+
request: !ruby/struct:VCR::Request
|
237
|
+
method: :get
|
238
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml
|
239
|
+
body:
|
240
|
+
headers:
|
241
|
+
authorization:
|
242
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
243
|
+
accept:
|
244
|
+
- application/xml
|
245
|
+
accept-encoding:
|
246
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
247
|
+
user-agent:
|
248
|
+
- Ruby
|
249
|
+
connection:
|
250
|
+
- close
|
251
|
+
response: !ruby/struct:VCR::Response
|
252
|
+
status: !ruby/struct:VCR::ResponseStatus
|
253
|
+
code: 200
|
254
|
+
message: "OK "
|
255
|
+
headers:
|
256
|
+
x-runtime:
|
257
|
+
- "278"
|
258
|
+
content-type:
|
259
|
+
- application/xml; charset=utf-8
|
260
|
+
etag:
|
261
|
+
- "\"383358e745b9058920326a626d6b4c53\""
|
262
|
+
cache-control:
|
263
|
+
- private, max-age=0, must-revalidate
|
264
|
+
content-length:
|
265
|
+
- "924"
|
266
|
+
server:
|
267
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
268
|
+
date:
|
269
|
+
- Thu, 03 Feb 2011 22:23:53 GMT
|
270
|
+
connection:
|
271
|
+
- close
|
272
|
+
set-cookie:
|
273
|
+
- _recurly_session=04a87ad86668915c3621993e6d5fb220; domain=.recurly.local; path=/; HttpOnly
|
274
|
+
body: |
|
275
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
276
|
+
<subscription>
|
277
|
+
<id>subscription-refund-partial-1296674173</id>
|
278
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
279
|
+
<plan>
|
280
|
+
<plan_code>paid</plan_code>
|
281
|
+
<name>Paid</name>
|
282
|
+
</plan>
|
283
|
+
<state>active</state>
|
284
|
+
<quantity type="integer">1</quantity>
|
285
|
+
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
286
|
+
<activated_at type="datetime">2011-02-03T22:23:46Z</activated_at>
|
287
|
+
<canceled_at nil="true" type="datetime"></canceled_at>
|
288
|
+
<expires_at nil="true" type="datetime"></expires_at>
|
289
|
+
<current_period_started_at type="datetime">2011-02-03T22:23:46Z</current_period_started_at>
|
290
|
+
<current_period_ends_at type="datetime">2011-03-03T22:23:46Z</current_period_ends_at>
|
291
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
292
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
293
|
+
<add_ons type="array">
|
294
|
+
</add_ons>
|
295
|
+
</subscription>
|
296
|
+
|
297
|
+
http_version: "1.1"
|
298
|
+
- !ruby/struct:VCR::HTTPInteraction
|
299
|
+
request: !ruby/struct:VCR::Request
|
300
|
+
method: :delete
|
301
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml?refund=partial
|
302
|
+
body:
|
303
|
+
headers:
|
304
|
+
authorization:
|
305
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
306
|
+
accept:
|
307
|
+
- application/xml
|
308
|
+
user-agent:
|
309
|
+
- Ruby
|
310
|
+
connection:
|
311
|
+
- close
|
312
|
+
response: !ruby/struct:VCR::Response
|
313
|
+
status: !ruby/struct:VCR::ResponseStatus
|
314
|
+
code: 200
|
315
|
+
message: "OK "
|
316
|
+
headers:
|
317
|
+
x-runtime:
|
318
|
+
- "3178"
|
319
|
+
content-type:
|
320
|
+
- application/xml; charset=utf-8
|
321
|
+
etag:
|
322
|
+
- "\"196ba47d8b5ea7901c129348364bf35f\""
|
323
|
+
cache-control:
|
324
|
+
- private, max-age=0, must-revalidate
|
325
|
+
content-length:
|
326
|
+
- "943"
|
327
|
+
server:
|
328
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
329
|
+
date:
|
330
|
+
- Thu, 03 Feb 2011 22:23:58 GMT
|
331
|
+
connection:
|
332
|
+
- close
|
333
|
+
set-cookie:
|
334
|
+
- _recurly_session=4e2f16ef15e54337f51eecee2d8fe9d5; domain=.recurly.local; path=/; HttpOnly
|
335
|
+
body: |
|
336
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
337
|
+
<subscription>
|
338
|
+
<id>subscription-refund-partial-1296674173</id>
|
339
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
340
|
+
<plan>
|
341
|
+
<plan_code>paid</plan_code>
|
342
|
+
<name>Paid</name>
|
343
|
+
</plan>
|
344
|
+
<state>expired</state>
|
345
|
+
<quantity type="integer">1</quantity>
|
346
|
+
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
347
|
+
<activated_at type="datetime">2011-02-03T22:23:46Z</activated_at>
|
348
|
+
<canceled_at type="datetime">2011-02-03T22:23:56Z</canceled_at>
|
349
|
+
<expires_at type="datetime">2011-03-03T22:23:46Z</expires_at>
|
350
|
+
<current_period_started_at type="datetime">2011-02-03T22:23:46Z</current_period_started_at>
|
351
|
+
<current_period_ends_at type="datetime">2011-03-03T22:23:46Z</current_period_ends_at>
|
352
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
353
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
354
|
+
<add_ons type="array">
|
355
|
+
</add_ons>
|
356
|
+
</subscription>
|
357
|
+
|
358
|
+
http_version: "1.1"
|
359
|
+
- !ruby/struct:VCR::HTTPInteraction
|
360
|
+
request: !ruby/struct:VCR::Request
|
361
|
+
method: :get
|
362
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-refund-partial-1296674173/subscription.xml
|
363
|
+
body:
|
364
|
+
headers:
|
365
|
+
authorization:
|
366
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
367
|
+
accept:
|
368
|
+
- application/xml
|
369
|
+
accept-encoding:
|
370
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
371
|
+
user-agent:
|
372
|
+
- Ruby
|
373
|
+
connection:
|
374
|
+
- close
|
375
|
+
response: !ruby/struct:VCR::Response
|
376
|
+
status: !ruby/struct:VCR::ResponseStatus
|
377
|
+
code: 404
|
378
|
+
message: "Not Found "
|
379
|
+
headers:
|
380
|
+
cache-control:
|
381
|
+
- no-cache
|
382
|
+
content-type:
|
383
|
+
- application/xml; charset=utf-8
|
384
|
+
content-length:
|
385
|
+
- "98"
|
386
|
+
server:
|
387
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
388
|
+
date:
|
389
|
+
- Thu, 03 Feb 2011 22:24:00 GMT
|
390
|
+
connection:
|
391
|
+
- close
|
392
|
+
set-cookie:
|
393
|
+
- _recurly_session=1fdc608cd947d3a820bd721a9ae6ce10; domain=.recurly.local; path=/; HttpOnly
|
394
|
+
body: |
|
395
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
396
|
+
<errors>
|
397
|
+
<error>Subscription not found</error>
|
398
|
+
</errors>
|
399
|
+
|
400
|
+
http_version: "1.1"
|
@@ -2,17 +2,17 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://
|
5
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
authorization:
|
9
|
-
- Basic
|
10
|
-
user-agent:
|
11
|
-
- Recurly Ruby Client v0.4.6
|
9
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
12
10
|
accept:
|
13
11
|
- application/xml
|
14
12
|
accept-encoding:
|
15
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
user-agent:
|
15
|
+
- Ruby
|
16
16
|
connection:
|
17
17
|
- close
|
18
18
|
response: !ruby/struct:VCR::Response
|
@@ -21,34 +21,34 @@
|
|
21
21
|
message: "OK "
|
22
22
|
headers:
|
23
23
|
x-runtime:
|
24
|
-
- "
|
24
|
+
- "1485"
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
etag:
|
28
|
-
- "\"
|
28
|
+
- "\"a6ec4006524f4c9cb8156687a3844f74\""
|
29
29
|
cache-control:
|
30
30
|
- private, max-age=0, must-revalidate
|
31
31
|
content-length:
|
32
|
-
- "
|
32
|
+
- "15540"
|
33
33
|
server:
|
34
|
-
- WEBrick/1.3.1 (Ruby/1.9.2/
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
35
35
|
date:
|
36
|
-
- Thu,
|
36
|
+
- Thu, 03 Feb 2011 22:24:43 GMT
|
37
37
|
connection:
|
38
38
|
- close
|
39
39
|
set-cookie:
|
40
|
-
- _recurly_session=
|
40
|
+
- _recurly_session=7604ba3a0b22b6cf4187340d49300e1e; domain=.recurly.local; path=/; HttpOnly
|
41
41
|
body: |
|
42
42
|
<?xml version="1.0" encoding="UTF-8"?>
|
43
43
|
<transactions type="collection">
|
44
44
|
<current_page type="integer">1</current_page>
|
45
45
|
<per_page type="integer">20</per_page>
|
46
|
-
<total_entries type="integer">
|
46
|
+
<total_entries type="integer">25</total_entries>
|
47
47
|
<transaction type="Payment">
|
48
|
-
<id>
|
49
|
-
<account_code>transaction-create-with-account-
|
48
|
+
<id>7a53ae4b1d7d4f768010ca03f8a91210</id>
|
49
|
+
<account_code>transaction-create-with-account-1296674173</account_code>
|
50
50
|
<action>purchase</action>
|
51
|
-
<date type="datetime">2011-
|
51
|
+
<date type="datetime">2011-02-03T22:24:37Z</date>
|
52
52
|
<amount_in_cents type="integer">700</amount_in_cents>
|
53
53
|
<status>success</status>
|
54
54
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -62,10 +62,10 @@
|
|
62
62
|
<refundable type="boolean">true</refundable>
|
63
63
|
</transaction>
|
64
64
|
<transaction type="Payment">
|
65
|
-
<id>
|
66
|
-
<account_code>transaction-create-with-account-
|
65
|
+
<id>3aa9126e7c19407e8ebc395b8bcf2238</id>
|
66
|
+
<account_code>transaction-create-with-account-1296674173</account_code>
|
67
67
|
<action>authorization</action>
|
68
|
-
<date type="datetime">2011-
|
68
|
+
<date type="datetime">2011-02-03T22:24:33Z</date>
|
69
69
|
<amount_in_cents type="integer">0</amount_in_cents>
|
70
70
|
<status>success</status>
|
71
71
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -79,10 +79,10 @@
|
|
79
79
|
<refundable type="boolean">true</refundable>
|
80
80
|
</transaction>
|
81
81
|
<transaction type="Payment">
|
82
|
-
<id>
|
83
|
-
<account_code>transaction-create-with-accout-
|
82
|
+
<id>bada094d35ec4ca8822320bb8062a8c9</id>
|
83
|
+
<account_code>transaction-create-with-accout-1296674173</account_code>
|
84
84
|
<action>purchase</action>
|
85
|
-
<date type="datetime">2011-
|
85
|
+
<date type="datetime">2011-02-03T22:24:24Z</date>
|
86
86
|
<amount_in_cents type="integer">700</amount_in_cents>
|
87
87
|
<status>success</status>
|
88
88
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -96,11 +96,11 @@
|
|
96
96
|
<refundable type="boolean">true</refundable>
|
97
97
|
</transaction>
|
98
98
|
<transaction type="Payment">
|
99
|
-
<id>
|
100
|
-
<account_code>subscription-refund-none-
|
101
|
-
<action>
|
102
|
-
<date type="datetime">2011-
|
103
|
-
<amount_in_cents type="integer">
|
99
|
+
<id>ded3e61eab3944119e3406eb2f1ce71d</id>
|
100
|
+
<account_code>subscription-refund-none-1296674173</account_code>
|
101
|
+
<action>purchase</action>
|
102
|
+
<date type="datetime">2011-02-03T22:24:09Z</date>
|
103
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
104
104
|
<status>success</status>
|
105
105
|
<message>Test Gateway: Successful test transaction</message>
|
106
106
|
<reference>12345</reference>
|
@@ -109,32 +109,32 @@
|
|
109
109
|
<avs_result_street>Y</avs_result_street>
|
110
110
|
<avs_result_postal>Y</avs_result_postal>
|
111
111
|
<test type="boolean">true</test>
|
112
|
-
<voidable type="boolean">
|
112
|
+
<voidable type="boolean">true</voidable>
|
113
113
|
<refundable type="boolean">true</refundable>
|
114
114
|
</transaction>
|
115
|
-
<transaction type="
|
116
|
-
<id>
|
117
|
-
<account_code>subscription-refund-partial-
|
118
|
-
<action>
|
119
|
-
<date type="datetime">2011-
|
120
|
-
<amount_in_cents type="integer">
|
115
|
+
<transaction type="Refund">
|
116
|
+
<id>c3fe3fec44204dd79bb87f42d4bc8663</id>
|
117
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
118
|
+
<action>credit</action>
|
119
|
+
<date type="datetime">2011-02-03T22:23:56Z</date>
|
120
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
121
121
|
<status>success</status>
|
122
|
-
<message>
|
123
|
-
<reference
|
124
|
-
<cvv_result code="
|
125
|
-
<avs_result code="
|
126
|
-
<avs_result_street
|
127
|
-
<avs_result_postal
|
122
|
+
<message>Bogus Gateway: Forced success</message>
|
123
|
+
<reference></reference>
|
124
|
+
<cvv_result code=""></cvv_result>
|
125
|
+
<avs_result code=""></avs_result>
|
126
|
+
<avs_result_street></avs_result_street>
|
127
|
+
<avs_result_postal></avs_result_postal>
|
128
128
|
<test type="boolean">true</test>
|
129
|
-
<voidable type="boolean">
|
130
|
-
<refundable type="boolean">
|
129
|
+
<voidable type="boolean">true</voidable>
|
130
|
+
<refundable type="boolean">false</refundable>
|
131
131
|
</transaction>
|
132
132
|
<transaction type="Payment">
|
133
|
-
<id>
|
134
|
-
<account_code>subscription-refund-
|
135
|
-
<action>
|
136
|
-
<date type="datetime">2011-
|
137
|
-
<amount_in_cents type="integer">
|
133
|
+
<id>b6b0346b3dcc4887b5832c5ac249285a</id>
|
134
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
135
|
+
<action>purchase</action>
|
136
|
+
<date type="datetime">2011-02-03T22:23:47Z</date>
|
137
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
138
138
|
<status>success</status>
|
139
139
|
<message>Test Gateway: Successful test transaction</message>
|
140
140
|
<reference>12345</reference>
|
@@ -144,14 +144,31 @@
|
|
144
144
|
<avs_result_postal>Y</avs_result_postal>
|
145
145
|
<test type="boolean">true</test>
|
146
146
|
<voidable type="boolean">false</voidable>
|
147
|
-
<refundable type="boolean">
|
147
|
+
<refundable type="boolean">false</refundable>
|
148
|
+
</transaction>
|
149
|
+
<transaction type="Refund">
|
150
|
+
<id>89986e7666b24c16b4d9f2490b9c59cb</id>
|
151
|
+
<account_code>subscription-refund-full-1296674173</account_code>
|
152
|
+
<action>credit</action>
|
153
|
+
<date type="datetime">2011-02-03T22:23:35Z</date>
|
154
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
155
|
+
<status>success</status>
|
156
|
+
<message>Bogus Gateway: Forced success</message>
|
157
|
+
<reference></reference>
|
158
|
+
<cvv_result code=""></cvv_result>
|
159
|
+
<avs_result code=""></avs_result>
|
160
|
+
<avs_result_street></avs_result_street>
|
161
|
+
<avs_result_postal></avs_result_postal>
|
162
|
+
<test type="boolean">true</test>
|
163
|
+
<voidable type="boolean">true</voidable>
|
164
|
+
<refundable type="boolean">false</refundable>
|
148
165
|
</transaction>
|
149
166
|
<transaction type="Payment">
|
150
|
-
<id>
|
151
|
-
<account_code>subscription-
|
152
|
-
<action>
|
153
|
-
<date type="datetime">2011-
|
154
|
-
<amount_in_cents type="integer">
|
167
|
+
<id>8ed312129a6b4a2da9e4ac4c4f8f15aa</id>
|
168
|
+
<account_code>subscription-refund-full-1296674173</account_code>
|
169
|
+
<action>purchase</action>
|
170
|
+
<date type="datetime">2011-02-03T22:23:27Z</date>
|
171
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
155
172
|
<status>success</status>
|
156
173
|
<message>Test Gateway: Successful test transaction</message>
|
157
174
|
<reference>12345</reference>
|
@@ -161,14 +178,14 @@
|
|
161
178
|
<avs_result_postal>Y</avs_result_postal>
|
162
179
|
<test type="boolean">true</test>
|
163
180
|
<voidable type="boolean">false</voidable>
|
164
|
-
<refundable type="boolean">
|
181
|
+
<refundable type="boolean">false</refundable>
|
165
182
|
</transaction>
|
166
183
|
<transaction type="Payment">
|
167
|
-
<id>
|
168
|
-
<account_code>subscription-cancel-
|
169
|
-
<action>
|
170
|
-
<date type="datetime">2011-
|
171
|
-
<amount_in_cents type="integer">
|
184
|
+
<id>fef11da45dd64f47bcfda882b0646324</id>
|
185
|
+
<account_code>subscription-cancel-with-code-1296674173</account_code>
|
186
|
+
<action>purchase</action>
|
187
|
+
<date type="datetime">2011-02-03T22:23:05Z</date>
|
188
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
172
189
|
<status>success</status>
|
173
190
|
<message>Test Gateway: Successful test transaction</message>
|
174
191
|
<reference>12345</reference>
|
@@ -177,15 +194,15 @@
|
|
177
194
|
<avs_result_street>Y</avs_result_street>
|
178
195
|
<avs_result_postal>Y</avs_result_postal>
|
179
196
|
<test type="boolean">true</test>
|
180
|
-
<voidable type="boolean">
|
197
|
+
<voidable type="boolean">true</voidable>
|
181
198
|
<refundable type="boolean">true</refundable>
|
182
199
|
</transaction>
|
183
200
|
<transaction type="Payment">
|
184
|
-
<id>
|
185
|
-
<account_code>subscription-
|
186
|
-
<action>
|
187
|
-
<date type="datetime">2011-
|
188
|
-
<amount_in_cents type="integer">
|
201
|
+
<id>7fb00ca83fe44839977a8ce9c99349d9</id>
|
202
|
+
<account_code>subscription-cancel-1296674173</account_code>
|
203
|
+
<action>purchase</action>
|
204
|
+
<date type="datetime">2011-02-03T22:22:45Z</date>
|
205
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
189
206
|
<status>success</status>
|
190
207
|
<message>Test Gateway: Successful test transaction</message>
|
191
208
|
<reference>12345</reference>
|
@@ -194,15 +211,15 @@
|
|
194
211
|
<avs_result_street>Y</avs_result_street>
|
195
212
|
<avs_result_postal>Y</avs_result_postal>
|
196
213
|
<test type="boolean">true</test>
|
197
|
-
<voidable type="boolean">
|
214
|
+
<voidable type="boolean">true</voidable>
|
198
215
|
<refundable type="boolean">true</refundable>
|
199
216
|
</transaction>
|
200
217
|
<transaction type="Payment">
|
201
|
-
<id>
|
202
|
-
<account_code>
|
203
|
-
<action>
|
204
|
-
<date type="datetime">2011-
|
205
|
-
<amount_in_cents type="integer">
|
218
|
+
<id>c86caacefde449d48e4cf21988014b36</id>
|
219
|
+
<account_code>subscription-reactivate-1296674173</account_code>
|
220
|
+
<action>purchase</action>
|
221
|
+
<date type="datetime">2011-02-03T22:22:21Z</date>
|
222
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
206
223
|
<status>success</status>
|
207
224
|
<message>Test Gateway: Successful test transaction</message>
|
208
225
|
<reference>12345</reference>
|
@@ -211,15 +228,15 @@
|
|
211
228
|
<avs_result_street>Y</avs_result_street>
|
212
229
|
<avs_result_postal>Y</avs_result_postal>
|
213
230
|
<test type="boolean">true</test>
|
214
|
-
<voidable type="boolean">
|
231
|
+
<voidable type="boolean">true</voidable>
|
215
232
|
<refundable type="boolean">true</refundable>
|
216
233
|
</transaction>
|
217
234
|
<transaction type="Payment">
|
218
|
-
<id>
|
219
|
-
<account_code>
|
220
|
-
<action>
|
221
|
-
<date type="datetime">2011-
|
222
|
-
<amount_in_cents type="integer">
|
235
|
+
<id>c4c6b6098c09497e93353e4d6153337c</id>
|
236
|
+
<account_code>1296674173</account_code>
|
237
|
+
<action>purchase</action>
|
238
|
+
<date type="datetime">2011-02-03T22:22:00Z</date>
|
239
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
240
|
<status>success</status>
|
224
241
|
<message>Test Gateway: Successful test transaction</message>
|
225
242
|
<reference>12345</reference>
|
@@ -228,15 +245,15 @@
|
|
228
245
|
<avs_result_street>Y</avs_result_street>
|
229
246
|
<avs_result_postal>Y</avs_result_postal>
|
230
247
|
<test type="boolean">true</test>
|
231
|
-
<voidable type="boolean">
|
248
|
+
<voidable type="boolean">true</voidable>
|
232
249
|
<refundable type="boolean">true</refundable>
|
233
250
|
</transaction>
|
234
251
|
<transaction type="Payment">
|
235
|
-
<id>
|
236
|
-
<account_code>subscription-
|
237
|
-
<action>
|
238
|
-
<date type="datetime">2011-
|
239
|
-
<amount_in_cents type="integer">
|
252
|
+
<id>22ca8401b34e4429bbbb7d39ce2967c5</id>
|
253
|
+
<account_code>subscription-change1-1296674173</account_code>
|
254
|
+
<action>purchase</action>
|
255
|
+
<date type="datetime">2011-02-03T22:21:38Z</date>
|
256
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
240
257
|
<status>success</status>
|
241
258
|
<message>Test Gateway: Successful test transaction</message>
|
242
259
|
<reference>12345</reference>
|
@@ -245,15 +262,15 @@
|
|
245
262
|
<avs_result_street>Y</avs_result_street>
|
246
263
|
<avs_result_postal>Y</avs_result_postal>
|
247
264
|
<test type="boolean">true</test>
|
248
|
-
<voidable type="boolean">
|
265
|
+
<voidable type="boolean">true</voidable>
|
249
266
|
<refundable type="boolean">true</refundable>
|
250
267
|
</transaction>
|
251
268
|
<transaction type="Payment">
|
252
|
-
<id>
|
253
|
-
<account_code>subscription-
|
254
|
-
<action>
|
255
|
-
<date type="datetime">2011-
|
256
|
-
<amount_in_cents type="integer">
|
269
|
+
<id>28ebb171073c4fdd98440835ae378666</id>
|
270
|
+
<account_code>subscription-create-1296674173</account_code>
|
271
|
+
<action>purchase</action>
|
272
|
+
<date type="datetime">2011-02-03T22:21:27Z</date>
|
273
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
257
274
|
<status>success</status>
|
258
275
|
<message>Test Gateway: Successful test transaction</message>
|
259
276
|
<reference>12345</reference>
|
@@ -262,15 +279,15 @@
|
|
262
279
|
<avs_result_street>Y</avs_result_street>
|
263
280
|
<avs_result_postal>Y</avs_result_postal>
|
264
281
|
<test type="boolean">true</test>
|
265
|
-
<voidable type="boolean">
|
282
|
+
<voidable type="boolean">true</voidable>
|
266
283
|
<refundable type="boolean">true</refundable>
|
267
284
|
</transaction>
|
268
285
|
<transaction type="Payment">
|
269
|
-
<id>
|
270
|
-
<account_code>
|
271
|
-
<action>
|
272
|
-
<date type="datetime">2011-
|
273
|
-
<amount_in_cents type="integer">
|
286
|
+
<id>13b6bd7ef15a4780a13387074635c86c</id>
|
287
|
+
<account_code>subscription-find-1296674173</account_code>
|
288
|
+
<action>purchase</action>
|
289
|
+
<date type="datetime">2011-02-03T22:21:15Z</date>
|
290
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
291
|
<status>success</status>
|
275
292
|
<message>Test Gateway: Successful test transaction</message>
|
276
293
|
<reference>12345</reference>
|
@@ -279,14 +296,14 @@
|
|
279
296
|
<avs_result_street>Y</avs_result_street>
|
280
297
|
<avs_result_postal>Y</avs_result_postal>
|
281
298
|
<test type="boolean">true</test>
|
282
|
-
<voidable type="boolean">
|
299
|
+
<voidable type="boolean">true</voidable>
|
283
300
|
<refundable type="boolean">true</refundable>
|
284
301
|
</transaction>
|
285
302
|
<transaction type="Payment">
|
286
|
-
<id>
|
287
|
-
<account_code>invoice-
|
303
|
+
<id>9d0406d2ef0f4aec8795d2ded7722524</id>
|
304
|
+
<account_code>invoice-lookup-1296674173</account_code>
|
288
305
|
<action>authorization</action>
|
289
|
-
<date type="datetime">2011-
|
306
|
+
<date type="datetime">2011-02-03T22:20:32Z</date>
|
290
307
|
<amount_in_cents type="integer">0</amount_in_cents>
|
291
308
|
<status>success</status>
|
292
309
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -300,10 +317,10 @@
|
|
300
317
|
<refundable type="boolean">true</refundable>
|
301
318
|
</transaction>
|
302
319
|
<transaction type="Payment">
|
303
|
-
<id>
|
304
|
-
<account_code>invoice-
|
320
|
+
<id>b3587820d543493188147be66d45e566</id>
|
321
|
+
<account_code>invoice-list-1296674173</account_code>
|
305
322
|
<action>authorization</action>
|
306
|
-
<date type="datetime">2011-
|
323
|
+
<date type="datetime">2011-02-03T22:20:15Z</date>
|
307
324
|
<amount_in_cents type="integer">0</amount_in_cents>
|
308
325
|
<status>success</status>
|
309
326
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -317,10 +334,10 @@
|
|
317
334
|
<refundable type="boolean">true</refundable>
|
318
335
|
</transaction>
|
319
336
|
<transaction type="Payment">
|
320
|
-
<id>
|
321
|
-
<account_code>invoice-create-
|
337
|
+
<id>cc44b7b71e434fad842b035a1216c039</id>
|
338
|
+
<account_code>invoice-create-no-charges-1296674173</account_code>
|
322
339
|
<action>authorization</action>
|
323
|
-
<date type="datetime">2011-
|
340
|
+
<date type="datetime">2011-02-03T22:20:08Z</date>
|
324
341
|
<amount_in_cents type="integer">0</amount_in_cents>
|
325
342
|
<status>success</status>
|
326
343
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -334,10 +351,10 @@
|
|
334
351
|
<refundable type="boolean">true</refundable>
|
335
352
|
</transaction>
|
336
353
|
<transaction type="Payment">
|
337
|
-
<id>
|
338
|
-
<account_code>
|
354
|
+
<id>83c0691f42d644f88aa64e44b7898af7</id>
|
355
|
+
<account_code>invoice-create-1296674173</account_code>
|
339
356
|
<action>authorization</action>
|
340
|
-
<date type="datetime">2011-
|
357
|
+
<date type="datetime">2011-02-03T22:19:55Z</date>
|
341
358
|
<amount_in_cents type="integer">0</amount_in_cents>
|
342
359
|
<status>success</status>
|
343
360
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -351,27 +368,10 @@
|
|
351
368
|
<refundable type="boolean">true</refundable>
|
352
369
|
</transaction>
|
353
370
|
<transaction type="Payment">
|
354
|
-
<id>
|
355
|
-
<account_code>
|
356
|
-
<action>authorization</action>
|
357
|
-
<date type="datetime">2011-04-21T17:59:51Z</date>
|
358
|
-
<amount_in_cents type="integer">0</amount_in_cents>
|
359
|
-
<status>declined</status>
|
360
|
-
<message></message>
|
361
|
-
<reference></reference>
|
362
|
-
<cvv_result code=""></cvv_result>
|
363
|
-
<avs_result code=""></avs_result>
|
364
|
-
<avs_result_street></avs_result_street>
|
365
|
-
<avs_result_postal></avs_result_postal>
|
366
|
-
<test type="boolean">true</test>
|
367
|
-
<voidable type="boolean">false</voidable>
|
368
|
-
<refundable type="boolean">false</refundable>
|
369
|
-
</transaction>
|
370
|
-
<transaction type="Payment">
|
371
|
-
<id>31acafc553864daea3bcb6c1de9399ca</id>
|
372
|
-
<account_code>billing-destroy-1302025874</account_code>
|
371
|
+
<id>d43001dca7f54ec0a52d580df4ac4fbf</id>
|
372
|
+
<account_code>charge-create-1296674173</account_code>
|
373
373
|
<action>authorization</action>
|
374
|
-
<date type="datetime">2011-
|
374
|
+
<date type="datetime">2011-02-03T22:18:55Z</date>
|
375
375
|
<amount_in_cents type="integer">0</amount_in_cents>
|
376
376
|
<status>success</status>
|
377
377
|
<message>Test Gateway: Successful test transaction</message>
|