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
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "599"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:19:16 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "585"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=2345b603a23e1fafe72d427d9ee453cf5f07694a70236f2553ae336c591ed911d84582aa60e42a1cda0f9623ded77681ff1eaaf21e2f35e08d659f47404941eb%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=375d78e4676c90a68efbceffef1b84b5; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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>032dea127b094ff0a1a0d873ab389525</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:19:16Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,27 +95,27 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "46"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Tue, 19 Oct 2010 03:19:17 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "458"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=4ef8da970a6efd16a22583201174555d; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
112
|
+
<id>4dadad97f8534a689e9cbd234081bb3f</id>
|
113
113
|
<account_code>charge-list-all-1286681273</account_code>
|
114
114
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-19T03:19:17Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>charge description</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-19T03:19:17Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
@@ -149,27 +149,27 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "66"
|
153
153
|
date:
|
154
|
-
-
|
154
|
+
- Tue, 19 Oct 2010 03:19:18 GMT
|
155
155
|
server:
|
156
156
|
- nginx/0.7.65
|
157
157
|
content-length:
|
158
158
|
- "458"
|
159
159
|
set-cookie:
|
160
|
-
- _recurly_session=
|
160
|
+
- _recurly_session=8a5c7e044d86c695ffd5954843532022; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
161
|
cache-control:
|
162
162
|
- no-cache
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>4741b35c9dcf47b2827b1dc196259f33</id>
|
167
167
|
<account_code>charge-list-all-1286681273</account_code>
|
168
168
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-10-
|
169
|
+
<start_date type="datetime">2010-10-19T03:19:18Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<description>charge description</description>
|
172
|
-
<created_at type="datetime">2010-10-
|
172
|
+
<created_at type="datetime">2010-10-19T03:19:18Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
@@ -203,27 +203,27 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "45"
|
207
207
|
date:
|
208
|
-
-
|
208
|
+
- Tue, 19 Oct 2010 03:19:18 GMT
|
209
209
|
server:
|
210
210
|
- nginx/0.7.65
|
211
211
|
content-length:
|
212
212
|
- "458"
|
213
213
|
set-cookie:
|
214
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=648e87b903527a2a0917c53eb8ce5dad; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
215
|
cache-control:
|
216
216
|
- no-cache
|
217
217
|
body: |
|
218
218
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
219
|
<charge type="charge">
|
220
|
-
<id>
|
220
|
+
<id>0fb0e4a21ebc4838a52bd9611cbcd8e1</id>
|
221
221
|
<account_code>charge-list-all-1286681273</account_code>
|
222
222
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-10-
|
223
|
+
<start_date type="datetime">2010-10-19T03:19:18Z</start_date>
|
224
224
|
<end_date nil="true" type="datetime"></end_date>
|
225
225
|
<description>charge description</description>
|
226
|
-
<created_at type="datetime">2010-10-
|
226
|
+
<created_at type="datetime">2010-10-19T03:19:18Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
@@ -247,55 +247,55 @@
|
|
247
247
|
x-ua-compatible:
|
248
248
|
- IE=Edge
|
249
249
|
etag:
|
250
|
-
- "\"
|
250
|
+
- "\"752e50a703dc7d348a68690a64377745\""
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "18"
|
257
257
|
date:
|
258
|
-
-
|
258
|
+
- Tue, 19 Oct 2010 03:19:19 GMT
|
259
259
|
server:
|
260
260
|
- nginx/0.7.65
|
261
261
|
content-length:
|
262
262
|
- "1576"
|
263
263
|
set-cookie:
|
264
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=be13c26eeedc452fd91cefee40b10ec6; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
265
|
cache-control:
|
266
266
|
- private, max-age=0, must-revalidate
|
267
267
|
body: |
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
269
|
<charges type="array">
|
270
270
|
<charge type="charge">
|
271
|
-
<id>
|
271
|
+
<id>0fb0e4a21ebc4838a52bd9611cbcd8e1</id>
|
272
272
|
<account_code>charge-list-all-1286681273</account_code>
|
273
273
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
|
-
<start_date type="datetime">2010-10-
|
274
|
+
<start_date type="datetime">2010-10-19T03:19:18Z</start_date>
|
275
275
|
<end_date nil="true" type="datetime"></end_date>
|
276
276
|
<invoice_number nil="true" type="integer"></invoice_number>
|
277
277
|
<description>charge description</description>
|
278
|
-
<created_at type="datetime">2010-10-
|
278
|
+
<created_at type="datetime">2010-10-19T03:19:18Z</created_at>
|
279
279
|
</charge>
|
280
280
|
<charge type="charge">
|
281
|
-
<id>
|
281
|
+
<id>4741b35c9dcf47b2827b1dc196259f33</id>
|
282
282
|
<account_code>charge-list-all-1286681273</account_code>
|
283
283
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
284
|
-
<start_date type="datetime">2010-10-
|
284
|
+
<start_date type="datetime">2010-10-19T03:19:18Z</start_date>
|
285
285
|
<end_date nil="true" type="datetime"></end_date>
|
286
286
|
<invoice_number nil="true" type="integer"></invoice_number>
|
287
287
|
<description>charge description</description>
|
288
|
-
<created_at type="datetime">2010-10-
|
288
|
+
<created_at type="datetime">2010-10-19T03:19:18Z</created_at>
|
289
289
|
</charge>
|
290
290
|
<charge type="charge">
|
291
|
-
<id>
|
291
|
+
<id>4dadad97f8534a689e9cbd234081bb3f</id>
|
292
292
|
<account_code>charge-list-all-1286681273</account_code>
|
293
293
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
294
|
-
<start_date type="datetime">2010-10-
|
294
|
+
<start_date type="datetime">2010-10-19T03:19:17Z</start_date>
|
295
295
|
<end_date nil="true" type="datetime"></end_date>
|
296
296
|
<invoice_number nil="true" type="integer"></invoice_number>
|
297
297
|
<description>charge description</description>
|
298
|
-
<created_at type="datetime">2010-10-
|
298
|
+
<created_at type="datetime">2010-10-19T03:19:17Z</created_at>
|
299
299
|
</charge>
|
300
300
|
</charges>
|
301
301
|
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "605"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:19:25 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "595"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=3c057e23bdef2e66370143b8d0561ddf6743370a6d49c8f466042f238ede8e6736101d20fda5b92aec5600216a079f47d68fdf6917197a45591de9c57f9efc75%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=aaebc1758a797cd80349e78346632385; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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>57f36da5dada41fc9ec078171ee7878a</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:19:25Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,27 +95,27 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "66"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Tue, 19 Oct 2010 03:19:25 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "463"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=c0242851c6cce7d91e9442ed476082eb; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
112
|
+
<id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
|
113
113
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
114
114
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-19T03:19:25Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>charge description</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-19T03:19:25Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
@@ -149,27 +149,27 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "46"
|
153
153
|
date:
|
154
|
-
-
|
154
|
+
- Tue, 19 Oct 2010 03:19:26 GMT
|
155
155
|
server:
|
156
156
|
- nginx/0.7.65
|
157
157
|
content-length:
|
158
158
|
- "463"
|
159
159
|
set-cookie:
|
160
|
-
- _recurly_session=
|
160
|
+
- _recurly_session=740a6bfc7d8d785b34827bacded36d2d; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
161
|
cache-control:
|
162
162
|
- no-cache
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>5fcb7fb959a641ada081199eab66e78c</id>
|
167
167
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
168
168
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-10-
|
169
|
+
<start_date type="datetime">2010-10-19T03:19:26Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<description>charge description</description>
|
172
|
-
<created_at type="datetime">2010-10-
|
172
|
+
<created_at type="datetime">2010-10-19T03:19:26Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
@@ -203,27 +203,27 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "63"
|
207
207
|
date:
|
208
|
-
-
|
208
|
+
- Tue, 19 Oct 2010 03:19:27 GMT
|
209
209
|
server:
|
210
210
|
- nginx/0.7.65
|
211
211
|
content-length:
|
212
212
|
- "463"
|
213
213
|
set-cookie:
|
214
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=f3e256f2f91f95874289e13456c1a670; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
215
|
cache-control:
|
216
216
|
- no-cache
|
217
217
|
body: |
|
218
218
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
219
|
<charge type="charge">
|
220
|
-
<id>
|
220
|
+
<id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
|
221
221
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
222
222
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-10-
|
223
|
+
<start_date type="datetime">2010-10-19T03:19:27Z</start_date>
|
224
224
|
<end_date nil="true" type="datetime"></end_date>
|
225
225
|
<description>charge description</description>
|
226
|
-
<created_at type="datetime">2010-10-
|
226
|
+
<created_at type="datetime">2010-10-19T03:19:27Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
@@ -251,30 +251,30 @@
|
|
251
251
|
message: Created
|
252
252
|
headers:
|
253
253
|
location:
|
254
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
254
|
+
- https://recurlytest3-test.recurly.com/invoices/a40ee837de2e4a95bf1865fc8dee97a9
|
255
255
|
connection:
|
256
256
|
- close
|
257
257
|
content-type:
|
258
258
|
- application/xml; charset=utf-8
|
259
259
|
x-runtime:
|
260
|
-
- "
|
260
|
+
- "255"
|
261
261
|
date:
|
262
|
-
-
|
262
|
+
- Tue, 19 Oct 2010 03:19:28 GMT
|
263
263
|
server:
|
264
264
|
- nginx/0.7.65
|
265
265
|
content-length:
|
266
266
|
- "1934"
|
267
267
|
set-cookie:
|
268
|
-
- _recurly_session=
|
268
|
+
- _recurly_session=aec4a7b014acb4696422cc978aad7808; domain=.recurly.com; path=/; Secure; HttpOnly
|
269
269
|
cache-control:
|
270
270
|
- no-cache
|
271
271
|
body: |
|
272
272
|
<?xml version="1.0" encoding="UTF-8"?>
|
273
273
|
<invoice>
|
274
|
-
<id>
|
274
|
+
<id>a40ee837de2e4a95bf1865fc8dee97a9</id>
|
275
275
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
276
|
-
<date type="datetime">2010-10-
|
277
|
-
<invoice_number type="integer">
|
276
|
+
<date type="datetime">2010-10-19T03:19:27Z</date>
|
277
|
+
<invoice_number type="integer">1993</invoice_number>
|
278
278
|
<vat_number></vat_number>
|
279
279
|
<status>open</status>
|
280
280
|
<subtotal_in_cents type="integer">3000</subtotal_in_cents>
|
@@ -284,31 +284,31 @@
|
|
284
284
|
<total_due_in_cents type="integer">3000</total_due_in_cents>
|
285
285
|
<line_items type="array">
|
286
286
|
<line_item>
|
287
|
-
<id>
|
287
|
+
<id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
|
288
288
|
<type>charge</type>
|
289
289
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
290
|
-
<start_date type="datetime">2010-10-
|
290
|
+
<start_date type="datetime">2010-10-19T03:19:25Z</start_date>
|
291
291
|
<end_date nil="true" type="datetime"></end_date>
|
292
292
|
<description>charge description</description>
|
293
|
-
<created_at type="datetime">2010-10-
|
293
|
+
<created_at type="datetime">2010-10-19T03:19:25Z</created_at>
|
294
294
|
</line_item>
|
295
295
|
<line_item>
|
296
|
-
<id>
|
296
|
+
<id>5fcb7fb959a641ada081199eab66e78c</id>
|
297
297
|
<type>charge</type>
|
298
298
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
299
|
-
<start_date type="datetime">2010-10-
|
299
|
+
<start_date type="datetime">2010-10-19T03:19:26Z</start_date>
|
300
300
|
<end_date nil="true" type="datetime"></end_date>
|
301
301
|
<description>charge description</description>
|
302
|
-
<created_at type="datetime">2010-10-
|
302
|
+
<created_at type="datetime">2010-10-19T03:19:26Z</created_at>
|
303
303
|
</line_item>
|
304
304
|
<line_item>
|
305
|
-
<id>
|
305
|
+
<id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
|
306
306
|
<type>charge</type>
|
307
307
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
308
|
-
<start_date type="datetime">2010-10-
|
308
|
+
<start_date type="datetime">2010-10-19T03:19:27Z</start_date>
|
309
309
|
<end_date nil="true" type="datetime"></end_date>
|
310
310
|
<description>charge description</description>
|
311
|
-
<created_at type="datetime">2010-10-
|
311
|
+
<created_at type="datetime">2010-10-19T03:19:27Z</created_at>
|
312
312
|
</line_item>
|
313
313
|
</line_items>
|
314
314
|
<payments type="array">
|
@@ -346,27 +346,27 @@
|
|
346
346
|
content-type:
|
347
347
|
- application/xml; charset=utf-8
|
348
348
|
x-runtime:
|
349
|
-
- "
|
349
|
+
- "45"
|
350
350
|
date:
|
351
|
-
-
|
351
|
+
- Tue, 19 Oct 2010 03:19:28 GMT
|
352
352
|
server:
|
353
353
|
- nginx/0.7.65
|
354
354
|
content-length:
|
355
355
|
- "463"
|
356
356
|
set-cookie:
|
357
|
-
- _recurly_session=
|
357
|
+
- _recurly_session=e360998a550d92a9a3d2f642c41538a9; domain=.recurly.com; path=/; Secure; HttpOnly
|
358
358
|
cache-control:
|
359
359
|
- no-cache
|
360
360
|
body: |
|
361
361
|
<?xml version="1.0" encoding="UTF-8"?>
|
362
362
|
<charge type="charge">
|
363
|
-
<id>
|
363
|
+
<id>425cda8b3f5b4cc4aba598230df12b2b</id>
|
364
364
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
365
365
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
366
|
-
<start_date type="datetime">2010-10-
|
366
|
+
<start_date type="datetime">2010-10-19T03:19:28Z</start_date>
|
367
367
|
<end_date nil="true" type="datetime"></end_date>
|
368
368
|
<description>charge description</description>
|
369
|
-
<created_at type="datetime">2010-10-
|
369
|
+
<created_at type="datetime">2010-10-19T03:19:28Z</created_at>
|
370
370
|
</charge>
|
371
371
|
|
372
372
|
http_version: "1.1"
|
@@ -390,55 +390,55 @@
|
|
390
390
|
x-ua-compatible:
|
391
391
|
- IE=Edge
|
392
392
|
etag:
|
393
|
-
- "\"
|
393
|
+
- "\"7c9cc277b219a1b1a1437f2cc1576bd8\""
|
394
394
|
connection:
|
395
395
|
- close
|
396
396
|
content-type:
|
397
397
|
- application/xml; charset=utf-8
|
398
398
|
x-runtime:
|
399
|
-
- "
|
399
|
+
- "23"
|
400
400
|
date:
|
401
|
-
-
|
401
|
+
- Tue, 19 Oct 2010 03:19:29 GMT
|
402
402
|
server:
|
403
403
|
- nginx/0.7.65
|
404
404
|
content-length:
|
405
405
|
- "1570"
|
406
406
|
set-cookie:
|
407
|
-
- _recurly_session=
|
407
|
+
- _recurly_session=a2e0ecbd864740f0f1dd8b6fcd74538b; domain=.recurly.com; path=/; Secure; HttpOnly
|
408
408
|
cache-control:
|
409
409
|
- private, max-age=0, must-revalidate
|
410
410
|
body: |
|
411
411
|
<?xml version="1.0" encoding="UTF-8"?>
|
412
412
|
<charges type="array">
|
413
413
|
<charge type="charge">
|
414
|
-
<id>
|
414
|
+
<id>4a9d52dddd334b7daf2b8605dd02fa7d</id>
|
415
415
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
416
416
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
417
|
-
<start_date type="datetime">2010-10-
|
417
|
+
<start_date type="datetime">2010-10-19T03:19:27Z</start_date>
|
418
418
|
<end_date nil="true" type="datetime"></end_date>
|
419
|
-
<invoice_nunber type="integer">
|
419
|
+
<invoice_nunber type="integer">1993</invoice_nunber>
|
420
420
|
<description>charge description</description>
|
421
|
-
<created_at type="datetime">2010-10-
|
421
|
+
<created_at type="datetime">2010-10-19T03:19:27Z</created_at>
|
422
422
|
</charge>
|
423
423
|
<charge type="charge">
|
424
|
-
<id>
|
424
|
+
<id>5fcb7fb959a641ada081199eab66e78c</id>
|
425
425
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
426
426
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
427
|
-
<start_date type="datetime">2010-10-
|
427
|
+
<start_date type="datetime">2010-10-19T03:19:26Z</start_date>
|
428
428
|
<end_date nil="true" type="datetime"></end_date>
|
429
|
-
<invoice_nunber type="integer">
|
429
|
+
<invoice_nunber type="integer">1993</invoice_nunber>
|
430
430
|
<description>charge description</description>
|
431
|
-
<created_at type="datetime">2010-10-
|
431
|
+
<created_at type="datetime">2010-10-19T03:19:26Z</created_at>
|
432
432
|
</charge>
|
433
433
|
<charge type="charge">
|
434
|
-
<id>
|
434
|
+
<id>ee35bcfbe0bd437cac3b789ceebc3a14</id>
|
435
435
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
436
436
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
437
|
-
<start_date type="datetime">2010-10-
|
437
|
+
<start_date type="datetime">2010-10-19T03:19:25Z</start_date>
|
438
438
|
<end_date nil="true" type="datetime"></end_date>
|
439
|
-
<invoice_nunber type="integer">
|
439
|
+
<invoice_nunber type="integer">1993</invoice_nunber>
|
440
440
|
<description>charge description</description>
|
441
|
-
<created_at type="datetime">2010-10-
|
441
|
+
<created_at type="datetime">2010-10-19T03:19:25Z</created_at>
|
442
442
|
</charge>
|
443
443
|
</charges>
|
444
444
|
|