recurly 0.4.3 → 0.4.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/base.rb +9 -4
- data/lib/recurly/coupon.rb +1 -1
- data/lib/recurly/formats/xml_with_errors.rb +2 -2
- data/lib/recurly/rails3/recurly.rake +2 -2
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +3 -3
- data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
- data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
- data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
- data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
- data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
- data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
- data/spec/vcr/billing/create/1298594128.yml +12 -12
- data/spec/vcr/billing/destroy/1298594128.yml +15 -15
- data/spec/vcr/billing/find/1298594128.yml +16 -16
- data/spec/vcr/billing/update/1298594128.yml +16 -16
- data/spec/vcr/charge/create/1297746103.yml +20 -20
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
- data/spec/vcr/charge/list-all/1297746103.yml +31 -31
- data/spec/vcr/charge/list-invoiced/1297746103.yml +54 -54
- data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
- data/spec/vcr/charge/lookup/1297746103.yml +16 -16
- data/spec/vcr/coupon/create/1299714521.yml +11 -11
- data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
- data/spec/vcr/credit/create/1299714599.yml +16 -16
- data/spec/vcr/credit/delete/1299714599.yml +21 -21
- data/spec/vcr/credit/list/1299714599.yml +31 -31
- data/spec/vcr/credit/lookup/1299714599.yml +16 -16
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/create/1297746103.yml +30 -30
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
- data/spec/vcr/plan/all.yml +6 -6
- data/spec/vcr/plan/find.yml +6 -6
- data/spec/vcr/plan/update.yml +6 -6
- data/spec/vcr/subscription/addons/add/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
- data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/change1/1301881900.yml +31 -31
- data/spec/vcr/subscription/change2/1301881900.yml +31 -31
- data/spec/vcr/subscription/create/1301881900.yml +13 -13
- data/spec/vcr/subscription/find/1301881900.yml +19 -19
- data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
- data/spec/vcr/subscription/refund-full/1301881900.yml +27 -27
- data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
- data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
- data/spec/vcr/transaction/all/1301883347.yml +43 -43
- data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
- data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
- data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
- data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
- data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
- data/spec/vcr/transaction/refund/1301883347.yml +19 -19
- data/spec/vcr/transaction/void/1301883347.yml +26 -26
- data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
- metadata +27 -33
- data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
- data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
- data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
data/spec/vcr/plan/all.yml
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
x-runtime:
|
24
|
-
- "
|
24
|
+
- "260"
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
etag:
|
@@ -31,7 +31,7 @@
|
|
31
31
|
content-length:
|
32
32
|
- "1558"
|
33
33
|
set-cookie:
|
34
|
-
- _recurly_session=
|
34
|
+
- _recurly_session=82b9cad069439aa0112b215877d9dfbb; domain=.recurly.local; path=/; HttpOnly
|
35
35
|
connection:
|
36
36
|
- close
|
37
37
|
server:
|
@@ -98,7 +98,7 @@
|
|
98
98
|
message: OK
|
99
99
|
headers:
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "78"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
etag:
|
@@ -108,7 +108,7 @@
|
|
108
108
|
content-length:
|
109
109
|
- "1146"
|
110
110
|
set-cookie:
|
111
|
-
- _recurly_session=
|
111
|
+
- _recurly_session=23d9c8263d3e0d1baed3881da6ca7972; domain=.recurly.local; path=/; HttpOnly
|
112
112
|
connection:
|
113
113
|
- close
|
114
114
|
server:
|
@@ -163,7 +163,7 @@
|
|
163
163
|
message: OK
|
164
164
|
headers:
|
165
165
|
x-runtime:
|
166
|
-
- "
|
166
|
+
- "253"
|
167
167
|
content-type:
|
168
168
|
- application/xml; charset=utf-8
|
169
169
|
etag:
|
@@ -173,7 +173,7 @@
|
|
173
173
|
content-length:
|
174
174
|
- "4454"
|
175
175
|
set-cookie:
|
176
|
-
- _recurly_session=
|
176
|
+
- _recurly_session=073c0ded347000c8f4f617fe20b4c073; domain=.recurly.local; path=/; HttpOnly
|
177
177
|
connection:
|
178
178
|
- close
|
179
179
|
server:
|
data/spec/vcr/plan/find.yml
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
x-runtime:
|
24
|
-
- "
|
24
|
+
- "260"
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
etag:
|
@@ -31,7 +31,7 @@
|
|
31
31
|
content-length:
|
32
32
|
- "1558"
|
33
33
|
set-cookie:
|
34
|
-
- _recurly_session=
|
34
|
+
- _recurly_session=044a21a47bfb327aefb5ba0ab4eedf75; domain=.recurly.local; path=/; HttpOnly
|
35
35
|
connection:
|
36
36
|
- close
|
37
37
|
server:
|
@@ -98,7 +98,7 @@
|
|
98
98
|
message: OK
|
99
99
|
headers:
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "255"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
etag:
|
@@ -108,7 +108,7 @@
|
|
108
108
|
content-length:
|
109
109
|
- "1146"
|
110
110
|
set-cookie:
|
111
|
-
- _recurly_session=
|
111
|
+
- _recurly_session=18e2f9095834df754faa7bab5fb511e3; domain=.recurly.local; path=/; HttpOnly
|
112
112
|
connection:
|
113
113
|
- close
|
114
114
|
server:
|
@@ -163,7 +163,7 @@
|
|
163
163
|
message: OK
|
164
164
|
headers:
|
165
165
|
x-runtime:
|
166
|
-
- "
|
166
|
+
- "84"
|
167
167
|
content-type:
|
168
168
|
- application/xml; charset=utf-8
|
169
169
|
etag:
|
@@ -173,7 +173,7 @@
|
|
173
173
|
content-length:
|
174
174
|
- "1558"
|
175
175
|
set-cookie:
|
176
|
-
- _recurly_session=
|
176
|
+
- _recurly_session=d95ff50b3f7b97325b9b7897a0114236; domain=.recurly.local; path=/; HttpOnly
|
177
177
|
connection:
|
178
178
|
- close
|
179
179
|
server:
|
data/spec/vcr/plan/update.yml
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
x-runtime:
|
24
|
-
- "
|
24
|
+
- "271"
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
etag:
|
@@ -31,7 +31,7 @@
|
|
31
31
|
content-length:
|
32
32
|
- "1149"
|
33
33
|
set-cookie:
|
34
|
-
- _recurly_session=
|
34
|
+
- _recurly_session=0fdc2384495a7c148f72ebce3857db05; domain=.recurly.local; path=/; HttpOnly
|
35
35
|
connection:
|
36
36
|
- close
|
37
37
|
server:
|
@@ -115,13 +115,13 @@
|
|
115
115
|
cache-control:
|
116
116
|
- no-cache
|
117
117
|
x-runtime:
|
118
|
-
- "
|
118
|
+
- "475"
|
119
119
|
content-type:
|
120
120
|
- application/xml; charset=utf-8
|
121
121
|
content-length:
|
122
122
|
- "1"
|
123
123
|
set-cookie:
|
124
|
-
- _recurly_session=
|
124
|
+
- _recurly_session=ace809c865c75f8fc0d8814f4fb0f41a; domain=.recurly.local; path=/; HttpOnly
|
125
125
|
connection:
|
126
126
|
- close
|
127
127
|
server:
|
@@ -150,7 +150,7 @@
|
|
150
150
|
message: OK
|
151
151
|
headers:
|
152
152
|
x-runtime:
|
153
|
-
- "
|
153
|
+
- "78"
|
154
154
|
content-type:
|
155
155
|
- application/xml; charset=utf-8
|
156
156
|
etag:
|
@@ -160,7 +160,7 @@
|
|
160
160
|
content-length:
|
161
161
|
- "1149"
|
162
162
|
set-cookie:
|
163
|
-
- _recurly_session=
|
163
|
+
- _recurly_session=1f1c04b1e8c12a5e8fe4cfdf47424046; domain=.recurly.local; path=/; HttpOnly
|
164
164
|
connection:
|
165
165
|
- close
|
166
166
|
server:
|
@@ -6,7 +6,7 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>subscription-addons-add-
|
9
|
+
<account-code>subscription-addons-add-1301885121</account-code>
|
10
10
|
<first-name>Verena</first-name>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
@@ -37,15 +37,15 @@
|
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
|
-
- http://app.recurly.local:3000/accounts/subscription-addons-add-
|
40
|
+
- http://app.recurly.local:3000/accounts/subscription-addons-add-1301885121
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "267"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "601"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=92514f055e84f6107ec9e76d64d84d88; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -53,8 +53,8 @@
|
|
53
53
|
body: |
|
54
54
|
<?xml version="1.0" encoding="UTF-8"?>
|
55
55
|
<account>
|
56
|
-
<id>subscription-addons-add-
|
57
|
-
<account_code>subscription-addons-add-
|
56
|
+
<id>subscription-addons-add-1301885121</id>
|
57
|
+
<account_code>subscription-addons-add-1301885121</account_code>
|
58
58
|
<username></username>
|
59
59
|
<email>verena@test.com</email>
|
60
60
|
<first_name>Verena</first_name>
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>76a2a1df80734cd39e625d4c2f66fdf9</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:13:45Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -90,7 +90,7 @@
|
|
90
90
|
message: OK
|
91
91
|
headers:
|
92
92
|
x-runtime:
|
93
|
-
- "
|
93
|
+
- "83"
|
94
94
|
content-type:
|
95
95
|
- application/xml; charset=utf-8
|
96
96
|
etag:
|
@@ -100,7 +100,7 @@
|
|
100
100
|
content-length:
|
101
101
|
- "1558"
|
102
102
|
set-cookie:
|
103
|
-
- _recurly_session=
|
103
|
+
- _recurly_session=1c5024cf5cedd7fe24aca7844cdb32a4; domain=.recurly.local; path=/; HttpOnly
|
104
104
|
connection:
|
105
105
|
- close
|
106
106
|
server:
|
@@ -148,14 +148,14 @@
|
|
148
148
|
- !ruby/struct:VCR::HTTPInteraction
|
149
149
|
request: !ruby/struct:VCR::Request
|
150
150
|
method: :post
|
151
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-
|
151
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-1301885121/subscription.xml
|
152
152
|
body: |
|
153
153
|
<?xml version="1.0" encoding="UTF-8"?>
|
154
154
|
<subscription>
|
155
155
|
<plan-code>paid</plan-code>
|
156
156
|
<quantity type="integer">1</quantity>
|
157
157
|
<account>
|
158
|
-
<account-code>subscription-addons-add-
|
158
|
+
<account-code>subscription-addons-add-1301885121</account-code>
|
159
159
|
<first-name>Verena</first-name>
|
160
160
|
<last-name>Test</last-name>
|
161
161
|
<email>verena@test.com</email>
|
@@ -176,12 +176,12 @@
|
|
176
176
|
</credit-card>
|
177
177
|
</billing-info>
|
178
178
|
<accept-language type="yaml" nil="true"></accept-language>
|
179
|
-
<id>subscription-addons-add-
|
179
|
+
<id>subscription-addons-add-1301885121</id>
|
180
180
|
<username type="yaml" nil="true"></username>
|
181
181
|
<balance-in-cents type="integer">0</balance-in-cents>
|
182
182
|
<closed type="boolean">false</closed>
|
183
|
-
<hosted-login-token>
|
184
|
-
<created-at type="datetime">2011-04-
|
183
|
+
<hosted-login-token>76a2a1df80734cd39e625d4c2f66fdf9</hosted-login-token>
|
184
|
+
<created-at type="datetime">2011-04-05T05:13:45Z</created-at>
|
185
185
|
<state>active</state>
|
186
186
|
</account>
|
187
187
|
<add-ons type="array">
|
@@ -213,13 +213,13 @@
|
|
213
213
|
cache-control:
|
214
214
|
- no-cache
|
215
215
|
x-runtime:
|
216
|
-
- "
|
216
|
+
- "4173"
|
217
217
|
content-type:
|
218
218
|
- application/xml; charset=utf-8
|
219
219
|
content-length:
|
220
220
|
- "1099"
|
221
221
|
set-cookie:
|
222
|
-
- _recurly_session=
|
222
|
+
- _recurly_session=87d51a43198aa3a12263c533c2930be8; domain=.recurly.local; path=/; HttpOnly
|
223
223
|
connection:
|
224
224
|
- close
|
225
225
|
server:
|
@@ -227,8 +227,8 @@
|
|
227
227
|
body: |
|
228
228
|
<?xml version="1.0" encoding="UTF-8"?>
|
229
229
|
<subscription>
|
230
|
-
<id>subscription-addons-add-
|
231
|
-
<account_code>subscription-addons-add-
|
230
|
+
<id>subscription-addons-add-1301885121</id>
|
231
|
+
<account_code>subscription-addons-add-1301885121</account_code>
|
232
232
|
<plan>
|
233
233
|
<plan_code>paid</plan_code>
|
234
234
|
<name>Paid</name>
|
@@ -236,11 +236,11 @@
|
|
236
236
|
<state>active</state>
|
237
237
|
<quantity type="integer">1</quantity>
|
238
238
|
<total_amount_in_cents type="integer">1200</total_amount_in_cents>
|
239
|
-
<activated_at type="datetime">2011-04-
|
239
|
+
<activated_at type="datetime">2011-04-05T05:13:49Z</activated_at>
|
240
240
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
241
241
|
<expires_at nil="true" type="datetime"></expires_at>
|
242
|
-
<current_period_started_at type="datetime">2011-04-
|
243
|
-
<current_period_ends_at type="datetime">2011-05-
|
242
|
+
<current_period_started_at type="datetime">2011-04-05T05:13:49Z</current_period_started_at>
|
243
|
+
<current_period_ends_at type="datetime">2011-05-05T05:13:49Z</current_period_ends_at>
|
244
244
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
245
245
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
246
246
|
<add_ons type="array">
|
@@ -256,7 +256,7 @@
|
|
256
256
|
- !ruby/struct:VCR::HTTPInteraction
|
257
257
|
request: !ruby/struct:VCR::Request
|
258
258
|
method: :get
|
259
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-
|
259
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-1301885121/subscription.xml
|
260
260
|
body:
|
261
261
|
headers:
|
262
262
|
authorization:
|
@@ -275,17 +275,17 @@
|
|
275
275
|
message: OK
|
276
276
|
headers:
|
277
277
|
x-runtime:
|
278
|
-
- "
|
278
|
+
- "278"
|
279
279
|
content-type:
|
280
280
|
- application/xml; charset=utf-8
|
281
281
|
etag:
|
282
|
-
- "\"
|
282
|
+
- "\"9e8ba2668f2f64ca389a26dad2ff48a0\""
|
283
283
|
cache-control:
|
284
284
|
- private, max-age=0, must-revalidate
|
285
285
|
content-length:
|
286
286
|
- "1099"
|
287
287
|
set-cookie:
|
288
|
-
- _recurly_session=
|
288
|
+
- _recurly_session=d796af6e8f32b17221d665faea03f660; domain=.recurly.local; path=/; HttpOnly
|
289
289
|
connection:
|
290
290
|
- close
|
291
291
|
server:
|
@@ -293,8 +293,8 @@
|
|
293
293
|
body: |
|
294
294
|
<?xml version="1.0" encoding="UTF-8"?>
|
295
295
|
<subscription>
|
296
|
-
<id>subscription-addons-add-
|
297
|
-
<account_code>subscription-addons-add-
|
296
|
+
<id>subscription-addons-add-1301885121</id>
|
297
|
+
<account_code>subscription-addons-add-1301885121</account_code>
|
298
298
|
<plan>
|
299
299
|
<plan_code>paid</plan_code>
|
300
300
|
<name>Paid</name>
|
@@ -302,11 +302,11 @@
|
|
302
302
|
<state>active</state>
|
303
303
|
<quantity type="integer">1</quantity>
|
304
304
|
<total_amount_in_cents type="integer">1200</total_amount_in_cents>
|
305
|
-
<activated_at type="datetime">2011-04-
|
305
|
+
<activated_at type="datetime">2011-04-05T05:13:49Z</activated_at>
|
306
306
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
307
307
|
<expires_at nil="true" type="datetime"></expires_at>
|
308
|
-
<current_period_started_at type="datetime">2011-04-
|
309
|
-
<current_period_ends_at type="datetime">2011-05-
|
308
|
+
<current_period_started_at type="datetime">2011-04-05T05:13:49Z</current_period_started_at>
|
309
|
+
<current_period_ends_at type="datetime">2011-05-05T05:13:49Z</current_period_ends_at>
|
310
310
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
311
311
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
312
312
|
<add_ons type="array">
|
@@ -322,7 +322,7 @@
|
|
322
322
|
- !ruby/struct:VCR::HTTPInteraction
|
323
323
|
request: !ruby/struct:VCR::Request
|
324
324
|
method: :put
|
325
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-
|
325
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-1301885121/subscription.xml
|
326
326
|
body: |
|
327
327
|
<?xml version="1.0" encoding="UTF-8"?>
|
328
328
|
<subscription>
|
@@ -358,17 +358,17 @@
|
|
358
358
|
message: OK
|
359
359
|
headers:
|
360
360
|
x-runtime:
|
361
|
-
- "
|
361
|
+
- "2388"
|
362
362
|
content-type:
|
363
363
|
- application/xml; charset=utf-8
|
364
364
|
etag:
|
365
|
-
- "\"
|
365
|
+
- "\"eb336ec6fabef9ffb8b77d40ee381754\""
|
366
366
|
cache-control:
|
367
367
|
- private, max-age=0, must-revalidate
|
368
368
|
content-length:
|
369
369
|
- "1286"
|
370
370
|
set-cookie:
|
371
|
-
- _recurly_session=
|
371
|
+
- _recurly_session=ac82397341fff07e26581362e7c9f436; domain=.recurly.local; path=/; HttpOnly
|
372
372
|
connection:
|
373
373
|
- close
|
374
374
|
server:
|
@@ -376,8 +376,8 @@
|
|
376
376
|
body: |
|
377
377
|
<?xml version="1.0" encoding="UTF-8"?>
|
378
378
|
<subscription>
|
379
|
-
<id>subscription-addons-add-
|
380
|
-
<account_code>subscription-addons-add-
|
379
|
+
<id>subscription-addons-add-1301885121</id>
|
380
|
+
<account_code>subscription-addons-add-1301885121</account_code>
|
381
381
|
<plan>
|
382
382
|
<plan_code>paid</plan_code>
|
383
383
|
<name>Paid</name>
|
@@ -385,11 +385,11 @@
|
|
385
385
|
<state>active</state>
|
386
386
|
<quantity type="integer">1</quantity>
|
387
387
|
<total_amount_in_cents type="integer">101200</total_amount_in_cents>
|
388
|
-
<activated_at type="datetime">2011-04-
|
388
|
+
<activated_at type="datetime">2011-04-05T05:13:56Z</activated_at>
|
389
389
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
390
390
|
<expires_at nil="true" type="datetime"></expires_at>
|
391
|
-
<current_period_started_at type="datetime">2011-04-
|
392
|
-
<current_period_ends_at type="datetime">2011-05-
|
391
|
+
<current_period_started_at type="datetime">2011-04-05T05:13:49Z</current_period_started_at>
|
392
|
+
<current_period_ends_at type="datetime">2011-05-05T05:13:49Z</current_period_ends_at>
|
393
393
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
394
394
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
395
395
|
<add_ons type="array">
|
@@ -410,7 +410,7 @@
|
|
410
410
|
- !ruby/struct:VCR::HTTPInteraction
|
411
411
|
request: !ruby/struct:VCR::Request
|
412
412
|
method: :get
|
413
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-
|
413
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-add-1301885121/subscription.xml
|
414
414
|
body:
|
415
415
|
headers:
|
416
416
|
authorization:
|
@@ -429,17 +429,17 @@
|
|
429
429
|
message: OK
|
430
430
|
headers:
|
431
431
|
x-runtime:
|
432
|
-
- "
|
432
|
+
- "293"
|
433
433
|
content-type:
|
434
434
|
- application/xml; charset=utf-8
|
435
435
|
etag:
|
436
|
-
- "\"
|
436
|
+
- "\"eb336ec6fabef9ffb8b77d40ee381754\""
|
437
437
|
cache-control:
|
438
438
|
- private, max-age=0, must-revalidate
|
439
439
|
content-length:
|
440
440
|
- "1286"
|
441
441
|
set-cookie:
|
442
|
-
- _recurly_session=
|
442
|
+
- _recurly_session=8076c92760ec88fc3e9e4ed6cbebb685; domain=.recurly.local; path=/; HttpOnly
|
443
443
|
connection:
|
444
444
|
- close
|
445
445
|
server:
|
@@ -447,8 +447,8 @@
|
|
447
447
|
body: |
|
448
448
|
<?xml version="1.0" encoding="UTF-8"?>
|
449
449
|
<subscription>
|
450
|
-
<id>subscription-addons-add-
|
451
|
-
<account_code>subscription-addons-add-
|
450
|
+
<id>subscription-addons-add-1301885121</id>
|
451
|
+
<account_code>subscription-addons-add-1301885121</account_code>
|
452
452
|
<plan>
|
453
453
|
<plan_code>paid</plan_code>
|
454
454
|
<name>Paid</name>
|
@@ -456,11 +456,11 @@
|
|
456
456
|
<state>active</state>
|
457
457
|
<quantity type="integer">1</quantity>
|
458
458
|
<total_amount_in_cents type="integer">101200</total_amount_in_cents>
|
459
|
-
<activated_at type="datetime">2011-04-
|
459
|
+
<activated_at type="datetime">2011-04-05T05:13:56Z</activated_at>
|
460
460
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
461
461
|
<expires_at nil="true" type="datetime"></expires_at>
|
462
|
-
<current_period_started_at type="datetime">2011-04-
|
463
|
-
<current_period_ends_at type="datetime">2011-05-
|
462
|
+
<current_period_started_at type="datetime">2011-04-05T05:13:49Z</current_period_started_at>
|
463
|
+
<current_period_ends_at type="datetime">2011-05-05T05:13:49Z</current_period_ends_at>
|
464
464
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
465
465
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
466
466
|
<add_ons type="array">
|