recurly 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly.rb +8 -0
- data/lib/recurly/account.rb +5 -0
- data/lib/recurly/rails3/railtie.rb +9 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +29 -1
- data/spec/integration/add_on_spec.rb +84 -0
- data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
- data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
- data/spec/vcr/account/accept-language/1294473117.yml +167 -0
- data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
- data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
- data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
- data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
- data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
- data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
- data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
- data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
- data/spec/vcr/billing/create/1286682213.yml +28 -27
- data/spec/vcr/billing/destroy/1286682213.yml +42 -41
- data/spec/vcr/billing/find/1286682213.yml +38 -37
- data/spec/vcr/billing/update/1286682213.yml +40 -39
- data/spec/vcr/charge/create/1287465632.yml +36 -35
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
- data/spec/vcr/charge/list-all/1287465632.yml +43 -42
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
- data/spec/vcr/charge/lookup/1287465632.yml +22 -21
- data/spec/vcr/credit/create/1287461400.yml +23 -22
- data/spec/vcr/credit/delete/1287461400.yml +33 -32
- data/spec/vcr/credit/list/1287461400.yml +43 -42
- data/spec/vcr/credit/lookup/1287461400.yml +24 -23
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
- data/spec/vcr/invoice/create/1287167121.yml +48 -47
- data/spec/vcr/invoice/list/1287167121.yml +67 -66
- data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
- data/spec/vcr/plan/all.yml +29 -17
- data/spec/vcr/plan/delete/1286677585.yml +21 -21
- data/spec/vcr/plan/find.yml +42 -18
- data/spec/vcr/plan/update.yml +17 -17
- data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
- data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
- data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
- data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
- data/spec/vcr/subscription/change1/1287455769.yml +77 -55
- data/spec/vcr/subscription/change2/1287455769.yml +77 -55
- data/spec/vcr/subscription/create/1287455769.yml +43 -27
- data/spec/vcr/subscription/find/1287455769.yml +54 -36
- data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
- data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
- data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
- data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
- data/spec/vcr/transaction/all/1289558212.yml +46 -46
- data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
- data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
- data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
- data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
- data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
- data/spec/vcr/transaction/refund/1289558212.yml +35 -34
- data/spec/vcr/transaction/void/1289558212.yml +71 -70
- metadata +34 -20
@@ -9,6 +9,7 @@
|
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
10
|
<account-code>subscription-refund-partial-1287455769</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
12
13
|
<email>verena@test.com</email>
|
13
14
|
<first-name>Verena</first-name>
|
14
15
|
</account>
|
@@ -34,17 +35,17 @@
|
|
34
35
|
content-type:
|
35
36
|
- application/xml; charset=utf-8
|
36
37
|
x-runtime:
|
37
|
-
- "
|
38
|
+
- "348"
|
38
39
|
date:
|
39
|
-
-
|
40
|
+
- Sat, 08 Jan 2011 08:06:10 GMT
|
40
41
|
server:
|
41
|
-
- nginx/0.
|
42
|
+
- nginx/0.8.53
|
42
43
|
content-length:
|
43
44
|
- "609"
|
44
45
|
set-cookie:
|
45
|
-
- account_credentials=
|
46
|
+
- account_credentials=51986b4799bff87d69dcc11a42b9e6b68fb0e1f900779e6cabd59335f7691edbe2e9134d250e33d30fccdadbd9cb30111585b1b6362041f48eee7c923f8273c1%3A%3A; domain=.recurly.com; path=/
|
46
47
|
- ""
|
47
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=2fd99d57dc83c7766f7af837bec7d1e7; domain=.recurly.com; path=/; secure; HttpOnly
|
48
49
|
cache-control:
|
49
50
|
- no-cache
|
50
51
|
body: |
|
@@ -59,8 +60,8 @@
|
|
59
60
|
<company_name>Recurly Ruby Gem</company_name>
|
60
61
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
62
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">
|
63
|
+
<hosted_login_token>d6a3ced9bc5b4f6ea78e3883ec2d34a1</hosted_login_token>
|
64
|
+
<created_at type="datetime">2011-01-08T08:06:10Z</created_at>
|
64
65
|
<state>active</state>
|
65
66
|
</account>
|
66
67
|
|
@@ -85,21 +86,21 @@
|
|
85
86
|
x-ua-compatible:
|
86
87
|
- IE=Edge
|
87
88
|
etag:
|
88
|
-
- "\"
|
89
|
+
- "\"47a9e8e85691ef0600a2dd39f113a21e\""
|
89
90
|
connection:
|
90
91
|
- close
|
91
92
|
content-type:
|
92
93
|
- application/xml; charset=utf-8
|
93
94
|
x-runtime:
|
94
|
-
- "
|
95
|
+
- "14"
|
95
96
|
date:
|
96
|
-
-
|
97
|
+
- Sat, 08 Jan 2011 08:06:11 GMT
|
97
98
|
server:
|
98
|
-
- nginx/0.
|
99
|
+
- nginx/0.8.53
|
99
100
|
content-length:
|
100
|
-
- "
|
101
|
+
- "1564"
|
101
102
|
set-cookie:
|
102
|
-
- _recurly_session=
|
103
|
+
- _recurly_session=652c73b76ab3eb2b1609586627e71156; domain=.recurly.com; path=/; secure; HttpOnly
|
103
104
|
cache-control:
|
104
105
|
- private, max-age=0, must-revalidate
|
105
106
|
body: |
|
@@ -125,8 +126,20 @@
|
|
125
126
|
<plan_interval_unit>months</plan_interval_unit>
|
126
127
|
<trial_interval_length type="integer">0</trial_interval_length>
|
127
128
|
<trial_interval_unit>months</trial_interval_unit>
|
128
|
-
<created_at type="datetime">2010-
|
129
|
+
<created_at type="datetime">2010-12-10T19:19:03Z</created_at>
|
129
130
|
</latest_version>
|
131
|
+
<add_ons type="collection">
|
132
|
+
<add_on>
|
133
|
+
<add_on_code>special</add_on_code>
|
134
|
+
<default_unit_amount_in_cents>1000</default_unit_amount_in_cents>
|
135
|
+
<default_quantity>1</default_quantity>
|
136
|
+
</add_on>
|
137
|
+
<add_on>
|
138
|
+
<add_on_code>special2</add_on_code>
|
139
|
+
<default_unit_amount_in_cents>1500</default_unit_amount_in_cents>
|
140
|
+
<default_quantity>1</default_quantity>
|
141
|
+
</add_on>
|
142
|
+
</add_ons>
|
130
143
|
</plan>
|
131
144
|
|
132
145
|
http_version: "1.1"
|
@@ -140,23 +153,24 @@
|
|
140
153
|
<quantity type="integer">1</quantity>
|
141
154
|
<plan-code>paid</plan-code>
|
142
155
|
<account>
|
143
|
-
<created-at type="datetime">
|
144
|
-
<hosted-login-token>
|
156
|
+
<created-at type="datetime">2011-01-08T08:06:10Z</created-at>
|
157
|
+
<hosted-login-token>d6a3ced9bc5b4f6ea78e3883ec2d34a1</hosted-login-token>
|
145
158
|
<company-name>Recurly Ruby Gem</company-name>
|
146
159
|
<account-code>subscription-refund-partial-1287455769</account-code>
|
147
160
|
<closed type="boolean">false</closed>
|
148
161
|
<username type="yaml" nil="true"></username>
|
149
162
|
<id>subscription-refund-partial-1287455769</id>
|
150
163
|
<last-name>Test</last-name>
|
164
|
+
<accept-language type="yaml" nil="true"></accept-language>
|
151
165
|
<billing-info>
|
152
|
-
<city>San Francisco</city>
|
153
166
|
<address1>123 Test St</address1>
|
167
|
+
<city>San Francisco</city>
|
154
168
|
<zip>94115</zip>
|
155
169
|
<country>US</country>
|
156
170
|
<credit-card>
|
157
171
|
<number>1</number>
|
158
|
-
<month type="integer">
|
159
|
-
<year type="integer">
|
172
|
+
<month type="integer">1</month>
|
173
|
+
<year type="integer">2012</year>
|
160
174
|
<verification-value>123</verification-value>
|
161
175
|
</credit-card>
|
162
176
|
<last-name>Test</last-name>
|
@@ -189,15 +203,15 @@
|
|
189
203
|
content-type:
|
190
204
|
- application/xml; charset=utf-8
|
191
205
|
x-runtime:
|
192
|
-
- "
|
206
|
+
- "455"
|
193
207
|
date:
|
194
|
-
-
|
208
|
+
- Sat, 08 Jan 2011 08:06:12 GMT
|
195
209
|
server:
|
196
|
-
- nginx/0.
|
210
|
+
- nginx/0.8.53
|
197
211
|
content-length:
|
198
|
-
- "
|
212
|
+
- "924"
|
199
213
|
set-cookie:
|
200
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=8dc98b9358b904032a9c6fd20b140ab9; domain=.recurly.com; path=/; secure; HttpOnly
|
201
215
|
cache-control:
|
202
216
|
- no-cache
|
203
217
|
body: |
|
@@ -212,13 +226,15 @@
|
|
212
226
|
<state>active</state>
|
213
227
|
<quantity type="integer">1</quantity>
|
214
228
|
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
215
|
-
<activated_at type="datetime">
|
229
|
+
<activated_at type="datetime">2011-01-08T08:06:11Z</activated_at>
|
216
230
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
217
231
|
<expires_at nil="true" type="datetime"></expires_at>
|
218
|
-
<current_period_started_at type="datetime">
|
219
|
-
<current_period_ends_at type="datetime">
|
232
|
+
<current_period_started_at type="datetime">2011-01-08T08:06:11Z</current_period_started_at>
|
233
|
+
<current_period_ends_at type="datetime">2011-02-08T08:06:11Z</current_period_ends_at>
|
220
234
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
221
235
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
236
|
+
<add_ons type="array">
|
237
|
+
</add_ons>
|
222
238
|
</subscription>
|
223
239
|
|
224
240
|
http_version: "1.1"
|
@@ -242,21 +258,21 @@
|
|
242
258
|
x-ua-compatible:
|
243
259
|
- IE=Edge
|
244
260
|
etag:
|
245
|
-
- "\"
|
261
|
+
- "\"5ebc6865e4a2c5eab380a560c2b2ed04\""
|
246
262
|
connection:
|
247
263
|
- close
|
248
264
|
content-type:
|
249
265
|
- application/xml; charset=utf-8
|
250
266
|
x-runtime:
|
251
|
-
- "
|
267
|
+
- "21"
|
252
268
|
date:
|
253
|
-
-
|
269
|
+
- Sat, 08 Jan 2011 08:06:13 GMT
|
254
270
|
server:
|
255
|
-
- nginx/0.
|
271
|
+
- nginx/0.8.53
|
256
272
|
content-length:
|
257
|
-
- "
|
273
|
+
- "924"
|
258
274
|
set-cookie:
|
259
|
-
- _recurly_session=
|
275
|
+
- _recurly_session=da21a91becff86bab317fea6549b22aa; domain=.recurly.com; path=/; secure; HttpOnly
|
260
276
|
cache-control:
|
261
277
|
- private, max-age=0, must-revalidate
|
262
278
|
body: |
|
@@ -271,13 +287,15 @@
|
|
271
287
|
<state>active</state>
|
272
288
|
<quantity type="integer">1</quantity>
|
273
289
|
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
274
|
-
<activated_at type="datetime">
|
290
|
+
<activated_at type="datetime">2011-01-08T08:06:11Z</activated_at>
|
275
291
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
276
292
|
<expires_at nil="true" type="datetime"></expires_at>
|
277
|
-
<current_period_started_at type="datetime">
|
278
|
-
<current_period_ends_at type="datetime">
|
293
|
+
<current_period_started_at type="datetime">2011-01-08T08:06:11Z</current_period_started_at>
|
294
|
+
<current_period_ends_at type="datetime">2011-02-08T08:06:11Z</current_period_ends_at>
|
279
295
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
280
296
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
297
|
+
<add_ons type="array">
|
298
|
+
</add_ons>
|
281
299
|
</subscription>
|
282
300
|
|
283
301
|
http_version: "1.1"
|
@@ -301,21 +319,21 @@
|
|
301
319
|
x-ua-compatible:
|
302
320
|
- IE=Edge
|
303
321
|
etag:
|
304
|
-
- "\"
|
322
|
+
- "\"fc13902aaf5d0263e64ba22732ef62b3\""
|
305
323
|
connection:
|
306
324
|
- close
|
307
325
|
content-type:
|
308
326
|
- application/xml; charset=utf-8
|
309
327
|
x-runtime:
|
310
|
-
- "
|
328
|
+
- "207"
|
311
329
|
date:
|
312
|
-
-
|
330
|
+
- Sat, 08 Jan 2011 08:06:13 GMT
|
313
331
|
server:
|
314
|
-
- nginx/0.
|
332
|
+
- nginx/0.8.53
|
315
333
|
content-length:
|
316
|
-
- "
|
334
|
+
- "943"
|
317
335
|
set-cookie:
|
318
|
-
- _recurly_session=
|
336
|
+
- _recurly_session=2445df5c097a0d440f018c82d4c62a3e; domain=.recurly.com; path=/; secure; HttpOnly
|
319
337
|
cache-control:
|
320
338
|
- private, max-age=0, must-revalidate
|
321
339
|
body: |
|
@@ -330,13 +348,15 @@
|
|
330
348
|
<state>expired</state>
|
331
349
|
<quantity type="integer">1</quantity>
|
332
350
|
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
333
|
-
<activated_at type="datetime">
|
334
|
-
<canceled_at type="datetime">
|
335
|
-
<expires_at type="datetime">
|
336
|
-
<current_period_started_at type="datetime">
|
337
|
-
<current_period_ends_at type="datetime">
|
351
|
+
<activated_at type="datetime">2011-01-08T08:06:11Z</activated_at>
|
352
|
+
<canceled_at type="datetime">2011-01-08T08:06:13Z</canceled_at>
|
353
|
+
<expires_at type="datetime">2011-02-08T08:06:11Z</expires_at>
|
354
|
+
<current_period_started_at type="datetime">2011-01-08T08:06:11Z</current_period_started_at>
|
355
|
+
<current_period_ends_at type="datetime">2011-02-08T08:06:11Z</current_period_ends_at>
|
338
356
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
339
357
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
358
|
+
<add_ons type="array">
|
359
|
+
</add_ons>
|
340
360
|
</subscription>
|
341
361
|
|
342
362
|
http_version: "1.1"
|
@@ -361,16 +381,14 @@
|
|
361
381
|
- close
|
362
382
|
content-type:
|
363
383
|
- application/xml; charset=utf-8
|
364
|
-
x-runtime:
|
365
|
-
- "19"
|
366
384
|
date:
|
367
|
-
-
|
385
|
+
- Sat, 08 Jan 2011 08:06:14 GMT
|
368
386
|
server:
|
369
|
-
- nginx/0.
|
387
|
+
- nginx/0.8.53
|
370
388
|
content-length:
|
371
389
|
- "98"
|
372
390
|
set-cookie:
|
373
|
-
- _recurly_session=
|
391
|
+
- _recurly_session=8a3bdd8f69f51bd66c793a31ea87651a; domain=.recurly.com; path=/; secure; HttpOnly
|
374
392
|
cache-control:
|
375
393
|
- no-cache
|
376
394
|
body: |
|
@@ -19,21 +19,21 @@
|
|
19
19
|
x-ua-compatible:
|
20
20
|
- IE=Edge
|
21
21
|
etag:
|
22
|
-
- "\"
|
22
|
+
- "\"680edba43bb6af5c437c8a5ebfa1dc83\""
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
x-runtime:
|
28
|
-
- "
|
28
|
+
- "70"
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Sat, 08 Jan 2011 08:06:27 GMT
|
31
31
|
server:
|
32
|
-
- nginx/0.
|
32
|
+
- nginx/0.8.53
|
33
33
|
content-length:
|
34
34
|
- "15414"
|
35
35
|
set-cookie:
|
36
|
-
- _recurly_session=
|
36
|
+
- _recurly_session=a1b26954f4a02426f3bc9d7a11815558; 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">33</total_entries>
|
45
45
|
<transaction type="Payment">
|
46
|
-
<id>
|
46
|
+
<id>90d637f283ca4a70afedb90400ed98b1</id>
|
47
47
|
<account_code>transaction-create-with-account-1289558212</account_code>
|
48
48
|
<action>purchase</action>
|
49
|
-
<date type="datetime">
|
49
|
+
<date type="datetime">2011-01-08T08:06:26Z</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>37d9c8cc311c4a79b17d93e50ea2755d</id>
|
64
64
|
<account_code>transaction-create-with-account-1289558212</account_code>
|
65
65
|
<action>authorization</action>
|
66
|
-
<date type="datetime">
|
66
|
+
<date type="datetime">2011-01-08T08:06:25Z</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>dc3018e67e954178b30d101ff44afa98</id>
|
81
81
|
<account_code>transaction-create-with-accout-1289558212</account_code>
|
82
82
|
<action>purchase</action>
|
83
|
-
<date type="datetime">
|
83
|
+
<date type="datetime">2011-01-08T08:06:22Z</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>
|
@@ -94,10 +94,10 @@
|
|
94
94
|
<refundable type="boolean">true</refundable>
|
95
95
|
</transaction>
|
96
96
|
<transaction type="Payment">
|
97
|
-
<id>
|
97
|
+
<id>1eb8b5c75f144e7491b7738827e3c5e6</id>
|
98
98
|
<account_code>subscription-refund-none-1287455769</account_code>
|
99
99
|
<action>purchase</action>
|
100
|
-
<date type="datetime">
|
100
|
+
<date type="datetime">2011-01-08T08:06:17Z</date>
|
101
101
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
102
102
|
<status>success</status>
|
103
103
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -111,10 +111,10 @@
|
|
111
111
|
<refundable type="boolean">true</refundable>
|
112
112
|
</transaction>
|
113
113
|
<transaction type="Refund">
|
114
|
-
<id>
|
114
|
+
<id>3c7b4e483a494fa99c84d95dd4715e7b</id>
|
115
115
|
<account_code>subscription-refund-partial-1287455769</account_code>
|
116
116
|
<action>credit</action>
|
117
|
-
<date type="datetime">
|
117
|
+
<date type="datetime">2011-01-08T08:06:13Z</date>
|
118
118
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
119
119
|
<status>success</status>
|
120
120
|
<message>Bogus Gateway: Forced success</message>
|
@@ -128,10 +128,10 @@
|
|
128
128
|
<refundable type="boolean">false</refundable>
|
129
129
|
</transaction>
|
130
130
|
<transaction type="Payment">
|
131
|
-
<id>
|
131
|
+
<id>124cd04757064d859b6334ecd5fc82c3</id>
|
132
132
|
<account_code>subscription-refund-partial-1287455769</account_code>
|
133
133
|
<action>purchase</action>
|
134
|
-
<date type="datetime">
|
134
|
+
<date type="datetime">2011-01-08T08:06:12Z</date>
|
135
135
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
136
136
|
<status>success</status>
|
137
137
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -145,10 +145,10 @@
|
|
145
145
|
<refundable type="boolean">false</refundable>
|
146
146
|
</transaction>
|
147
147
|
<transaction type="Refund">
|
148
|
-
<id>
|
148
|
+
<id>2b2b35ed802e4a0ca3dc9258e5df7ebb</id>
|
149
149
|
<account_code>subscription-refund-full-1287455769</account_code>
|
150
150
|
<action>credit</action>
|
151
|
-
<date type="datetime">
|
151
|
+
<date type="datetime">2011-01-08T08:06:08Z</date>
|
152
152
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
153
153
|
<status>success</status>
|
154
154
|
<message>Bogus Gateway: Forced success</message>
|
@@ -162,10 +162,10 @@
|
|
162
162
|
<refundable type="boolean">false</refundable>
|
163
163
|
</transaction>
|
164
164
|
<transaction type="Payment">
|
165
|
-
<id>
|
165
|
+
<id>b8eff4868df54367a197ecdf700d670d</id>
|
166
166
|
<account_code>subscription-refund-full-1287455769</account_code>
|
167
167
|
<action>purchase</action>
|
168
|
-
<date type="datetime">
|
168
|
+
<date type="datetime">2011-01-08T08:06:06Z</date>
|
169
169
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
170
170
|
<status>success</status>
|
171
171
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -179,10 +179,10 @@
|
|
179
179
|
<refundable type="boolean">false</refundable>
|
180
180
|
</transaction>
|
181
181
|
<transaction type="Payment">
|
182
|
-
<id>
|
182
|
+
<id>66a775ea3a6846ea80656d65021b7c32</id>
|
183
183
|
<account_code>subscription-cancel-with-code-1287455769</account_code>
|
184
184
|
<action>purchase</action>
|
185
|
-
<date type="datetime">
|
185
|
+
<date type="datetime">2011-01-08T08:05:58Z</date>
|
186
186
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
187
187
|
<status>success</status>
|
188
188
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -196,10 +196,10 @@
|
|
196
196
|
<refundable type="boolean">true</refundable>
|
197
197
|
</transaction>
|
198
198
|
<transaction type="Payment">
|
199
|
-
<id>
|
199
|
+
<id>3399cd430faa4a4d8faac923874f6871</id>
|
200
200
|
<account_code>subscription-cancel-1287455769</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">
|
202
|
+
<date type="datetime">2011-01-08T08:05:51Z</date>
|
203
203
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
204
204
|
<status>success</status>
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -213,10 +213,10 @@
|
|
213
213
|
<refundable type="boolean">true</refundable>
|
214
214
|
</transaction>
|
215
215
|
<transaction type="Payment">
|
216
|
-
<id>
|
216
|
+
<id>2f23161288a645c09dc79d073d9ca55f</id>
|
217
217
|
<account_code>subscription-reactivate-1287455769</account_code>
|
218
218
|
<action>purchase</action>
|
219
|
-
<date type="datetime">
|
219
|
+
<date type="datetime">2011-01-08T08:05:45Z</date>
|
220
220
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
221
221
|
<status>success</status>
|
222
222
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -230,10 +230,10 @@
|
|
230
230
|
<refundable type="boolean">true</refundable>
|
231
231
|
</transaction>
|
232
232
|
<transaction type="Payment">
|
233
|
-
<id>
|
233
|
+
<id>14717417eed947d0abc5c029a8158dad</id>
|
234
234
|
<account_code>1287455769</account_code>
|
235
235
|
<action>purchase</action>
|
236
|
-
<date type="datetime">
|
236
|
+
<date type="datetime">2011-01-08T08:05:39Z</date>
|
237
237
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
238
238
|
<status>success</status>
|
239
239
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -247,10 +247,10 @@
|
|
247
247
|
<refundable type="boolean">true</refundable>
|
248
248
|
</transaction>
|
249
249
|
<transaction type="Payment">
|
250
|
-
<id>
|
250
|
+
<id>fa525febbc0644a5b9872db58131c1fe</id>
|
251
251
|
<account_code>subscription-change1-1287455769</account_code>
|
252
252
|
<action>purchase</action>
|
253
|
-
<date type="datetime">
|
253
|
+
<date type="datetime">2011-01-08T08:05:33Z</date>
|
254
254
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
255
255
|
<status>success</status>
|
256
256
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -264,10 +264,10 @@
|
|
264
264
|
<refundable type="boolean">true</refundable>
|
265
265
|
</transaction>
|
266
266
|
<transaction type="Payment">
|
267
|
-
<id>
|
267
|
+
<id>8e708fe7737845f5bb646e5baf5e21b9</id>
|
268
268
|
<account_code>subscription-create-1287455769</account_code>
|
269
269
|
<action>purchase</action>
|
270
|
-
<date type="datetime">
|
270
|
+
<date type="datetime">2011-01-08T08:05:29Z</date>
|
271
271
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
272
272
|
<status>success</status>
|
273
273
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -281,10 +281,10 @@
|
|
281
281
|
<refundable type="boolean">true</refundable>
|
282
282
|
</transaction>
|
283
283
|
<transaction type="Payment">
|
284
|
-
<id>
|
284
|
+
<id>8383594201374936a6dd224ea211f92a</id>
|
285
285
|
<account_code>subscription-find-1287455769</account_code>
|
286
286
|
<action>purchase</action>
|
287
|
-
<date type="datetime">
|
287
|
+
<date type="datetime">2011-01-08T08:05:25Z</date>
|
288
288
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
289
289
|
<status>success</status>
|
290
290
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -298,10 +298,10 @@
|
|
298
298
|
<refundable type="boolean">true</refundable>
|
299
299
|
</transaction>
|
300
300
|
<transaction type="Payment">
|
301
|
-
<id>
|
301
|
+
<id>f05249401eb84ea28d42a1c11802844f</id>
|
302
302
|
<account_code>invoice-lookup-1287167121</account_code>
|
303
303
|
<action>authorization</action>
|
304
|
-
<date type="datetime">
|
304
|
+
<date type="datetime">2011-01-08T08:05:06Z</date>
|
305
305
|
<amount_in_cents type="integer">100</amount_in_cents>
|
306
306
|
<status>void</status>
|
307
307
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -315,10 +315,10 @@
|
|
315
315
|
<refundable type="boolean">false</refundable>
|
316
316
|
</transaction>
|
317
317
|
<transaction type="Payment">
|
318
|
-
<id>
|
318
|
+
<id>289920ddb4d841e4980522f04cc287f3</id>
|
319
319
|
<account_code>invoice-list-1287167121</account_code>
|
320
320
|
<action>authorization</action>
|
321
|
-
<date type="datetime">
|
321
|
+
<date type="datetime">2011-01-08T08:04:59Z</date>
|
322
322
|
<amount_in_cents type="integer">100</amount_in_cents>
|
323
323
|
<status>void</status>
|
324
324
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -332,10 +332,10 @@
|
|
332
332
|
<refundable type="boolean">false</refundable>
|
333
333
|
</transaction>
|
334
334
|
<transaction type="Payment">
|
335
|
-
<id>
|
335
|
+
<id>c727cbd93a75406ea9b08fe732cd04fa</id>
|
336
336
|
<account_code>invoice-create-no-charges-1287167121</account_code>
|
337
337
|
<action>authorization</action>
|
338
|
-
<date type="datetime">
|
338
|
+
<date type="datetime">2011-01-08T08:04:56Z</date>
|
339
339
|
<amount_in_cents type="integer">100</amount_in_cents>
|
340
340
|
<status>void</status>
|
341
341
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -349,10 +349,10 @@
|
|
349
349
|
<refundable type="boolean">false</refundable>
|
350
350
|
</transaction>
|
351
351
|
<transaction type="Payment">
|
352
|
-
<id>
|
352
|
+
<id>aad391af1ef349f6ac0328534ef54b39</id>
|
353
353
|
<account_code>invoice-create-1287167121</account_code>
|
354
354
|
<action>authorization</action>
|
355
|
-
<date type="datetime">
|
355
|
+
<date type="datetime">2011-01-08T08:04:51Z</date>
|
356
356
|
<amount_in_cents type="integer">100</amount_in_cents>
|
357
357
|
<status>void</status>
|
358
358
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -366,10 +366,10 @@
|
|
366
366
|
<refundable type="boolean">false</refundable>
|
367
367
|
</transaction>
|
368
368
|
<transaction type="Payment">
|
369
|
-
<id>
|
369
|
+
<id>43deb871c4f14e559841f98b39f33040</id>
|
370
370
|
<account_code>charge-create-1287465632</account_code>
|
371
371
|
<action>authorization</action>
|
372
|
-
<date type="datetime">
|
372
|
+
<date type="datetime">2011-01-08T08:04:20Z</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>
|