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>transaction-list-initial-1289558212</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
|
+
- "346"
|
38
39
|
date:
|
39
|
-
-
|
40
|
+
- Sat, 08 Jan 2011 08:06:28 GMT
|
40
41
|
server:
|
41
|
-
- nginx/0.
|
42
|
+
- nginx/0.8.53
|
42
43
|
content-length:
|
43
44
|
- "603"
|
44
45
|
set-cookie:
|
45
|
-
- account_credentials=
|
46
|
+
- account_credentials=9a5bedfeebd35eaa321cb473574dc92e00fd67837eca77114fe42079765b7ad89fd1b6ca0ac9043409a8166fb3583e45ed7f74a412138d4449d0c33f8f3a746d%3A%3A; domain=.recurly.com; path=/
|
46
47
|
- ""
|
47
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=e6957121bcb014adac5cacc38b10f7d1; 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>1a042f15b7864c2bbf2bbb0f27f467f6</hosted_login_token>
|
64
|
+
<created_at type="datetime">2011-01-08T08:06:28Z</created_at>
|
64
65
|
<state>active</state>
|
65
66
|
</account>
|
66
67
|
|
@@ -72,15 +73,15 @@
|
|
72
73
|
body: |
|
73
74
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
75
|
<billing-info>
|
75
|
-
<city>San Francisco</city>
|
76
76
|
<address1>123 Test St</address1>
|
77
|
+
<city>San Francisco</city>
|
77
78
|
<zip>94115</zip>
|
78
79
|
<account-code>transaction-list-initial-1289558212</account-code>
|
79
80
|
<country>US</country>
|
80
81
|
<credit-card>
|
81
82
|
<number>1</number>
|
82
|
-
<month type="integer">
|
83
|
-
<year type="integer">
|
83
|
+
<month type="integer">1</month>
|
84
|
+
<year type="integer">2012</year>
|
84
85
|
<verification-value>123</verification-value>
|
85
86
|
</credit-card>
|
86
87
|
<last-name>Test</last-name>
|
@@ -105,21 +106,21 @@
|
|
105
106
|
x-ua-compatible:
|
106
107
|
- IE=Edge
|
107
108
|
etag:
|
108
|
-
- "\"
|
109
|
+
- "\"ca02c67ce202271a4bdaee25dbe73a6d\""
|
109
110
|
connection:
|
110
111
|
- close
|
111
112
|
content-type:
|
112
113
|
- application/xml; charset=utf-8
|
113
114
|
x-runtime:
|
114
|
-
- "
|
115
|
+
- "198"
|
115
116
|
date:
|
116
|
-
-
|
117
|
+
- Sat, 08 Jan 2011 08:06:29 GMT
|
117
118
|
server:
|
118
|
-
- nginx/0.
|
119
|
+
- nginx/0.8.53
|
119
120
|
content-length:
|
120
|
-
- "
|
121
|
+
- "648"
|
121
122
|
set-cookie:
|
122
|
-
- _recurly_session=
|
123
|
+
- _recurly_session=282f97be02c51cbde0fbcb3238f0eb55; domain=.recurly.com; path=/; secure; HttpOnly
|
123
124
|
cache-control:
|
124
125
|
- private, max-age=0, must-revalidate
|
125
126
|
body: |
|
@@ -140,10 +141,10 @@
|
|
140
141
|
<credit_card>
|
141
142
|
<type>bogus</type>
|
142
143
|
<last_four>1</last_four>
|
143
|
-
<month type="integer">
|
144
|
-
<year type="integer">
|
144
|
+
<month type="integer">1</month>
|
145
|
+
<year type="integer">2012</year>
|
145
146
|
</credit_card>
|
146
|
-
<updated_at type="datetime">
|
147
|
+
<updated_at type="datetime">2011-01-08T08:06:29Z</updated_at>
|
147
148
|
</billing_info>
|
148
149
|
|
149
150
|
http_version: "1.1"
|
@@ -167,21 +168,21 @@
|
|
167
168
|
x-ua-compatible:
|
168
169
|
- IE=Edge
|
169
170
|
etag:
|
170
|
-
- "\"
|
171
|
+
- "\"aa5f30a48689050d78073810a47a135d\""
|
171
172
|
connection:
|
172
173
|
- close
|
173
174
|
content-type:
|
174
175
|
- application/xml; charset=utf-8
|
175
176
|
x-runtime:
|
176
|
-
- "
|
177
|
+
- "29"
|
177
178
|
date:
|
178
|
-
-
|
179
|
+
- Sat, 08 Jan 2011 08:06:30 GMT
|
179
180
|
server:
|
180
|
-
- nginx/0.
|
181
|
+
- nginx/0.8.53
|
181
182
|
content-length:
|
182
183
|
- "1002"
|
183
184
|
set-cookie:
|
184
|
-
- _recurly_session=
|
185
|
+
- _recurly_session=eb648ec00906ea1eed08ddbb301b9ed7; domain=.recurly.com; path=/; secure; HttpOnly
|
185
186
|
cache-control:
|
186
187
|
- private, max-age=0, must-revalidate
|
187
188
|
body: |
|
@@ -191,10 +192,10 @@
|
|
191
192
|
<per_page type="integer">50</per_page>
|
192
193
|
<total_entries type="integer">1</total_entries>
|
193
194
|
<transaction type="Payment">
|
194
|
-
<id>
|
195
|
+
<id>dc712441aedf4f4ba4bd6de6ddacfef3</id>
|
195
196
|
<account_code>transaction-list-initial-1289558212</account_code>
|
196
197
|
<action>authorization</action>
|
197
|
-
<date type="datetime">
|
198
|
+
<date type="datetime">2011-01-08T00:06:29-08:00</date>
|
198
199
|
<amount_in_cents type="integer">100</amount_in_cents>
|
199
200
|
<status>void</status>
|
200
201
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -9,6 +9,7 @@
|
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
10
|
<account-code>transaction-lookup-1289558212</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
|
+
- "345"
|
38
39
|
date:
|
39
|
-
-
|
40
|
+
- Sat, 08 Jan 2011 08:06:39 GMT
|
40
41
|
server:
|
41
|
-
- nginx/0.
|
42
|
+
- nginx/0.8.53
|
42
43
|
content-length:
|
43
44
|
- "591"
|
44
45
|
set-cookie:
|
45
|
-
- account_credentials=
|
46
|
+
- account_credentials=d2b3309eecd06de9c7adcb69146b1b57c717c4fa9e30e404ab5d2af787bc7be9acd01074316007f3e44664a9b64cc153a3186e03ab5eacaf5b57ab7c10f3d164%3A%3A; domain=.recurly.com; path=/
|
46
47
|
- ""
|
47
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=6a3f94325428eca236fbb9900c94654d; 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>1bdc11d1294d47609a2d1af56b6b8a34</hosted_login_token>
|
64
|
+
<created_at type="datetime">2011-01-08T08:06:38Z</created_at>
|
64
65
|
<state>active</state>
|
65
66
|
</account>
|
66
67
|
|
@@ -72,15 +73,15 @@
|
|
72
73
|
body: |
|
73
74
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
75
|
<billing-info>
|
75
|
-
<city>San Francisco</city>
|
76
76
|
<address1>123 Test St</address1>
|
77
|
+
<city>San Francisco</city>
|
77
78
|
<zip>94115</zip>
|
78
79
|
<account-code>transaction-lookup-1289558212</account-code>
|
79
80
|
<country>US</country>
|
80
81
|
<credit-card>
|
81
82
|
<number>1</number>
|
82
|
-
<month type="integer">
|
83
|
-
<year type="integer">
|
83
|
+
<month type="integer">1</month>
|
84
|
+
<year type="integer">2012</year>
|
84
85
|
<verification-value>123</verification-value>
|
85
86
|
</credit-card>
|
86
87
|
<last-name>Test</last-name>
|
@@ -105,21 +106,21 @@
|
|
105
106
|
x-ua-compatible:
|
106
107
|
- IE=Edge
|
107
108
|
etag:
|
108
|
-
- "\"
|
109
|
+
- "\"17d87b0f3a2d0eb81c87b98d94aea588\""
|
109
110
|
connection:
|
110
111
|
- close
|
111
112
|
content-type:
|
112
113
|
- application/xml; charset=utf-8
|
113
114
|
x-runtime:
|
114
|
-
- "
|
115
|
+
- "212"
|
115
116
|
date:
|
116
|
-
-
|
117
|
+
- Sat, 08 Jan 2011 08:06:40 GMT
|
117
118
|
server:
|
118
|
-
- nginx/0.
|
119
|
+
- nginx/0.8.53
|
119
120
|
content-length:
|
120
|
-
- "
|
121
|
+
- "642"
|
121
122
|
set-cookie:
|
122
|
-
- _recurly_session=
|
123
|
+
- _recurly_session=4d61044202578dd0a0ce05c9b07d6f39; domain=.recurly.com; path=/; secure; HttpOnly
|
123
124
|
cache-control:
|
124
125
|
- private, max-age=0, must-revalidate
|
125
126
|
body: |
|
@@ -140,10 +141,10 @@
|
|
140
141
|
<credit_card>
|
141
142
|
<type>bogus</type>
|
142
143
|
<last_four>1</last_four>
|
143
|
-
<month type="integer">
|
144
|
-
<year type="integer">
|
144
|
+
<month type="integer">1</month>
|
145
|
+
<year type="integer">2012</year>
|
145
146
|
</credit_card>
|
146
|
-
<updated_at type="datetime">
|
147
|
+
<updated_at type="datetime">2011-01-08T08:06:39Z</updated_at>
|
147
148
|
</billing_info>
|
148
149
|
|
149
150
|
http_version: "1.1"
|
@@ -176,30 +177,30 @@
|
|
176
177
|
message: Created
|
177
178
|
headers:
|
178
179
|
location:
|
179
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
180
|
+
- https://recurlytest3-test.recurly.com/transactions/7d38aab105574cfcaa1ea33ffa7bd809
|
180
181
|
connection:
|
181
182
|
- close
|
182
183
|
content-type:
|
183
184
|
- application/xml; charset=utf-8
|
184
185
|
x-runtime:
|
185
|
-
- "
|
186
|
+
- "463"
|
186
187
|
date:
|
187
|
-
-
|
188
|
+
- Sat, 08 Jan 2011 08:06:41 GMT
|
188
189
|
server:
|
189
|
-
- nginx/0.
|
190
|
+
- nginx/0.8.53
|
190
191
|
content-length:
|
191
192
|
- "850"
|
192
193
|
set-cookie:
|
193
|
-
- _recurly_session=
|
194
|
+
- _recurly_session=d8a2828062746e1f1dbad1733595b9a6; domain=.recurly.com; path=/; secure; HttpOnly
|
194
195
|
cache-control:
|
195
196
|
- no-cache
|
196
197
|
body: |
|
197
198
|
<?xml version="1.0" encoding="UTF-8"?>
|
198
199
|
<transaction type="Payment">
|
199
|
-
<id>
|
200
|
+
<id>7d38aab105574cfcaa1ea33ffa7bd809</id>
|
200
201
|
<account_code>transaction-lookup-1289558212</account_code>
|
201
202
|
<action>purchase</action>
|
202
|
-
<date type="datetime">
|
203
|
+
<date type="datetime">2011-01-08T08:06:41Z</date>
|
203
204
|
<amount_in_cents type="integer">100</amount_in_cents>
|
204
205
|
<status>success</status>
|
205
206
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -247,30 +248,30 @@
|
|
247
248
|
message: Created
|
248
249
|
headers:
|
249
250
|
location:
|
250
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
251
|
+
- https://recurlytest3-test.recurly.com/transactions/fa2027204bc14a9da60bc347d0021831
|
251
252
|
connection:
|
252
253
|
- close
|
253
254
|
content-type:
|
254
255
|
- application/xml; charset=utf-8
|
255
256
|
x-runtime:
|
256
|
-
- "
|
257
|
+
- "435"
|
257
258
|
date:
|
258
|
-
-
|
259
|
+
- Sat, 08 Jan 2011 08:06:43 GMT
|
259
260
|
server:
|
260
|
-
- nginx/0.
|
261
|
+
- nginx/0.8.53
|
261
262
|
content-length:
|
262
263
|
- "850"
|
263
264
|
set-cookie:
|
264
|
-
- _recurly_session=
|
265
|
+
- _recurly_session=7cffdc27f47e9466a8e16aa116af56fe; domain=.recurly.com; path=/; secure; HttpOnly
|
265
266
|
cache-control:
|
266
267
|
- no-cache
|
267
268
|
body: |
|
268
269
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
270
|
<transaction type="Payment">
|
270
|
-
<id>
|
271
|
+
<id>fa2027204bc14a9da60bc347d0021831</id>
|
271
272
|
<account_code>transaction-lookup-1289558212</account_code>
|
272
273
|
<action>purchase</action>
|
273
|
-
<date type="datetime">
|
274
|
+
<date type="datetime">2011-01-08T08:06:43Z</date>
|
274
275
|
<amount_in_cents type="integer">200</amount_in_cents>
|
275
276
|
<status>success</status>
|
276
277
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -318,30 +319,30 @@
|
|
318
319
|
message: Created
|
319
320
|
headers:
|
320
321
|
location:
|
321
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
322
|
+
- https://recurlytest3-test.recurly.com/transactions/8bbb092b6d18487c810d0f019fff4180
|
322
323
|
connection:
|
323
324
|
- close
|
324
325
|
content-type:
|
325
326
|
- application/xml; charset=utf-8
|
326
327
|
x-runtime:
|
327
|
-
- "
|
328
|
+
- "469"
|
328
329
|
date:
|
329
|
-
-
|
330
|
+
- Sat, 08 Jan 2011 08:06:44 GMT
|
330
331
|
server:
|
331
|
-
- nginx/0.
|
332
|
+
- nginx/0.8.53
|
332
333
|
content-length:
|
333
334
|
- "850"
|
334
335
|
set-cookie:
|
335
|
-
- _recurly_session=
|
336
|
+
- _recurly_session=aa02b0ce53cbee287f9c0b66e98b63d2; domain=.recurly.com; path=/; secure; HttpOnly
|
336
337
|
cache-control:
|
337
338
|
- no-cache
|
338
339
|
body: |
|
339
340
|
<?xml version="1.0" encoding="UTF-8"?>
|
340
341
|
<transaction type="Payment">
|
341
|
-
<id>
|
342
|
+
<id>8bbb092b6d18487c810d0f019fff4180</id>
|
342
343
|
<account_code>transaction-lookup-1289558212</account_code>
|
343
344
|
<action>purchase</action>
|
344
|
-
<date type="datetime">
|
345
|
+
<date type="datetime">2011-01-08T08:06:44Z</date>
|
345
346
|
<amount_in_cents type="integer">300</amount_in_cents>
|
346
347
|
<status>success</status>
|
347
348
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -363,7 +364,7 @@
|
|
363
364
|
- !ruby/struct:VCR::HTTPInteraction
|
364
365
|
request: !ruby/struct:VCR::Request
|
365
366
|
method: :get
|
366
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
367
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/7d38aab105574cfcaa1ea33ffa7bd809.xml?account_code=transaction-lookup-1289558212
|
367
368
|
body:
|
368
369
|
headers:
|
369
370
|
accept:
|
@@ -380,30 +381,30 @@
|
|
380
381
|
x-ua-compatible:
|
381
382
|
- IE=Edge
|
382
383
|
etag:
|
383
|
-
- "\"
|
384
|
+
- "\"9620129e94224c56f86bfa8060a5bb1a\""
|
384
385
|
connection:
|
385
386
|
- close
|
386
387
|
content-type:
|
387
388
|
- application/xml; charset=utf-8
|
388
389
|
x-runtime:
|
389
|
-
- "
|
390
|
+
- "17"
|
390
391
|
date:
|
391
|
-
-
|
392
|
+
- Sat, 08 Jan 2011 08:06:45 GMT
|
392
393
|
server:
|
393
|
-
- nginx/0.
|
394
|
+
- nginx/0.8.53
|
394
395
|
content-length:
|
395
396
|
- "850"
|
396
397
|
set-cookie:
|
397
|
-
- _recurly_session=
|
398
|
+
- _recurly_session=5dfb678477b17254b8169958131ad182; domain=.recurly.com; path=/; secure; HttpOnly
|
398
399
|
cache-control:
|
399
400
|
- private, max-age=0, must-revalidate
|
400
401
|
body: |
|
401
402
|
<?xml version="1.0" encoding="UTF-8"?>
|
402
403
|
<transaction type="Payment">
|
403
|
-
<id>
|
404
|
+
<id>7d38aab105574cfcaa1ea33ffa7bd809</id>
|
404
405
|
<account_code>transaction-lookup-1289558212</account_code>
|
405
406
|
<action>purchase</action>
|
406
|
-
<date type="datetime">
|
407
|
+
<date type="datetime">2011-01-08T08:06:41Z</date>
|
407
408
|
<amount_in_cents type="integer">100</amount_in_cents>
|
408
409
|
<status>success</status>
|
409
410
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -425,7 +426,7 @@
|
|
425
426
|
- !ruby/struct:VCR::HTTPInteraction
|
426
427
|
request: !ruby/struct:VCR::Request
|
427
428
|
method: :get
|
428
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
429
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/fa2027204bc14a9da60bc347d0021831.xml?account_code=transaction-lookup-1289558212
|
429
430
|
body:
|
430
431
|
headers:
|
431
432
|
accept:
|
@@ -442,7 +443,7 @@
|
|
442
443
|
x-ua-compatible:
|
443
444
|
- IE=Edge
|
444
445
|
etag:
|
445
|
-
- "\"
|
446
|
+
- "\"9dea79edd5c54c017ec53d14c1c46e3c\""
|
446
447
|
connection:
|
447
448
|
- close
|
448
449
|
content-type:
|
@@ -450,22 +451,22 @@
|
|
450
451
|
x-runtime:
|
451
452
|
- "16"
|
452
453
|
date:
|
453
|
-
-
|
454
|
+
- Sat, 08 Jan 2011 08:06:46 GMT
|
454
455
|
server:
|
455
|
-
- nginx/0.
|
456
|
+
- nginx/0.8.53
|
456
457
|
content-length:
|
457
458
|
- "850"
|
458
459
|
set-cookie:
|
459
|
-
- _recurly_session=
|
460
|
+
- _recurly_session=1514dfec59654f6acee6552f83e6c8b3; domain=.recurly.com; path=/; secure; HttpOnly
|
460
461
|
cache-control:
|
461
462
|
- private, max-age=0, must-revalidate
|
462
463
|
body: |
|
463
464
|
<?xml version="1.0" encoding="UTF-8"?>
|
464
465
|
<transaction type="Payment">
|
465
|
-
<id>
|
466
|
+
<id>fa2027204bc14a9da60bc347d0021831</id>
|
466
467
|
<account_code>transaction-lookup-1289558212</account_code>
|
467
468
|
<action>purchase</action>
|
468
|
-
<date type="datetime">
|
469
|
+
<date type="datetime">2011-01-08T08:06:43Z</date>
|
469
470
|
<amount_in_cents type="integer">200</amount_in_cents>
|
470
471
|
<status>success</status>
|
471
472
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -487,7 +488,7 @@
|
|
487
488
|
- !ruby/struct:VCR::HTTPInteraction
|
488
489
|
request: !ruby/struct:VCR::Request
|
489
490
|
method: :get
|
490
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
491
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/8bbb092b6d18487c810d0f019fff4180.xml?account_code=transaction-lookup-1289558212
|
491
492
|
body:
|
492
493
|
headers:
|
493
494
|
accept:
|
@@ -504,30 +505,30 @@
|
|
504
505
|
x-ua-compatible:
|
505
506
|
- IE=Edge
|
506
507
|
etag:
|
507
|
-
- "\"
|
508
|
+
- "\"666b30aec553fed4603ca2884f1487c8\""
|
508
509
|
connection:
|
509
510
|
- close
|
510
511
|
content-type:
|
511
512
|
- application/xml; charset=utf-8
|
512
513
|
x-runtime:
|
513
|
-
- "
|
514
|
+
- "16"
|
514
515
|
date:
|
515
|
-
-
|
516
|
+
- Sat, 08 Jan 2011 08:06:47 GMT
|
516
517
|
server:
|
517
|
-
- nginx/0.
|
518
|
+
- nginx/0.8.53
|
518
519
|
content-length:
|
519
520
|
- "850"
|
520
521
|
set-cookie:
|
521
|
-
- _recurly_session=
|
522
|
+
- _recurly_session=7d34d578e6327dc31e11e3e61f0dcbe7; domain=.recurly.com; path=/; secure; HttpOnly
|
522
523
|
cache-control:
|
523
524
|
- private, max-age=0, must-revalidate
|
524
525
|
body: |
|
525
526
|
<?xml version="1.0" encoding="UTF-8"?>
|
526
527
|
<transaction type="Payment">
|
527
|
-
<id>
|
528
|
+
<id>8bbb092b6d18487c810d0f019fff4180</id>
|
528
529
|
<account_code>transaction-lookup-1289558212</account_code>
|
529
530
|
<action>purchase</action>
|
530
|
-
<date type="datetime">
|
531
|
+
<date type="datetime">2011-01-08T08:06:44Z</date>
|
531
532
|
<amount_in_cents type="integer">300</amount_in_cents>
|
532
533
|
<status>success</status>
|
533
534
|
<message>Test Gateway: Successful test transaction</message>
|