recurly 0.2.4 → 0.2.5
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/charge.rb +5 -6
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +1 -0
- 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 +9 -9
- 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 +100 -100
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +16 -16
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
- data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
- data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
- data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
- data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
- data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
- data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
- data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
- 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 +51 -51
- data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
- 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-with-code/1287455769.yml +51 -51
- data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
- data/spec/vcr/subscription/change1/1287455769.yml +38 -38
- data/spec/vcr/subscription/change2/1287455769.yml +38 -38
- data/spec/vcr/subscription/create/1287455769.yml +17 -17
- data/spec/vcr/subscription/find/1287455769.yml +24 -24
- data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
- data/spec/vcr/transaction/all/1287186411.yml +45 -45
- 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 +61 -61
- metadata +23 -43
- data/spec/vcr/credit/create/1286681343.yml +0 -171
- data/spec/vcr/credit/create/1287460732.yml +0 -171
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
- data/spec/vcr/credit/list/1286681343.yml +0 -299
- data/spec/vcr/credit/list/1287461340.yml +0 -299
- data/spec/vcr/credit/lookup/1286681343.yml +0 -171
- data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -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>charge-list-all-
|
10
|
+
<account-code>charge-list-all-1287465632</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,30 +28,30 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/charge-list-all-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/charge-list-all-1287465632
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "785"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:21:32 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=5bf57f375eca39fa3c55bb3a4b76d4a0f31bbcca3c9e21781923384bd2d7329ace9a259366aad9720121426355a4b5e9fd0c2750d697c9f20348a34cb9a8a665%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=b14899fc13a0a93ade603aaf76cb9af2; 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>charge-list-all-
|
54
|
-
<account_code>charge-list-all-
|
53
|
+
<id>charge-list-all-1287465632</id>
|
54
|
+
<account_code>charge-list-all-1287465632</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>8cab662023434e1ca0d9f187e0f0afa5</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:21:32Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<charge>
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "66"
|
99
99
|
date:
|
100
|
-
- Tue, 19 Oct 2010
|
100
|
+
- Tue, 19 Oct 2010 05:21:33 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=fa3f0c226cd2c15dfc62746c0e38c386; 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>
|
113
|
-
<account_code>charge-list-all-
|
112
|
+
<id>7b090dd55b36479db910baa160bc3473</id>
|
113
|
+
<account_code>charge-list-all-1287465632</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-19T05:21:33Z</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-19T05:21:33Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :post
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
|
126
126
|
body: |
|
127
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
128
128
|
<charge>
|
@@ -149,34 +149,34 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "60"
|
153
153
|
date:
|
154
|
-
- Tue, 19 Oct 2010
|
154
|
+
- Tue, 19 Oct 2010 05:21:33 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=48f6cbad7bd3c1c20c78cf84c9ed4bd9; 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>
|
167
|
-
<account_code>charge-list-all-
|
166
|
+
<id>1c3feaa8810a4c2eb9946320c8848761</id>
|
167
|
+
<account_code>charge-list-all-1287465632</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-19T05:21:33Z</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-19T05:21:33Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
176
176
|
- !ruby/struct:VCR::HTTPInteraction
|
177
177
|
request: !ruby/struct:VCR::Request
|
178
178
|
method: :post
|
179
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-
|
179
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
|
180
180
|
body: |
|
181
181
|
<?xml version="1.0" encoding="UTF-8"?>
|
182
182
|
<charge>
|
@@ -203,34 +203,34 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "187"
|
207
207
|
date:
|
208
|
-
- Tue, 19 Oct 2010
|
208
|
+
- Tue, 19 Oct 2010 05:21:34 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=504b2ca7c66a1669a6f9fafb7bbca706; 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>
|
221
|
-
<account_code>charge-list-all-
|
220
|
+
<id>ad22bf40847e4cdfae424585f2cc3dd6</id>
|
221
|
+
<account_code>charge-list-all-1287465632</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-19T05:21:34Z</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-19T05:21:34Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
230
230
|
- !ruby/struct:VCR::HTTPInteraction
|
231
231
|
request: !ruby/struct:VCR::Request
|
232
232
|
method: :get
|
233
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-
|
233
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-all-1287465632/charges.xml
|
234
234
|
body:
|
235
235
|
headers:
|
236
236
|
accept:
|
@@ -247,55 +247,55 @@
|
|
247
247
|
x-ua-compatible:
|
248
248
|
- IE=Edge
|
249
249
|
etag:
|
250
|
-
- "\"
|
250
|
+
- "\"8438f8d5f52c73d2921f59d46b0670c8\""
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "19"
|
257
257
|
date:
|
258
|
-
- Tue, 19 Oct 2010
|
258
|
+
- Tue, 19 Oct 2010 05:21:35 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=0e322185b03d364d7bd79cd1ba6ebd90; 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>
|
272
|
-
<account_code>charge-list-all-
|
271
|
+
<id>ad22bf40847e4cdfae424585f2cc3dd6</id>
|
272
|
+
<account_code>charge-list-all-1287465632</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-19T05:21:34Z</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-19T05:21:34Z</created_at>
|
279
279
|
</charge>
|
280
280
|
<charge type="charge">
|
281
|
-
<id>
|
282
|
-
<account_code>charge-list-all-
|
281
|
+
<id>1c3feaa8810a4c2eb9946320c8848761</id>
|
282
|
+
<account_code>charge-list-all-1287465632</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-19T05:21:33Z</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-19T05:21:33Z</created_at>
|
289
289
|
</charge>
|
290
290
|
<charge type="charge">
|
291
|
-
<id>
|
292
|
-
<account_code>charge-list-all-
|
291
|
+
<id>7b090dd55b36479db910baa160bc3473</id>
|
292
|
+
<account_code>charge-list-all-1287465632</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-19T05:21:33Z</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-19T05:21:33Z</created_at>
|
299
299
|
</charge>
|
300
300
|
</charges>
|
301
301
|
|
@@ -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>charge-list-invoiced-
|
10
|
+
<account-code>charge-list-invoiced-1287465632</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,30 +28,30 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/charge-list-invoiced-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/charge-list-invoiced-1287465632
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "595"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:21:40 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=a78dc2108f10fa662870ddabb124cd963c691b5ec4c0bc48675c5280643327f1b043c0e4b8adeeaff15fd2d3e8a05c502417a82d6f1aa679183a6b2a612536bd%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=9e866bf9dbd3621f94fdde8da3c33ade; 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>charge-list-invoiced-
|
54
|
-
<account_code>charge-list-invoiced-
|
53
|
+
<id>charge-list-invoiced-1287465632</id>
|
54
|
+
<account_code>charge-list-invoiced-1287465632</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>28e88afeef0144eeb237b0920fbc7079</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:21:39Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<charge>
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "46"
|
99
99
|
date:
|
100
|
-
- Tue, 19 Oct 2010
|
100
|
+
- Tue, 19 Oct 2010 05:21:40 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=cae476be6eacd8920b4e12f1704a6b9c; 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>
|
113
|
-
<account_code>charge-list-invoiced-
|
112
|
+
<id>2f93fb97c4c94738b27f7c232256aa6a</id>
|
113
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:40Z</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-19T05:21:40Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :post
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
|
126
126
|
body: |
|
127
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
128
128
|
<charge>
|
@@ -149,34 +149,34 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "218"
|
153
153
|
date:
|
154
|
-
- Tue, 19 Oct 2010
|
154
|
+
- Tue, 19 Oct 2010 05:21:41 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=56ab087bc51496481305ea005114323e; 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>
|
167
|
-
<account_code>charge-list-invoiced-
|
166
|
+
<id>447e0700996745aaa28dc0a149a36043</id>
|
167
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:41Z</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-19T05:21:41Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
176
176
|
- !ruby/struct:VCR::HTTPInteraction
|
177
177
|
request: !ruby/struct:VCR::Request
|
178
178
|
method: :post
|
179
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-
|
179
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
|
180
180
|
body: |
|
181
181
|
<?xml version="1.0" encoding="UTF-8"?>
|
182
182
|
<charge>
|
@@ -203,34 +203,34 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "46"
|
207
207
|
date:
|
208
|
-
- Tue, 19 Oct 2010
|
208
|
+
- Tue, 19 Oct 2010 05:21:42 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=c7bd344cc825e5db935430e93240b997; 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>
|
221
|
-
<account_code>charge-list-invoiced-
|
220
|
+
<id>9842d2ebd85746a9a5ee70db39489250</id>
|
221
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:41Z</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-19T05:21:41Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
230
230
|
- !ruby/struct:VCR::HTTPInteraction
|
231
231
|
request: !ruby/struct:VCR::Request
|
232
232
|
method: :post
|
233
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-
|
233
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/invoices.xml
|
234
234
|
body: |
|
235
235
|
<?xml version="1.0" encoding="UTF-8"?>
|
236
236
|
<invoice>
|
@@ -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/bd60ecf16f7243278d4f01bb905cec51
|
255
255
|
connection:
|
256
256
|
- close
|
257
257
|
content-type:
|
258
258
|
- application/xml; charset=utf-8
|
259
259
|
x-runtime:
|
260
|
-
- "
|
260
|
+
- "81"
|
261
261
|
date:
|
262
|
-
- Tue, 19 Oct 2010
|
262
|
+
- Tue, 19 Oct 2010 05:21:42 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=296caaead839a4fb3090164f0eb79f70; 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>
|
275
|
-
<account_code>charge-list-invoiced-
|
276
|
-
<date type="datetime">2010-10-
|
277
|
-
<invoice_number type="integer">
|
274
|
+
<id>bd60ecf16f7243278d4f01bb905cec51</id>
|
275
|
+
<account_code>charge-list-invoiced-1287465632</account_code>
|
276
|
+
<date type="datetime">2010-10-19T05:21:42Z</date>
|
277
|
+
<invoice_number type="integer">2069</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>2f93fb97c4c94738b27f7c232256aa6a</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-19T05:21:40Z</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-19T05:21:40Z</created_at>
|
294
294
|
</line_item>
|
295
295
|
<line_item>
|
296
|
-
<id>
|
296
|
+
<id>447e0700996745aaa28dc0a149a36043</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-19T05:21:41Z</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-19T05:21:41Z</created_at>
|
303
303
|
</line_item>
|
304
304
|
<line_item>
|
305
|
-
<id>
|
305
|
+
<id>9842d2ebd85746a9a5ee70db39489250</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-19T05:21:41Z</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-19T05:21:41Z</created_at>
|
312
312
|
</line_item>
|
313
313
|
</line_items>
|
314
314
|
<payments type="array">
|
@@ -319,7 +319,7 @@
|
|
319
319
|
- !ruby/struct:VCR::HTTPInteraction
|
320
320
|
request: !ruby/struct:VCR::Request
|
321
321
|
method: :post
|
322
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-
|
322
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml
|
323
323
|
body: |
|
324
324
|
<?xml version="1.0" encoding="UTF-8"?>
|
325
325
|
<charge>
|
@@ -346,34 +346,34 @@
|
|
346
346
|
content-type:
|
347
347
|
- application/xml; charset=utf-8
|
348
348
|
x-runtime:
|
349
|
-
- "
|
349
|
+
- "65"
|
350
350
|
date:
|
351
|
-
- Tue, 19 Oct 2010
|
351
|
+
- Tue, 19 Oct 2010 05:21:43 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=bcce32d95de7b9e14ffc0659c6292a89; 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>
|
364
|
-
<account_code>charge-list-invoiced-
|
363
|
+
<id>8f433445ff3c432a968c8ee25d45b59d</id>
|
364
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:43Z</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-19T05:21:43Z</created_at>
|
370
370
|
</charge>
|
371
371
|
|
372
372
|
http_version: "1.1"
|
373
373
|
- !ruby/struct:VCR::HTTPInteraction
|
374
374
|
request: !ruby/struct:VCR::Request
|
375
375
|
method: :get
|
376
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-
|
376
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-invoiced-1287465632/charges.xml?show=invoiced
|
377
377
|
body:
|
378
378
|
headers:
|
379
379
|
accept:
|
@@ -390,55 +390,55 @@
|
|
390
390
|
x-ua-compatible:
|
391
391
|
- IE=Edge
|
392
392
|
etag:
|
393
|
-
- "\"
|
393
|
+
- "\"6b620e5a9d879872118b425fa8e3fc95\""
|
394
394
|
connection:
|
395
395
|
- close
|
396
396
|
content-type:
|
397
397
|
- application/xml; charset=utf-8
|
398
398
|
x-runtime:
|
399
|
-
- "
|
399
|
+
- "24"
|
400
400
|
date:
|
401
|
-
- Tue, 19 Oct 2010
|
401
|
+
- Tue, 19 Oct 2010 05:21:43 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=6ef9ca6be832cbb52214f7f452ea9113; 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>
|
415
|
-
<account_code>charge-list-invoiced-
|
414
|
+
<id>9842d2ebd85746a9a5ee70db39489250</id>
|
415
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:41Z</start_date>
|
418
418
|
<end_date nil="true" type="datetime"></end_date>
|
419
|
-
<invoice_nunber type="integer">
|
419
|
+
<invoice_nunber type="integer">2069</invoice_nunber>
|
420
420
|
<description>charge description</description>
|
421
|
-
<created_at type="datetime">2010-10-
|
421
|
+
<created_at type="datetime">2010-10-19T05:21:41Z</created_at>
|
422
422
|
</charge>
|
423
423
|
<charge type="charge">
|
424
|
-
<id>
|
425
|
-
<account_code>charge-list-invoiced-
|
424
|
+
<id>447e0700996745aaa28dc0a149a36043</id>
|
425
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:41Z</start_date>
|
428
428
|
<end_date nil="true" type="datetime"></end_date>
|
429
|
-
<invoice_nunber type="integer">
|
429
|
+
<invoice_nunber type="integer">2069</invoice_nunber>
|
430
430
|
<description>charge description</description>
|
431
|
-
<created_at type="datetime">2010-10-
|
431
|
+
<created_at type="datetime">2010-10-19T05:21:41Z</created_at>
|
432
432
|
</charge>
|
433
433
|
<charge type="charge">
|
434
|
-
<id>
|
435
|
-
<account_code>charge-list-invoiced-
|
434
|
+
<id>2f93fb97c4c94738b27f7c232256aa6a</id>
|
435
|
+
<account_code>charge-list-invoiced-1287465632</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-19T05:21:40Z</start_date>
|
438
438
|
<end_date nil="true" type="datetime"></end_date>
|
439
|
-
<invoice_nunber type="integer">
|
439
|
+
<invoice_nunber type="integer">2069</invoice_nunber>
|
440
440
|
<description>charge description</description>
|
441
|
-
<created_at type="datetime">2010-10-
|
441
|
+
<created_at type="datetime">2010-10-19T05:21:40Z</created_at>
|
442
442
|
</charge>
|
443
443
|
</charges>
|
444
444
|
|