recurly 0.2.3 → 0.2.4
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.rb +1 -0
- data/lib/recurly/charge.rb +6 -0
- data/lib/recurly/subscription.rb +23 -5
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +45 -0
- data/spec/integration/credit_spec.rb +19 -0
- data/spec/integration/subscription_spec.rb +62 -9
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +101 -101
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +23 -23
- data/spec/vcr/billing/find/1286682213.yml +21 -21
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +24 -24
- data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
- data/spec/vcr/charge/list-all/1286681273.yml +37 -37
- data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
- data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
- data/spec/vcr/charge/lookup/1286681273.yml +20 -20
- data/spec/vcr/credit/create/1286681343.yml +20 -20
- data/spec/vcr/credit/create/1287460732.yml +171 -0
- data/spec/vcr/credit/create/1287461340.yml +171 -0
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
- data/spec/vcr/credit/list/1286681343.yml +36 -36
- data/spec/vcr/credit/list/1287460732.yml +299 -0
- data/spec/vcr/credit/list/1287461340.yml +299 -0
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/credit/lookup/1287460732.yml +171 -0
- data/spec/vcr/credit/lookup/1287461340.yml +171 -0
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +52 -52
- data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
- data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
- data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
- data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
- data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
- data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/transaction/all/1287186411.yml +80 -80
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +60 -60
- metadata +67 -56
- data/spec/vcr/subscription/change1/1287439446.yml +0 -409
- data/spec/vcr/subscription/change1/1287442108.yml +0 -409
- data/spec/vcr/subscription/change2/1287439446.yml +0 -409
- data/spec/vcr/subscription/change2/1287442108.yml +0 -409
- data/spec/vcr/subscription/create/1287439446.yml +0 -224
- data/spec/vcr/subscription/create/1287442108.yml +0 -224
- data/spec/vcr/subscription/find/1287439446.yml +0 -283
- data/spec/vcr/subscription/find/1287442352.yml +0 -283
- data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -7,7 +7,7 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>subscription-refund-partial-
|
10
|
+
<account-code>subscription-refund-partial-1287455769</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/subscription-refund-partial-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/subscription-refund-partial-1287455769
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
@@ -36,22 +36,22 @@
|
|
36
36
|
x-runtime:
|
37
37
|
- "610"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:20:50 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "609"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=f075d36999fb300280448a5122e1597bc7a95e86a77641b56930167d60d4c7cc757495c895860c09639d8d08d74860a1bdd83a9717c12ea5e376c4b32949e085%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=eb9ac52039873d86c0db9c9f5a7482ba; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
52
|
<account>
|
53
|
-
<id>subscription-refund-partial-
|
54
|
-
<account_code>subscription-refund-partial-
|
53
|
+
<id>subscription-refund-partial-1287455769</id>
|
54
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
55
55
|
<username></username>
|
56
56
|
<email>verena@test.com</email>
|
57
57
|
<first_name>Verena</first_name>
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>1acca9c5279a4d449566ee253435f981</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:20:50Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -93,13 +93,13 @@
|
|
93
93
|
x-runtime:
|
94
94
|
- "15"
|
95
95
|
date:
|
96
|
-
-
|
96
|
+
- Tue, 19 Oct 2010 03:20:51 GMT
|
97
97
|
server:
|
98
98
|
- nginx/0.7.65
|
99
99
|
content-length:
|
100
100
|
- "1150"
|
101
101
|
set-cookie:
|
102
|
-
- _recurly_session=
|
102
|
+
- _recurly_session=64953a1eecc3ef2f464d6c9b2d808be0; domain=.recurly.com; path=/; Secure; HttpOnly
|
103
103
|
cache-control:
|
104
104
|
- private, max-age=0, must-revalidate
|
105
105
|
body: |
|
@@ -133,20 +133,20 @@
|
|
133
133
|
- !ruby/struct:VCR::HTTPInteraction
|
134
134
|
request: !ruby/struct:VCR::Request
|
135
135
|
method: :post
|
136
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-
|
136
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287455769/subscription.xml
|
137
137
|
body: |
|
138
138
|
<?xml version="1.0" encoding="UTF-8"?>
|
139
139
|
<subscription>
|
140
140
|
<quantity type="integer">1</quantity>
|
141
141
|
<plan-code>paid</plan-code>
|
142
142
|
<account>
|
143
|
-
<created-at type="datetime">2010-10-
|
144
|
-
<hosted-login-token>
|
143
|
+
<created-at type="datetime">2010-10-19T03:20:50Z</created-at>
|
144
|
+
<hosted-login-token>1acca9c5279a4d449566ee253435f981</hosted-login-token>
|
145
145
|
<company-name>Recurly Ruby Gem</company-name>
|
146
|
-
<account-code>subscription-refund-partial-
|
146
|
+
<account-code>subscription-refund-partial-1287455769</account-code>
|
147
147
|
<closed type="boolean">false</closed>
|
148
148
|
<username type="yaml" nil="true"></username>
|
149
|
-
<id>subscription-refund-partial-
|
149
|
+
<id>subscription-refund-partial-1287455769</id>
|
150
150
|
<last-name>Test</last-name>
|
151
151
|
<billing-info>
|
152
152
|
<city>San Francisco</city>
|
@@ -189,22 +189,22 @@
|
|
189
189
|
content-type:
|
190
190
|
- application/xml; charset=utf-8
|
191
191
|
x-runtime:
|
192
|
-
- "
|
192
|
+
- "578"
|
193
193
|
date:
|
194
|
-
-
|
194
|
+
- Tue, 19 Oct 2010 03:20:52 GMT
|
195
195
|
server:
|
196
196
|
- nginx/0.7.65
|
197
197
|
content-length:
|
198
198
|
- "886"
|
199
199
|
set-cookie:
|
200
|
-
- _recurly_session=
|
200
|
+
- _recurly_session=d9cf7a899b3f1ef8fc21ce80b0497613; domain=.recurly.com; path=/; Secure; HttpOnly
|
201
201
|
cache-control:
|
202
202
|
- no-cache
|
203
203
|
body: |
|
204
204
|
<?xml version="1.0" encoding="UTF-8"?>
|
205
205
|
<subscription>
|
206
|
-
<id>subscription-refund-partial-
|
207
|
-
<account_code>subscription-refund-partial-
|
206
|
+
<id>subscription-refund-partial-1287455769</id>
|
207
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
208
208
|
<plan>
|
209
209
|
<plan_code>paid</plan_code>
|
210
210
|
<name>Paid</name>
|
@@ -212,11 +212,11 @@
|
|
212
212
|
<state>active</state>
|
213
213
|
<quantity type="integer">1</quantity>
|
214
214
|
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
215
|
-
<activated_at type="datetime">2010-10-
|
215
|
+
<activated_at type="datetime">2010-10-19T03:20:52Z</activated_at>
|
216
216
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
217
217
|
<expires_at nil="true" type="datetime"></expires_at>
|
218
|
-
<current_period_started_at type="datetime">2010-10-
|
219
|
-
<current_period_ends_at type="datetime">2010-11-
|
218
|
+
<current_period_started_at type="datetime">2010-10-19T03:20:52Z</current_period_started_at>
|
219
|
+
<current_period_ends_at type="datetime">2010-11-19T03:20:52Z</current_period_ends_at>
|
220
220
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
221
221
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
222
222
|
</subscription>
|
@@ -225,7 +225,7 @@
|
|
225
225
|
- !ruby/struct:VCR::HTTPInteraction
|
226
226
|
request: !ruby/struct:VCR::Request
|
227
227
|
method: :get
|
228
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-
|
228
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287455769/subscription.xml
|
229
229
|
body:
|
230
230
|
headers:
|
231
231
|
accept:
|
@@ -242,28 +242,28 @@
|
|
242
242
|
x-ua-compatible:
|
243
243
|
- IE=Edge
|
244
244
|
etag:
|
245
|
-
- "\"
|
245
|
+
- "\"6fdcd370fb829b9394f1e835cdde143d\""
|
246
246
|
connection:
|
247
247
|
- close
|
248
248
|
content-type:
|
249
249
|
- application/xml; charset=utf-8
|
250
250
|
x-runtime:
|
251
|
-
- "
|
251
|
+
- "30"
|
252
252
|
date:
|
253
|
-
-
|
253
|
+
- Tue, 19 Oct 2010 03:20:53 GMT
|
254
254
|
server:
|
255
255
|
- nginx/0.7.65
|
256
256
|
content-length:
|
257
257
|
- "886"
|
258
258
|
set-cookie:
|
259
|
-
- _recurly_session=
|
259
|
+
- _recurly_session=116dcdfeecc98cec2fd9c4dfa17f31c1; domain=.recurly.com; path=/; Secure; HttpOnly
|
260
260
|
cache-control:
|
261
261
|
- private, max-age=0, must-revalidate
|
262
262
|
body: |
|
263
263
|
<?xml version="1.0" encoding="UTF-8"?>
|
264
264
|
<subscription>
|
265
|
-
<id>subscription-refund-partial-
|
266
|
-
<account_code>subscription-refund-partial-
|
265
|
+
<id>subscription-refund-partial-1287455769</id>
|
266
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
267
267
|
<plan>
|
268
268
|
<plan_code>paid</plan_code>
|
269
269
|
<name>Paid</name>
|
@@ -271,11 +271,11 @@
|
|
271
271
|
<state>active</state>
|
272
272
|
<quantity type="integer">1</quantity>
|
273
273
|
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
274
|
-
<activated_at type="datetime">2010-10-
|
274
|
+
<activated_at type="datetime">2010-10-19T03:20:52Z</activated_at>
|
275
275
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
276
276
|
<expires_at nil="true" type="datetime"></expires_at>
|
277
|
-
<current_period_started_at type="datetime">2010-10-
|
278
|
-
<current_period_ends_at type="datetime">2010-11-
|
277
|
+
<current_period_started_at type="datetime">2010-10-19T03:20:52Z</current_period_started_at>
|
278
|
+
<current_period_ends_at type="datetime">2010-11-19T03:20:52Z</current_period_ends_at>
|
279
279
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
280
280
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
281
281
|
</subscription>
|
@@ -284,7 +284,7 @@
|
|
284
284
|
- !ruby/struct:VCR::HTTPInteraction
|
285
285
|
request: !ruby/struct:VCR::Request
|
286
286
|
method: :delete
|
287
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-
|
287
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287455769/subscription.xml?refund=partial
|
288
288
|
body:
|
289
289
|
headers:
|
290
290
|
accept:
|
@@ -301,28 +301,28 @@
|
|
301
301
|
x-ua-compatible:
|
302
302
|
- IE=Edge
|
303
303
|
etag:
|
304
|
-
- "\"
|
304
|
+
- "\"3c00b8762d86015d4cdc3e0299d73612\""
|
305
305
|
connection:
|
306
306
|
- close
|
307
307
|
content-type:
|
308
308
|
- application/xml; charset=utf-8
|
309
309
|
x-runtime:
|
310
|
-
- "
|
310
|
+
- "393"
|
311
311
|
date:
|
312
|
-
-
|
312
|
+
- Tue, 19 Oct 2010 03:20:54 GMT
|
313
313
|
server:
|
314
314
|
- nginx/0.7.65
|
315
315
|
content-length:
|
316
316
|
- "905"
|
317
317
|
set-cookie:
|
318
|
-
- _recurly_session=
|
318
|
+
- _recurly_session=c1c35a6a2f91fdeaec25f39268470862; domain=.recurly.com; path=/; Secure; HttpOnly
|
319
319
|
cache-control:
|
320
320
|
- private, max-age=0, must-revalidate
|
321
321
|
body: |
|
322
322
|
<?xml version="1.0" encoding="UTF-8"?>
|
323
323
|
<subscription>
|
324
|
-
<id>subscription-refund-partial-
|
325
|
-
<account_code>subscription-refund-partial-
|
324
|
+
<id>subscription-refund-partial-1287455769</id>
|
325
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
326
326
|
<plan>
|
327
327
|
<plan_code>paid</plan_code>
|
328
328
|
<name>Paid</name>
|
@@ -330,11 +330,11 @@
|
|
330
330
|
<state>expired</state>
|
331
331
|
<quantity type="integer">1</quantity>
|
332
332
|
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
333
|
-
<activated_at type="datetime">2010-10-
|
334
|
-
<canceled_at type="datetime">2010-10-
|
335
|
-
<expires_at type="datetime">2010-11-
|
336
|
-
<current_period_started_at type="datetime">2010-10-
|
337
|
-
<current_period_ends_at type="datetime">2010-11-
|
333
|
+
<activated_at type="datetime">2010-10-19T03:20:52Z</activated_at>
|
334
|
+
<canceled_at type="datetime">2010-10-19T03:20:53Z</canceled_at>
|
335
|
+
<expires_at type="datetime">2010-11-19T03:20:52Z</expires_at>
|
336
|
+
<current_period_started_at type="datetime">2010-10-19T03:20:52Z</current_period_started_at>
|
337
|
+
<current_period_ends_at type="datetime">2010-11-19T03:20:52Z</current_period_ends_at>
|
338
338
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
339
339
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
340
340
|
</subscription>
|
@@ -343,7 +343,7 @@
|
|
343
343
|
- !ruby/struct:VCR::HTTPInteraction
|
344
344
|
request: !ruby/struct:VCR::Request
|
345
345
|
method: :get
|
346
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-
|
346
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287455769/subscription.xml
|
347
347
|
body:
|
348
348
|
headers:
|
349
349
|
accept:
|
@@ -362,15 +362,15 @@
|
|
362
362
|
content-type:
|
363
363
|
- application/xml; charset=utf-8
|
364
364
|
x-runtime:
|
365
|
-
- "
|
365
|
+
- "11"
|
366
366
|
date:
|
367
|
-
-
|
367
|
+
- Tue, 19 Oct 2010 03:20:54 GMT
|
368
368
|
server:
|
369
369
|
- nginx/0.7.65
|
370
370
|
content-length:
|
371
371
|
- "98"
|
372
372
|
set-cookie:
|
373
|
-
- _recurly_session=
|
373
|
+
- _recurly_session=cbca568cf0cab28a25d85246b9635e6c; domain=.recurly.com; path=/; Secure; HttpOnly
|
374
374
|
cache-control:
|
375
375
|
- no-cache
|
376
376
|
body: |
|
@@ -19,21 +19,21 @@
|
|
19
19
|
x-ua-compatible:
|
20
20
|
- IE=Edge
|
21
21
|
etag:
|
22
|
-
- "\"
|
22
|
+
- "\"b5a1839657833e3faca93b7b17f839e6\""
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
x-runtime:
|
28
|
-
- "
|
28
|
+
- "90"
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Tue, 19 Oct 2010 03:21:05 GMT
|
31
31
|
server:
|
32
32
|
- nginx/0.7.65
|
33
33
|
content-length:
|
34
|
-
- "
|
34
|
+
- "15414"
|
35
35
|
set-cookie:
|
36
|
-
- _recurly_session=
|
36
|
+
- _recurly_session=88be108d7bc049165505345cefb8868f; domain=.recurly.com; path=/; Secure; HttpOnly
|
37
37
|
cache-control:
|
38
38
|
- private, max-age=0, must-revalidate
|
39
39
|
body: |
|
@@ -41,12 +41,12 @@
|
|
41
41
|
<transactions type="collection">
|
42
42
|
<current_page type="integer">1</current_page>
|
43
43
|
<per_page type="integer">20</per_page>
|
44
|
-
<total_entries type="integer">
|
44
|
+
<total_entries type="integer">29</total_entries>
|
45
45
|
<transaction type="Payment">
|
46
|
-
<id>
|
46
|
+
<id>f56f5c5975d74d9aba5fb5ded7cb6031</id>
|
47
47
|
<account_code>transaction-create-with-account-1287186411</account_code>
|
48
48
|
<action>purchase</action>
|
49
|
-
<date type="datetime">2010-10-
|
49
|
+
<date type="datetime">2010-10-19T03:21:04Z</date>
|
50
50
|
<amount_in_cents type="integer">700</amount_in_cents>
|
51
51
|
<status>success</status>
|
52
52
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -60,10 +60,10 @@
|
|
60
60
|
<refundable type="boolean">true</refundable>
|
61
61
|
</transaction>
|
62
62
|
<transaction type="Payment">
|
63
|
-
<id>
|
63
|
+
<id>0c0626d20bd142bbac618d2ee16f276e</id>
|
64
64
|
<account_code>transaction-create-with-account-1287186411</account_code>
|
65
65
|
<action>authorization</action>
|
66
|
-
<date type="datetime">2010-10-
|
66
|
+
<date type="datetime">2010-10-19T03:21:03Z</date>
|
67
67
|
<amount_in_cents type="integer">100</amount_in_cents>
|
68
68
|
<status>void</status>
|
69
69
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -77,10 +77,10 @@
|
|
77
77
|
<refundable type="boolean">false</refundable>
|
78
78
|
</transaction>
|
79
79
|
<transaction type="Payment">
|
80
|
-
<id>
|
80
|
+
<id>4f0338d7e3ca46c1bf6a194e5c008033</id>
|
81
81
|
<account_code>transaction-create-with-accout-1287186411</account_code>
|
82
82
|
<action>purchase</action>
|
83
|
-
<date type="datetime">2010-10-
|
83
|
+
<date type="datetime">2010-10-19T03:21:00Z</date>
|
84
84
|
<amount_in_cents type="integer">700</amount_in_cents>
|
85
85
|
<status>success</status>
|
86
86
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -93,11 +93,28 @@
|
|
93
93
|
<voidable type="boolean">true</voidable>
|
94
94
|
<refundable type="boolean">true</refundable>
|
95
95
|
</transaction>
|
96
|
+
<transaction type="Payment">
|
97
|
+
<id>3d945dcf8bce469cb47ccf89dc119615</id>
|
98
|
+
<account_code>subscription-refund-none-1287455769</account_code>
|
99
|
+
<action>purchase</action>
|
100
|
+
<date type="datetime">2010-10-19T03:20:57Z</date>
|
101
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
102
|
+
<status>success</status>
|
103
|
+
<message>Test Gateway: Successful test transaction</message>
|
104
|
+
<reference></reference>
|
105
|
+
<cvv_result code="M">Match</cvv_result>
|
106
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
107
|
+
<avs_result_street></avs_result_street>
|
108
|
+
<avs_result_postal></avs_result_postal>
|
109
|
+
<test type="boolean">true</test>
|
110
|
+
<voidable type="boolean">true</voidable>
|
111
|
+
<refundable type="boolean">true</refundable>
|
112
|
+
</transaction>
|
96
113
|
<transaction type="Refund">
|
97
|
-
<id>
|
98
|
-
<account_code>subscription-refund-
|
114
|
+
<id>913434306af24eb688fc3c916b199e92</id>
|
115
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
99
116
|
<action>credit</action>
|
100
|
-
<date type="datetime">2010-10-
|
117
|
+
<date type="datetime">2010-10-19T03:20:53Z</date>
|
101
118
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
102
119
|
<status>success</status>
|
103
120
|
<message>Bogus Gateway: Forced success</message>
|
@@ -111,10 +128,10 @@
|
|
111
128
|
<refundable type="boolean">false</refundable>
|
112
129
|
</transaction>
|
113
130
|
<transaction type="Payment">
|
114
|
-
<id>
|
115
|
-
<account_code>subscription-refund-
|
131
|
+
<id>0fcd496a83274c52b42ec6ce7d5c795f</id>
|
132
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
116
133
|
<action>purchase</action>
|
117
|
-
<date type="datetime">2010-10-
|
134
|
+
<date type="datetime">2010-10-19T03:20:52Z</date>
|
118
135
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
119
136
|
<status>success</status>
|
120
137
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -128,10 +145,10 @@
|
|
128
145
|
<refundable type="boolean">false</refundable>
|
129
146
|
</transaction>
|
130
147
|
<transaction type="Refund">
|
131
|
-
<id>
|
132
|
-
<account_code>subscription-refund-
|
148
|
+
<id>59086f42ad404e9faf7d6a473c9ba80f</id>
|
149
|
+
<account_code>subscription-refund-full-1287455769</account_code>
|
133
150
|
<action>credit</action>
|
134
|
-
<date type="datetime">2010-10-
|
151
|
+
<date type="datetime">2010-10-19T03:20:48Z</date>
|
135
152
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
136
153
|
<status>success</status>
|
137
154
|
<message>Bogus Gateway: Forced success</message>
|
@@ -145,10 +162,10 @@
|
|
145
162
|
<refundable type="boolean">false</refundable>
|
146
163
|
</transaction>
|
147
164
|
<transaction type="Payment">
|
148
|
-
<id>
|
149
|
-
<account_code>subscription-refund-
|
165
|
+
<id>1b781becba5748018ca3f7cc4c93d025</id>
|
166
|
+
<account_code>subscription-refund-full-1287455769</account_code>
|
150
167
|
<action>purchase</action>
|
151
|
-
<date type="datetime">2010-10-
|
168
|
+
<date type="datetime">2010-10-19T03:20:47Z</date>
|
152
169
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
153
170
|
<status>success</status>
|
154
171
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -161,28 +178,28 @@
|
|
161
178
|
<voidable type="boolean">false</voidable>
|
162
179
|
<refundable type="boolean">false</refundable>
|
163
180
|
</transaction>
|
164
|
-
<transaction type="
|
165
|
-
<id>
|
166
|
-
<account_code>subscription-
|
167
|
-
<action>
|
168
|
-
<date type="datetime">2010-10-
|
181
|
+
<transaction type="Payment">
|
182
|
+
<id>3b1f83e3493d4d36b5e6b30d07110978</id>
|
183
|
+
<account_code>subscription-cancel-with-code-1287455769</account_code>
|
184
|
+
<action>purchase</action>
|
185
|
+
<date type="datetime">2010-10-19T03:20:41Z</date>
|
169
186
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
170
187
|
<status>success</status>
|
171
|
-
<message>
|
188
|
+
<message>Test Gateway: Successful test transaction</message>
|
172
189
|
<reference></reference>
|
173
|
-
<cvv_result code=""
|
174
|
-
<avs_result code=""
|
190
|
+
<cvv_result code="M">Match</cvv_result>
|
191
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
175
192
|
<avs_result_street></avs_result_street>
|
176
193
|
<avs_result_postal></avs_result_postal>
|
177
194
|
<test type="boolean">true</test>
|
178
195
|
<voidable type="boolean">true</voidable>
|
179
|
-
<refundable type="boolean">
|
196
|
+
<refundable type="boolean">true</refundable>
|
180
197
|
</transaction>
|
181
198
|
<transaction type="Payment">
|
182
|
-
<id>
|
183
|
-
<account_code>subscription-
|
199
|
+
<id>edad9b8a4d9c45988ebcebe553cafe17</id>
|
200
|
+
<account_code>subscription-cancel-1287455769</account_code>
|
184
201
|
<action>purchase</action>
|
185
|
-
<date type="datetime">2010-10-
|
202
|
+
<date type="datetime">2010-10-19T03:20:36Z</date>
|
186
203
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
187
204
|
<status>success</status>
|
188
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -192,14 +209,14 @@
|
|
192
209
|
<avs_result_street></avs_result_street>
|
193
210
|
<avs_result_postal></avs_result_postal>
|
194
211
|
<test type="boolean">true</test>
|
195
|
-
<voidable type="boolean">
|
196
|
-
<refundable type="boolean">
|
212
|
+
<voidable type="boolean">true</voidable>
|
213
|
+
<refundable type="boolean">true</refundable>
|
197
214
|
</transaction>
|
198
215
|
<transaction type="Payment">
|
199
|
-
<id>
|
200
|
-
<account_code>subscription-
|
216
|
+
<id>33160a8b107142f1b24ba386332eb5e7</id>
|
217
|
+
<account_code>subscription-reactivate-1287455769</account_code>
|
201
218
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2010-10-
|
219
|
+
<date type="datetime">2010-10-19T03:20:31Z</date>
|
203
220
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
204
221
|
<status>success</status>
|
205
222
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -213,10 +230,10 @@
|
|
213
230
|
<refundable type="boolean">true</refundable>
|
214
231
|
</transaction>
|
215
232
|
<transaction type="Payment">
|
216
|
-
<id>
|
217
|
-
<account_code>
|
233
|
+
<id>b930085d39d047d5829226e7a987dbfb</id>
|
234
|
+
<account_code>1287455769</account_code>
|
218
235
|
<action>purchase</action>
|
219
|
-
<date type="datetime">2010-10-
|
236
|
+
<date type="datetime">2010-10-19T03:20:25Z</date>
|
220
237
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
221
238
|
<status>success</status>
|
222
239
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -230,10 +247,10 @@
|
|
230
247
|
<refundable type="boolean">true</refundable>
|
231
248
|
</transaction>
|
232
249
|
<transaction type="Payment">
|
233
|
-
<id>
|
234
|
-
<account_code>subscription-change1-
|
250
|
+
<id>857d07bfa6f24f73ad80b57ef8cdc07e</id>
|
251
|
+
<account_code>subscription-change1-1287455769</account_code>
|
235
252
|
<action>purchase</action>
|
236
|
-
<date type="datetime">2010-10-
|
253
|
+
<date type="datetime">2010-10-19T03:20:20Z</date>
|
237
254
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
238
255
|
<status>success</status>
|
239
256
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -247,10 +264,10 @@
|
|
247
264
|
<refundable type="boolean">true</refundable>
|
248
265
|
</transaction>
|
249
266
|
<transaction type="Payment">
|
250
|
-
<id>
|
251
|
-
<account_code>subscription-create-
|
267
|
+
<id>7c69a2cdbbf145e1b1fe7afc24fdef53</id>
|
268
|
+
<account_code>subscription-create-1287455769</account_code>
|
252
269
|
<action>purchase</action>
|
253
|
-
<date type="datetime">2010-10-
|
270
|
+
<date type="datetime">2010-10-19T03:20:16Z</date>
|
254
271
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
255
272
|
<status>success</status>
|
256
273
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -264,10 +281,10 @@
|
|
264
281
|
<refundable type="boolean">true</refundable>
|
265
282
|
</transaction>
|
266
283
|
<transaction type="Payment">
|
267
|
-
<id>
|
268
|
-
<account_code>subscription-find-
|
284
|
+
<id>472585039e5145acb1b5c9b7f2eca673</id>
|
285
|
+
<account_code>subscription-find-1287455769</account_code>
|
269
286
|
<action>purchase</action>
|
270
|
-
<date type="datetime">2010-10-
|
287
|
+
<date type="datetime">2010-10-19T03:20:13Z</date>
|
271
288
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
272
289
|
<status>success</status>
|
273
290
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -281,10 +298,10 @@
|
|
281
298
|
<refundable type="boolean">true</refundable>
|
282
299
|
</transaction>
|
283
300
|
<transaction type="Payment">
|
284
|
-
<id>
|
301
|
+
<id>d70eba608f5249cb99a8e966439d307e</id>
|
285
302
|
<account_code>invoice-lookup-1287167121</account_code>
|
286
303
|
<action>authorization</action>
|
287
|
-
<date type="datetime">2010-10-
|
304
|
+
<date type="datetime">2010-10-19T03:20:00Z</date>
|
288
305
|
<amount_in_cents type="integer">100</amount_in_cents>
|
289
306
|
<status>void</status>
|
290
307
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -298,10 +315,10 @@
|
|
298
315
|
<refundable type="boolean">false</refundable>
|
299
316
|
</transaction>
|
300
317
|
<transaction type="Payment">
|
301
|
-
<id>
|
318
|
+
<id>b6953820c6044604b30a0161437517fa</id>
|
302
319
|
<account_code>invoice-list-1287167121</account_code>
|
303
320
|
<action>authorization</action>
|
304
|
-
<date type="datetime">2010-10-
|
321
|
+
<date type="datetime">2010-10-19T03:19:55Z</date>
|
305
322
|
<amount_in_cents type="integer">100</amount_in_cents>
|
306
323
|
<status>void</status>
|
307
324
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -315,10 +332,10 @@
|
|
315
332
|
<refundable type="boolean">false</refundable>
|
316
333
|
</transaction>
|
317
334
|
<transaction type="Payment">
|
318
|
-
<id>
|
335
|
+
<id>ac857867ba6b44dc9c9b591f41f93c13</id>
|
319
336
|
<account_code>invoice-create-no-charges-1287167121</account_code>
|
320
337
|
<action>authorization</action>
|
321
|
-
<date type="datetime">2010-10-
|
338
|
+
<date type="datetime">2010-10-19T03:19:52Z</date>
|
322
339
|
<amount_in_cents type="integer">100</amount_in_cents>
|
323
340
|
<status>void</status>
|
324
341
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -332,10 +349,10 @@
|
|
332
349
|
<refundable type="boolean">false</refundable>
|
333
350
|
</transaction>
|
334
351
|
<transaction type="Payment">
|
335
|
-
<id>
|
352
|
+
<id>248724dd50e7451eac456a599fc50072</id>
|
336
353
|
<account_code>invoice-create-1287167121</account_code>
|
337
354
|
<action>authorization</action>
|
338
|
-
<date type="datetime">2010-10-
|
355
|
+
<date type="datetime">2010-10-19T03:19:47Z</date>
|
339
356
|
<amount_in_cents type="integer">100</amount_in_cents>
|
340
357
|
<status>void</status>
|
341
358
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -349,27 +366,10 @@
|
|
349
366
|
<refundable type="boolean">false</refundable>
|
350
367
|
</transaction>
|
351
368
|
<transaction type="Payment">
|
352
|
-
<id>
|
369
|
+
<id>28a1c0781ea64f39ad27f90f44564356</id>
|
353
370
|
<account_code>charge-create-1286681273</account_code>
|
354
371
|
<action>authorization</action>
|
355
|
-
<date type="datetime">2010-10-
|
356
|
-
<amount_in_cents type="integer">100</amount_in_cents>
|
357
|
-
<status>void</status>
|
358
|
-
<message>Test Gateway: Successful test transaction</message>
|
359
|
-
<reference></reference>
|
360
|
-
<cvv_result code="M">Match</cvv_result>
|
361
|
-
<avs_result code="D">Street address and postal code match.</avs_result>
|
362
|
-
<avs_result_street></avs_result_street>
|
363
|
-
<avs_result_postal></avs_result_postal>
|
364
|
-
<test type="boolean">true</test>
|
365
|
-
<voidable type="boolean">false</voidable>
|
366
|
-
<refundable type="boolean">false</refundable>
|
367
|
-
</transaction>
|
368
|
-
<transaction type="Payment">
|
369
|
-
<id>4d699d36034246b98e629b80351eb6fa</id>
|
370
|
-
<account_code>billing-destroy-1286682213</account_code>
|
371
|
-
<action>authorization</action>
|
372
|
-
<date type="datetime">2010-10-18T22:05:18Z</date>
|
372
|
+
<date type="datetime">2010-10-19T03:19:31Z</date>
|
373
373
|
<amount_in_cents type="integer">100</amount_in_cents>
|
374
374
|
<status>void</status>
|
375
375
|
<message>Test Gateway: Successful test transaction</message>
|