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
@@ -45,32 +45,32 @@
|
|
45
45
|
message: Created
|
46
46
|
headers:
|
47
47
|
location:
|
48
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
48
|
+
- https://recurlytest3-test.recurly.com/transactions/4f0338d7e3ca46c1bf6a194e5c008033
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
content-type:
|
52
52
|
- application/xml; charset=utf-8
|
53
53
|
x-runtime:
|
54
|
-
- "
|
54
|
+
- "1100"
|
55
55
|
date:
|
56
|
-
-
|
56
|
+
- Tue, 19 Oct 2010 03:21:01 GMT
|
57
57
|
server:
|
58
58
|
- nginx/0.7.65
|
59
59
|
content-length:
|
60
60
|
- "862"
|
61
61
|
set-cookie:
|
62
|
-
- account_credentials=
|
62
|
+
- account_credentials=6a20a6c4ffe2cd3c43319c4ad9e2fa44b685e1e59167e5bcc97e1e78a7fbde64acf0babd4dc70d13c55df3a3674b19f537fdef0078afef867fe2635bdc9d13d6%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
63
63
|
- ""
|
64
|
-
- _recurly_session=
|
64
|
+
- _recurly_session=407881b22bfe51e09c8edbde4b72f86f; domain=.recurly.com; path=/; Secure; HttpOnly
|
65
65
|
cache-control:
|
66
66
|
- no-cache
|
67
67
|
body: |
|
68
68
|
<?xml version="1.0" encoding="UTF-8"?>
|
69
69
|
<transaction type="Payment">
|
70
|
-
<id>
|
70
|
+
<id>4f0338d7e3ca46c1bf6a194e5c008033</id>
|
71
71
|
<account_code>transaction-create-with-accout-1287186411</account_code>
|
72
72
|
<action>purchase</action>
|
73
|
-
<date type="datetime">2010-10-
|
73
|
+
<date type="datetime">2010-10-19T03:21:00Z</date>
|
74
74
|
<amount_in_cents type="integer">700</amount_in_cents>
|
75
75
|
<status>success</status>
|
76
76
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "593"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:21:02 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "617"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=02352556a2832a94186c253826d1b86b0c96c4e4fb8aa5f2935b59d0891905b494c625fc7b69b3c4dee842d8e2f770c72b6e8d27ca6192461b46c6febd72efef%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=5f249200ec67fd13d3614b1fb1d585bc; 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>1fd3b5c1d4214c0bb43c99c000ab72d4</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:21:02Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"5f4d9f6d5f3c8c8aff0f54b33b47f7e2\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "57"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Tue, 19 Oct 2010 03:21:03 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "656"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=0704d86b15a6a41690723b2f9c41240b; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T03:21:03Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -176,30 +176,30 @@
|
|
176
176
|
message: Created
|
177
177
|
headers:
|
178
178
|
location:
|
179
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
179
|
+
- https://recurlytest3-test.recurly.com/transactions/f56f5c5975d74d9aba5fb5ded7cb6031
|
180
180
|
connection:
|
181
181
|
- close
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
x-runtime:
|
185
|
-
- "
|
185
|
+
- "492"
|
186
186
|
date:
|
187
|
-
-
|
187
|
+
- Tue, 19 Oct 2010 03:21:04 GMT
|
188
188
|
server:
|
189
189
|
- nginx/0.7.65
|
190
190
|
content-length:
|
191
191
|
- "863"
|
192
192
|
set-cookie:
|
193
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=afdfb8a731872be7e52ab4fc63eeae91; domain=.recurly.com; path=/; Secure; HttpOnly
|
194
194
|
cache-control:
|
195
195
|
- no-cache
|
196
196
|
body: |
|
197
197
|
<?xml version="1.0" encoding="UTF-8"?>
|
198
198
|
<transaction type="Payment">
|
199
|
-
<id>
|
199
|
+
<id>f56f5c5975d74d9aba5fb5ded7cb6031</id>
|
200
200
|
<account_code>transaction-create-with-account-1287186411</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2010-10-
|
202
|
+
<date type="datetime">2010-10-19T03:21:04Z</date>
|
203
203
|
<amount_in_cents type="integer">700</amount_in_cents>
|
204
204
|
<status>success</status>
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "609"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:21:06 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "599"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=9bb6c96b8198aef6e0e8eb030a5b969d2a3e49530ad13afdaf4047a93a5fbe8c8c90237b0289fca66029a429ebfcedb075a6a6f8f6b417295574ee92924ad8b6%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=853c07d20950d9ef79685e1b95e77dc6; 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>eefe66b197a84b4592bc4bdfbff29c88</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:21:06Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"0ad5d24f4bbb285fa50ce0cf6ee0ebfa\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "57"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Tue, 19 Oct 2010 03:21:07 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "647"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=90c7f67ca23383d77ba4b4cc3ec60b7f; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T03:21:07Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -167,21 +167,21 @@
|
|
167
167
|
x-ua-compatible:
|
168
168
|
- IE=Edge
|
169
169
|
etag:
|
170
|
-
- "\"
|
170
|
+
- "\"c790ee29ba8dd10f83b62fe8ae7ad5e8\""
|
171
171
|
connection:
|
172
172
|
- close
|
173
173
|
content-type:
|
174
174
|
- application/xml; charset=utf-8
|
175
175
|
x-runtime:
|
176
|
-
- "
|
176
|
+
- "48"
|
177
177
|
date:
|
178
|
-
-
|
178
|
+
- Tue, 19 Oct 2010 03:21:08 GMT
|
179
179
|
server:
|
180
180
|
- nginx/0.7.65
|
181
181
|
content-length:
|
182
182
|
- "1000"
|
183
183
|
set-cookie:
|
184
|
-
- _recurly_session=
|
184
|
+
- _recurly_session=beac043e06eb34dd62fd90c19cbfadde; domain=.recurly.com; path=/; Secure; HttpOnly
|
185
185
|
cache-control:
|
186
186
|
- private, max-age=0, must-revalidate
|
187
187
|
body: |
|
@@ -191,10 +191,10 @@
|
|
191
191
|
<per_page type="integer">50</per_page>
|
192
192
|
<total_entries type="integer">1</total_entries>
|
193
193
|
<transaction type="Payment">
|
194
|
-
<id>
|
194
|
+
<id>3c69c301e75c43d4bef5d2467e76a7f8</id>
|
195
195
|
<account_code>transaction-list-empty-1287186411</account_code>
|
196
196
|
<action>authorization</action>
|
197
|
-
<date type="datetime">2010-10-
|
197
|
+
<date type="datetime">2010-10-18T20:21:07-07:00</date>
|
198
198
|
<amount_in_cents type="integer">100</amount_in_cents>
|
199
199
|
<status>void</status>
|
200
200
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "615"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:21:09 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "601"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=dd6731fefff92df0353a145aac987f608d8427947526e6aeebe052ef3ddaab4a3cad5afa18771c81b1678bb4ae4c20bde717ee52ef6ad69d78e21698df2e9b49%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=50e17d6a4b753566f9dac9687943f264; 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>35dfe9fb9f3646e2a572dcee05cda777</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:21:09Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"f4e2cdcc14ae625b7e431c5317af7787\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "60"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Tue, 19 Oct 2010 03:21:10 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "648"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=bda88e4daf1e2430e35a12d1a5874090; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T03:21:10Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -176,30 +176,30 @@
|
|
176
176
|
message: Created
|
177
177
|
headers:
|
178
178
|
location:
|
179
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
179
|
+
- https://recurlytest3-test.recurly.com/transactions/f78accc80caa4d3bb6acc275cbca596f
|
180
180
|
connection:
|
181
181
|
- close
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
x-runtime:
|
185
|
-
- "
|
185
|
+
- "489"
|
186
186
|
date:
|
187
|
-
-
|
187
|
+
- Tue, 19 Oct 2010 03:21:11 GMT
|
188
188
|
server:
|
189
189
|
- nginx/0.7.65
|
190
190
|
content-length:
|
191
191
|
- "855"
|
192
192
|
set-cookie:
|
193
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=240bbff46dd6dcd5c995813258852433; domain=.recurly.com; path=/; Secure; HttpOnly
|
194
194
|
cache-control:
|
195
195
|
- no-cache
|
196
196
|
body: |
|
197
197
|
<?xml version="1.0" encoding="UTF-8"?>
|
198
198
|
<transaction type="Payment">
|
199
|
-
<id>
|
199
|
+
<id>f78accc80caa4d3bb6acc275cbca596f</id>
|
200
200
|
<account_code>transaction-list-filled-1287186411</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2010-10-
|
202
|
+
<date type="datetime">2010-10-19T03:21:10Z</date>
|
203
203
|
<amount_in_cents type="integer">100</amount_in_cents>
|
204
204
|
<status>success</status>
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -247,30 +247,30 @@
|
|
247
247
|
message: Created
|
248
248
|
headers:
|
249
249
|
location:
|
250
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
250
|
+
- https://recurlytest3-test.recurly.com/transactions/cb2e0184b5df417b800351b5bca37acb
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "581"
|
257
257
|
date:
|
258
|
-
-
|
258
|
+
- Tue, 19 Oct 2010 03:21:12 GMT
|
259
259
|
server:
|
260
260
|
- nginx/0.7.65
|
261
261
|
content-length:
|
262
262
|
- "855"
|
263
263
|
set-cookie:
|
264
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=8db942be917b34cde8975ea17beec832; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
265
|
cache-control:
|
266
266
|
- no-cache
|
267
267
|
body: |
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
269
|
<transaction type="Payment">
|
270
|
-
<id>
|
270
|
+
<id>cb2e0184b5df417b800351b5bca37acb</id>
|
271
271
|
<account_code>transaction-list-filled-1287186411</account_code>
|
272
272
|
<action>purchase</action>
|
273
|
-
<date type="datetime">2010-10-
|
273
|
+
<date type="datetime">2010-10-19T03:21:11Z</date>
|
274
274
|
<amount_in_cents type="integer">200</amount_in_cents>
|
275
275
|
<status>success</status>
|
276
276
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -318,30 +318,30 @@
|
|
318
318
|
message: Created
|
319
319
|
headers:
|
320
320
|
location:
|
321
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
321
|
+
- https://recurlytest3-test.recurly.com/transactions/95c2eb9dd7e3451ebd243b378d7b49a5
|
322
322
|
connection:
|
323
323
|
- close
|
324
324
|
content-type:
|
325
325
|
- application/xml; charset=utf-8
|
326
326
|
x-runtime:
|
327
|
-
- "
|
327
|
+
- "507"
|
328
328
|
date:
|
329
|
-
-
|
329
|
+
- Tue, 19 Oct 2010 03:21:13 GMT
|
330
330
|
server:
|
331
331
|
- nginx/0.7.65
|
332
332
|
content-length:
|
333
333
|
- "855"
|
334
334
|
set-cookie:
|
335
|
-
- _recurly_session=
|
335
|
+
- _recurly_session=e362b48500102fa6abfecbed2d6cd82f; domain=.recurly.com; path=/; Secure; HttpOnly
|
336
336
|
cache-control:
|
337
337
|
- no-cache
|
338
338
|
body: |
|
339
339
|
<?xml version="1.0" encoding="UTF-8"?>
|
340
340
|
<transaction type="Payment">
|
341
|
-
<id>
|
341
|
+
<id>95c2eb9dd7e3451ebd243b378d7b49a5</id>
|
342
342
|
<account_code>transaction-list-filled-1287186411</account_code>
|
343
343
|
<action>purchase</action>
|
344
|
-
<date type="datetime">2010-10-
|
344
|
+
<date type="datetime">2010-10-19T03:21:13Z</date>
|
345
345
|
<amount_in_cents type="integer">300</amount_in_cents>
|
346
346
|
<status>success</status>
|
347
347
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -380,21 +380,21 @@
|
|
380
380
|
x-ua-compatible:
|
381
381
|
- IE=Edge
|
382
382
|
etag:
|
383
|
-
- "\"
|
383
|
+
- "\"d18092b3f9630af18867154c6357c30c\""
|
384
384
|
connection:
|
385
385
|
- close
|
386
386
|
content-type:
|
387
387
|
- application/xml; charset=utf-8
|
388
388
|
x-runtime:
|
389
|
-
- "
|
389
|
+
- "58"
|
390
390
|
date:
|
391
|
-
-
|
391
|
+
- Tue, 19 Oct 2010 03:21:14 GMT
|
392
392
|
server:
|
393
393
|
- nginx/0.7.65
|
394
394
|
content-length:
|
395
395
|
- "3311"
|
396
396
|
set-cookie:
|
397
|
-
- _recurly_session=
|
397
|
+
- _recurly_session=6e09177c41f09c6a57fa71db2459fb92; domain=.recurly.com; path=/; Secure; HttpOnly
|
398
398
|
cache-control:
|
399
399
|
- private, max-age=0, must-revalidate
|
400
400
|
body: |
|
@@ -404,10 +404,10 @@
|
|
404
404
|
<per_page type="integer">50</per_page>
|
405
405
|
<total_entries type="integer">4</total_entries>
|
406
406
|
<transaction type="Payment">
|
407
|
-
<id>
|
407
|
+
<id>95c2eb9dd7e3451ebd243b378d7b49a5</id>
|
408
408
|
<account_code>transaction-list-filled-1287186411</account_code>
|
409
409
|
<action>purchase</action>
|
410
|
-
<date type="datetime">2010-10-
|
410
|
+
<date type="datetime">2010-10-18T20:21:13-07:00</date>
|
411
411
|
<amount_in_cents type="integer">300</amount_in_cents>
|
412
412
|
<status>success</status>
|
413
413
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -421,10 +421,10 @@
|
|
421
421
|
<refundable type="boolean">true</refundable>
|
422
422
|
</transaction>
|
423
423
|
<transaction type="Payment">
|
424
|
-
<id>
|
424
|
+
<id>cb2e0184b5df417b800351b5bca37acb</id>
|
425
425
|
<account_code>transaction-list-filled-1287186411</account_code>
|
426
426
|
<action>purchase</action>
|
427
|
-
<date type="datetime">2010-10-
|
427
|
+
<date type="datetime">2010-10-18T20:21:11-07:00</date>
|
428
428
|
<amount_in_cents type="integer">200</amount_in_cents>
|
429
429
|
<status>success</status>
|
430
430
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -438,10 +438,10 @@
|
|
438
438
|
<refundable type="boolean">true</refundable>
|
439
439
|
</transaction>
|
440
440
|
<transaction type="Payment">
|
441
|
-
<id>
|
441
|
+
<id>f78accc80caa4d3bb6acc275cbca596f</id>
|
442
442
|
<account_code>transaction-list-filled-1287186411</account_code>
|
443
443
|
<action>purchase</action>
|
444
|
-
<date type="datetime">2010-10-
|
444
|
+
<date type="datetime">2010-10-18T20:21:10-07:00</date>
|
445
445
|
<amount_in_cents type="integer">100</amount_in_cents>
|
446
446
|
<status>success</status>
|
447
447
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -455,10 +455,10 @@
|
|
455
455
|
<refundable type="boolean">true</refundable>
|
456
456
|
</transaction>
|
457
457
|
<transaction type="Payment">
|
458
|
-
<id>
|
458
|
+
<id>be406c45a33040359955517441f1ce4e</id>
|
459
459
|
<account_code>transaction-list-filled-1287186411</account_code>
|
460
460
|
<action>authorization</action>
|
461
|
-
<date type="datetime">2010-10-
|
461
|
+
<date type="datetime">2010-10-18T20:21:10-07:00</date>
|
462
462
|
<amount_in_cents type="integer">100</amount_in_cents>
|
463
463
|
<status>void</status>
|
464
464
|
<message>Test Gateway: Successful test transaction</message>
|