recurly 0.2.9 → 0.3.0
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 +13 -5
- data/lib/recurly/rails3/railtie.rb +1 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/vcr/account/close/1288381765.yml +15 -15
- data/spec/vcr/account/create-blank/1288381765.yml +3 -3
- data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
- data/spec/vcr/account/create-min/1288381765.yml +6 -6
- data/spec/vcr/account/create/1288381765.yml +6 -6
- data/spec/vcr/account/find/1288381765.yml +14 -14
- data/spec/vcr/account/list/1288381765.yml +251 -530
- data/spec/vcr/account/update/1288381765.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +20 -20
- data/spec/vcr/billing/destroy/1286682213.yml +29 -29
- data/spec/vcr/billing/find/1286682213.yml +25 -25
- data/spec/vcr/billing/update/1286682213.yml +27 -27
- data/spec/vcr/charge/create/1287465632.yml +31 -29
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
- data/spec/vcr/charge/list-all/1287465632.yml +43 -40
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
- data/spec/vcr/charge/lookup/1287465632.yml +24 -22
- data/spec/vcr/credit/create/1287461400.yml +24 -22
- data/spec/vcr/credit/delete/1287461400.yml +31 -29
- data/spec/vcr/credit/list/1287461400.yml +47 -41
- data/spec/vcr/credit/lookup/1287461400.yml +23 -21
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
- data/spec/vcr/invoice/create/1287167121.yml +42 -40
- data/spec/vcr/invoice/list/1287167121.yml +59 -57
- data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
- 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 +12 -12
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
- data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
- data/spec/vcr/subscription/change1/1287455769.yml +39 -39
- data/spec/vcr/subscription/change2/1287455769.yml +39 -39
- data/spec/vcr/subscription/create/1287455769.yml +18 -18
- data/spec/vcr/subscription/find/1287455769.yml +25 -25
- data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
- 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 +37 -37
- data/spec/vcr/transaction/all/1289558212.yml +363 -54
- data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
- data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
- data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
- data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
- data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
- data/spec/vcr/transaction/refund/1289558212.yml +82 -90
- data/spec/vcr/transaction/void/1289558212.yml +377 -143
- metadata +4 -72
- data/spec/vcr/account/close/1287167046.yml +0 -159
- data/spec/vcr/account/close/1288381369.yml +0 -159
- data/spec/vcr/account/close/1288381447.yml +0 -159
- data/spec/vcr/account/create-blank/1287167046.yml +0 -49
- data/spec/vcr/account/create-blank/1288381369.yml +0 -49
- data/spec/vcr/account/create-blank/1288381447.yml +0 -49
- data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
- data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
- data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
- data/spec/vcr/account/create-min/1287167046.yml +0 -63
- data/spec/vcr/account/create-min/1288381369.yml +0 -63
- data/spec/vcr/account/create-min/1288381447.yml +0 -63
- data/spec/vcr/account/create/1287167046.yml +0 -67
- data/spec/vcr/account/create/1288381369.yml +0 -67
- data/spec/vcr/account/create/1288381447.yml +0 -67
- data/spec/vcr/account/find-all/1288381369.yml +0 -52
- data/spec/vcr/account/find-all/1288381447.yml +0 -1383
- data/spec/vcr/account/find/1287167046.yml +0 -160
- data/spec/vcr/account/find/1288381369.yml +0 -160
- data/spec/vcr/account/find/1288381447.yml +0 -160
- data/spec/vcr/account/list/1287167046.yml +0 -1538
- data/spec/vcr/account/list/1288381369.yml +0 -1835
- data/spec/vcr/account/list/1288381447.yml +0 -1835
- data/spec/vcr/account/update/1287167046.yml +0 -250
- data/spec/vcr/account/update/1288381369.yml +0 -250
- data/spec/vcr/account/update/1288381447.yml +0 -250
- data/spec/vcr/transaction/all/1287186411.yml +0 -387
- data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
- data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
- data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
- data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
- data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
- data/spec/vcr/transaction/refund/1287186411.yml +0 -282
- data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -6,49 +6,47 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
+
<company-name>Recurly Ruby Gem</company-name>
|
9
10
|
<account-code>transaction-create-with-account-1289558212</account-code>
|
10
|
-
<first-name>Verena</first-name>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
|
-
<
|
13
|
+
<first-name>Verena</first-name>
|
14
14
|
</account>
|
15
15
|
|
16
16
|
headers:
|
17
|
-
authorization:
|
18
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
19
|
-
content-type:
|
20
|
-
- application/xml
|
21
17
|
accept:
|
22
18
|
- "*/*"
|
23
|
-
user-agent:
|
24
|
-
- Ruby
|
25
19
|
connection:
|
26
20
|
- close
|
21
|
+
content-type:
|
22
|
+
- application/xml
|
23
|
+
authorization:
|
24
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
27
25
|
response: !ruby/struct:VCR::Response
|
28
26
|
status: !ruby/struct:VCR::ResponseStatus
|
29
27
|
code: 201
|
30
28
|
message: Created
|
31
29
|
headers:
|
32
|
-
server:
|
33
|
-
- nginx/0.7.65
|
34
|
-
date:
|
35
|
-
- Fri, 12 Nov 2010 10:36:51 GMT
|
36
|
-
content-type:
|
37
|
-
- application/xml; charset=utf-8
|
38
|
-
connection:
|
39
|
-
- close
|
40
|
-
cache-control:
|
41
|
-
- no-cache
|
42
30
|
location:
|
43
31
|
- https://recurlytest3-test.recurly.com/accounts/transaction-create-with-account-1289558212
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
44
36
|
x-runtime:
|
45
|
-
- "
|
37
|
+
- "273"
|
38
|
+
date:
|
39
|
+
- Tue, 16 Nov 2010 07:04:46 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
46
42
|
content-length:
|
47
43
|
- "617"
|
48
44
|
set-cookie:
|
49
|
-
- account_credentials=
|
45
|
+
- account_credentials=e00bbd6bee9e9f8a77761419e3724c5b85ae83e60ff175e5960b03e8de7321562c7651c0e7bc353050e62528d0a6c1b2c37574948d94de8534490ab1e8e7d273%3A%3A; domain=.recurly.com; path=/
|
50
46
|
- ""
|
51
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=16dee3837a7f339e277cecabccf0b11e; domain=.recurly.com; path=/; secure; HttpOnly
|
48
|
+
cache-control:
|
49
|
+
- no-cache
|
52
50
|
body: |
|
53
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
54
52
|
<account>
|
@@ -61,8 +59,8 @@
|
|
61
59
|
<company_name>Recurly Ruby Gem</company_name>
|
62
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
63
61
|
<closed type="boolean">false</closed>
|
64
|
-
<hosted_login_token>
|
65
|
-
<created_at type="datetime">2010-11-
|
62
|
+
<hosted_login_token>3900344be00a4052a84a72cea7039b29</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:04:46Z</created_at>
|
66
64
|
<state>active</state>
|
67
65
|
</account>
|
68
66
|
|
@@ -74,58 +72,56 @@
|
|
74
72
|
body: |
|
75
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
76
74
|
<billing-info>
|
77
|
-
<address1>123 Test St</address1>
|
78
75
|
<city>San Francisco</city>
|
79
|
-
<
|
76
|
+
<address1>123 Test St</address1>
|
80
77
|
<zip>94115</zip>
|
78
|
+
<account-code>transaction-create-with-account-1289558212</account-code>
|
81
79
|
<country>US</country>
|
82
80
|
<credit-card>
|
83
81
|
<number>1</number>
|
84
|
-
<year type="integer">2011</year>
|
85
82
|
<month type="integer">11</month>
|
83
|
+
<year type="integer">2011</year>
|
86
84
|
<verification-value>123</verification-value>
|
87
85
|
</credit-card>
|
88
|
-
<account-code>transaction-create-with-account-1289558212</account-code>
|
89
|
-
<first-name>Verena</first-name>
|
90
86
|
<last-name>Test</last-name>
|
87
|
+
<first-name>Verena</first-name>
|
88
|
+
<state>CA</state>
|
91
89
|
</billing-info>
|
92
90
|
|
93
91
|
headers:
|
94
|
-
authorization:
|
95
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
96
|
-
content-type:
|
97
|
-
- application/xml
|
98
92
|
accept:
|
99
93
|
- "*/*"
|
100
|
-
user-agent:
|
101
|
-
- Ruby
|
102
94
|
connection:
|
103
95
|
- close
|
96
|
+
content-type:
|
97
|
+
- application/xml
|
98
|
+
authorization:
|
99
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
104
100
|
response: !ruby/struct:VCR::Response
|
105
101
|
status: !ruby/struct:VCR::ResponseStatus
|
106
102
|
code: 200
|
107
103
|
message: OK
|
108
104
|
headers:
|
109
|
-
|
110
|
-
-
|
111
|
-
|
112
|
-
-
|
113
|
-
content-type:
|
114
|
-
- application/xml; charset=utf-8
|
105
|
+
x-ua-compatible:
|
106
|
+
- IE=Edge
|
107
|
+
etag:
|
108
|
+
- "\"e56eb5df1a9aece1905a785e8bc7bfe6\""
|
115
109
|
connection:
|
116
110
|
- close
|
111
|
+
content-type:
|
112
|
+
- application/xml; charset=utf-8
|
117
113
|
x-runtime:
|
118
|
-
- "
|
119
|
-
|
120
|
-
-
|
121
|
-
|
122
|
-
-
|
114
|
+
- "120"
|
115
|
+
date:
|
116
|
+
- Tue, 16 Nov 2010 07:04:49 GMT
|
117
|
+
server:
|
118
|
+
- nginx/0.7.65
|
123
119
|
content-length:
|
124
120
|
- "656"
|
125
121
|
set-cookie:
|
126
|
-
- _recurly_session=
|
127
|
-
|
128
|
-
-
|
122
|
+
- _recurly_session=c9b1a64e4e91c8bdab0378a282272d53; domain=.recurly.com; path=/; secure; HttpOnly
|
123
|
+
cache-control:
|
124
|
+
- private, max-age=0, must-revalidate
|
129
125
|
body: |
|
130
126
|
<?xml version="1.0" encoding="UTF-8"?>
|
131
127
|
<billing_info>
|
@@ -147,7 +143,7 @@
|
|
147
143
|
<month type="integer">11</month>
|
148
144
|
<year type="integer">2011</year>
|
149
145
|
</credit_card>
|
150
|
-
<updated_at type="datetime">2010-11-
|
146
|
+
<updated_at type="datetime">2010-11-16T07:04:49Z</updated_at>
|
151
147
|
</billing_info>
|
152
148
|
|
153
149
|
http_version: "1.1"
|
@@ -166,46 +162,44 @@
|
|
166
162
|
</transaction>
|
167
163
|
|
168
164
|
headers:
|
169
|
-
authorization:
|
170
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
171
|
-
content-type:
|
172
|
-
- application/xml
|
173
165
|
accept:
|
174
166
|
- "*/*"
|
175
|
-
user-agent:
|
176
|
-
- Ruby
|
177
167
|
connection:
|
178
168
|
- close
|
169
|
+
content-type:
|
170
|
+
- application/xml
|
171
|
+
authorization:
|
172
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
179
173
|
response: !ruby/struct:VCR::Response
|
180
174
|
status: !ruby/struct:VCR::ResponseStatus
|
181
175
|
code: 201
|
182
176
|
message: Created
|
183
177
|
headers:
|
184
|
-
|
185
|
-
-
|
186
|
-
date:
|
187
|
-
- Fri, 12 Nov 2010 10:36:52 GMT
|
188
|
-
content-type:
|
189
|
-
- application/xml; charset=utf-8
|
178
|
+
location:
|
179
|
+
- https://recurlytest3-test.recurly.com/transactions/ef67914d8bee460e9b112199748ae571
|
190
180
|
connection:
|
191
181
|
- close
|
192
|
-
|
193
|
-
-
|
194
|
-
location:
|
195
|
-
- https://recurlytest3-test.recurly.com/transactions/17145bda916d46988179efa9e0258177
|
182
|
+
content-type:
|
183
|
+
- application/xml; charset=utf-8
|
196
184
|
x-runtime:
|
197
|
-
- "
|
185
|
+
- "296"
|
186
|
+
date:
|
187
|
+
- Tue, 16 Nov 2010 07:04:48 GMT
|
188
|
+
server:
|
189
|
+
- nginx/0.7.65
|
198
190
|
content-length:
|
199
191
|
- "863"
|
200
192
|
set-cookie:
|
201
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=67ebc1ae36d65a91717c8e44ac93f29d; domain=.recurly.com; path=/; secure; HttpOnly
|
194
|
+
cache-control:
|
195
|
+
- no-cache
|
202
196
|
body: |
|
203
197
|
<?xml version="1.0" encoding="UTF-8"?>
|
204
198
|
<transaction type="Payment">
|
205
|
-
<id>
|
199
|
+
<id>ef67914d8bee460e9b112199748ae571</id>
|
206
200
|
<account_code>transaction-create-with-account-1289558212</account_code>
|
207
201
|
<action>purchase</action>
|
208
|
-
<date type="datetime">2010-11-
|
202
|
+
<date type="datetime">2010-11-16T07:04:47Z</date>
|
209
203
|
<amount_in_cents type="integer">700</amount_in_cents>
|
210
204
|
<status>success</status>
|
211
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -6,49 +6,47 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
+
<company-name>Recurly Ruby Gem</company-name>
|
9
10
|
<account-code>transaction-list-filled-1289558212</account-code>
|
10
|
-
<first-name>Verena</first-name>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
|
-
<
|
13
|
+
<first-name>Verena</first-name>
|
14
14
|
</account>
|
15
15
|
|
16
16
|
headers:
|
17
|
-
authorization:
|
18
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
19
|
-
content-type:
|
20
|
-
- application/xml
|
21
17
|
accept:
|
22
18
|
- "*/*"
|
23
|
-
user-agent:
|
24
|
-
- Ruby
|
25
19
|
connection:
|
26
20
|
- close
|
21
|
+
content-type:
|
22
|
+
- application/xml
|
23
|
+
authorization:
|
24
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
27
25
|
response: !ruby/struct:VCR::Response
|
28
26
|
status: !ruby/struct:VCR::ResponseStatus
|
29
27
|
code: 201
|
30
28
|
message: Created
|
31
29
|
headers:
|
32
|
-
server:
|
33
|
-
- nginx/0.7.65
|
34
|
-
date:
|
35
|
-
- Fri, 12 Nov 2010 10:36:52 GMT
|
36
|
-
content-type:
|
37
|
-
- application/xml; charset=utf-8
|
38
|
-
connection:
|
39
|
-
- close
|
40
|
-
cache-control:
|
41
|
-
- no-cache
|
42
30
|
location:
|
43
31
|
- https://recurlytest3-test.recurly.com/accounts/transaction-list-filled-1289558212
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
44
36
|
x-runtime:
|
45
|
-
- "
|
37
|
+
- "277"
|
38
|
+
date:
|
39
|
+
- Tue, 16 Nov 2010 07:04:53 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
46
42
|
content-length:
|
47
43
|
- "601"
|
48
44
|
set-cookie:
|
49
|
-
- account_credentials=
|
45
|
+
- account_credentials=3c4b522517cbe7722dd183c088e90d8f836c14e696fcc446bb0fa5cbccd2c1f2becfe9075240bd47f47afbb0ab5607e18ff6c448e445e06f658971404f2410cd%3A%3A; domain=.recurly.com; path=/
|
50
46
|
- ""
|
51
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=92d8b2e3d95fcfbb8372c85e53ff6abf; domain=.recurly.com; path=/; secure; HttpOnly
|
48
|
+
cache-control:
|
49
|
+
- no-cache
|
52
50
|
body: |
|
53
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
54
52
|
<account>
|
@@ -61,8 +59,8 @@
|
|
61
59
|
<company_name>Recurly Ruby Gem</company_name>
|
62
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
63
61
|
<closed type="boolean">false</closed>
|
64
|
-
<hosted_login_token>
|
65
|
-
<created_at type="datetime">2010-11-
|
62
|
+
<hosted_login_token>9d75ebe960c54a2dab46cd2a1538fe87</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:04:53Z</created_at>
|
66
64
|
<state>active</state>
|
67
65
|
</account>
|
68
66
|
|
@@ -74,58 +72,56 @@
|
|
74
72
|
body: |
|
75
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
76
74
|
<billing-info>
|
77
|
-
<address1>123 Test St</address1>
|
78
75
|
<city>San Francisco</city>
|
79
|
-
<
|
76
|
+
<address1>123 Test St</address1>
|
80
77
|
<zip>94115</zip>
|
78
|
+
<account-code>transaction-list-filled-1289558212</account-code>
|
81
79
|
<country>US</country>
|
82
80
|
<credit-card>
|
83
81
|
<number>1</number>
|
84
|
-
<year type="integer">2011</year>
|
85
82
|
<month type="integer">11</month>
|
83
|
+
<year type="integer">2011</year>
|
86
84
|
<verification-value>123</verification-value>
|
87
85
|
</credit-card>
|
88
|
-
<account-code>transaction-list-filled-1289558212</account-code>
|
89
|
-
<first-name>Verena</first-name>
|
90
86
|
<last-name>Test</last-name>
|
87
|
+
<first-name>Verena</first-name>
|
88
|
+
<state>CA</state>
|
91
89
|
</billing-info>
|
92
90
|
|
93
91
|
headers:
|
94
|
-
authorization:
|
95
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
96
|
-
content-type:
|
97
|
-
- application/xml
|
98
92
|
accept:
|
99
93
|
- "*/*"
|
100
|
-
user-agent:
|
101
|
-
- Ruby
|
102
94
|
connection:
|
103
95
|
- close
|
96
|
+
content-type:
|
97
|
+
- application/xml
|
98
|
+
authorization:
|
99
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
104
100
|
response: !ruby/struct:VCR::Response
|
105
101
|
status: !ruby/struct:VCR::ResponseStatus
|
106
102
|
code: 200
|
107
103
|
message: OK
|
108
104
|
headers:
|
109
|
-
|
110
|
-
-
|
111
|
-
|
112
|
-
-
|
113
|
-
content-type:
|
114
|
-
- application/xml; charset=utf-8
|
105
|
+
x-ua-compatible:
|
106
|
+
- IE=Edge
|
107
|
+
etag:
|
108
|
+
- "\"de5e188eb96f6e3109f5606b9588107c\""
|
115
109
|
connection:
|
116
110
|
- close
|
111
|
+
content-type:
|
112
|
+
- application/xml; charset=utf-8
|
117
113
|
x-runtime:
|
118
|
-
- "
|
119
|
-
|
120
|
-
-
|
121
|
-
|
122
|
-
-
|
114
|
+
- "166"
|
115
|
+
date:
|
116
|
+
- Tue, 16 Nov 2010 07:04:54 GMT
|
117
|
+
server:
|
118
|
+
- nginx/0.7.65
|
123
119
|
content-length:
|
124
120
|
- "648"
|
125
121
|
set-cookie:
|
126
|
-
- _recurly_session=
|
127
|
-
|
128
|
-
-
|
122
|
+
- _recurly_session=8a3c8283a70075d89d226a0c643c24c1; domain=.recurly.com; path=/; secure; HttpOnly
|
123
|
+
cache-control:
|
124
|
+
- private, max-age=0, must-revalidate
|
129
125
|
body: |
|
130
126
|
<?xml version="1.0" encoding="UTF-8"?>
|
131
127
|
<billing_info>
|
@@ -147,7 +143,7 @@
|
|
147
143
|
<month type="integer">11</month>
|
148
144
|
<year type="integer">2011</year>
|
149
145
|
</credit_card>
|
150
|
-
<updated_at type="datetime">2010-11-
|
146
|
+
<updated_at type="datetime">2010-11-16T07:04:54Z</updated_at>
|
151
147
|
</billing_info>
|
152
148
|
|
153
149
|
http_version: "1.1"
|
@@ -166,46 +162,44 @@
|
|
166
162
|
</transaction>
|
167
163
|
|
168
164
|
headers:
|
169
|
-
authorization:
|
170
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
171
|
-
content-type:
|
172
|
-
- application/xml
|
173
165
|
accept:
|
174
166
|
- "*/*"
|
175
|
-
user-agent:
|
176
|
-
- Ruby
|
177
167
|
connection:
|
178
168
|
- close
|
169
|
+
content-type:
|
170
|
+
- application/xml
|
171
|
+
authorization:
|
172
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
179
173
|
response: !ruby/struct:VCR::Response
|
180
174
|
status: !ruby/struct:VCR::ResponseStatus
|
181
175
|
code: 201
|
182
176
|
message: Created
|
183
177
|
headers:
|
184
|
-
|
185
|
-
-
|
186
|
-
date:
|
187
|
-
- Fri, 12 Nov 2010 10:36:53 GMT
|
188
|
-
content-type:
|
189
|
-
- application/xml; charset=utf-8
|
178
|
+
location:
|
179
|
+
- https://recurlytest3-test.recurly.com/transactions/bc231f46c46744b286a78ff9d4338db5
|
190
180
|
connection:
|
191
181
|
- close
|
192
|
-
|
193
|
-
-
|
194
|
-
location:
|
195
|
-
- https://recurlytest3-test.recurly.com/transactions/37a9c627cff243d9852895c0f5289cd4
|
182
|
+
content-type:
|
183
|
+
- application/xml; charset=utf-8
|
196
184
|
x-runtime:
|
197
|
-
- "
|
185
|
+
- "278"
|
186
|
+
date:
|
187
|
+
- Tue, 16 Nov 2010 07:04:53 GMT
|
188
|
+
server:
|
189
|
+
- nginx/0.7.65
|
198
190
|
content-length:
|
199
191
|
- "855"
|
200
192
|
set-cookie:
|
201
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=768341f8a7538b4af3d21fdd0ed63cc0; domain=.recurly.com; path=/; secure; HttpOnly
|
194
|
+
cache-control:
|
195
|
+
- no-cache
|
202
196
|
body: |
|
203
197
|
<?xml version="1.0" encoding="UTF-8"?>
|
204
198
|
<transaction type="Payment">
|
205
|
-
<id>
|
199
|
+
<id>bc231f46c46744b286a78ff9d4338db5</id>
|
206
200
|
<account_code>transaction-list-filled-1289558212</account_code>
|
207
201
|
<action>purchase</action>
|
208
|
-
<date type="datetime">2010-11-
|
202
|
+
<date type="datetime">2010-11-16T07:04:53Z</date>
|
209
203
|
<amount_in_cents type="integer">100</amount_in_cents>
|
210
204
|
<status>success</status>
|
211
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -239,46 +233,44 @@
|
|
239
233
|
</transaction>
|
240
234
|
|
241
235
|
headers:
|
242
|
-
authorization:
|
243
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
244
|
-
content-type:
|
245
|
-
- application/xml
|
246
236
|
accept:
|
247
237
|
- "*/*"
|
248
|
-
user-agent:
|
249
|
-
- Ruby
|
250
238
|
connection:
|
251
239
|
- close
|
240
|
+
content-type:
|
241
|
+
- application/xml
|
242
|
+
authorization:
|
243
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
252
244
|
response: !ruby/struct:VCR::Response
|
253
245
|
status: !ruby/struct:VCR::ResponseStatus
|
254
246
|
code: 201
|
255
247
|
message: Created
|
256
248
|
headers:
|
257
|
-
|
258
|
-
-
|
259
|
-
date:
|
260
|
-
- Fri, 12 Nov 2010 10:36:56 GMT
|
261
|
-
content-type:
|
262
|
-
- application/xml; charset=utf-8
|
249
|
+
location:
|
250
|
+
- https://recurlytest3-test.recurly.com/transactions/5fa383a4d1754241beb7b4ee11f7b52e
|
263
251
|
connection:
|
264
252
|
- close
|
265
|
-
|
266
|
-
-
|
267
|
-
location:
|
268
|
-
- https://recurlytest3-test.recurly.com/transactions/21ee07d93c75401291a9d5f4c99bf003
|
253
|
+
content-type:
|
254
|
+
- application/xml; charset=utf-8
|
269
255
|
x-runtime:
|
270
|
-
- "
|
256
|
+
- "223"
|
257
|
+
date:
|
258
|
+
- Tue, 16 Nov 2010 07:04:56 GMT
|
259
|
+
server:
|
260
|
+
- nginx/0.7.65
|
271
261
|
content-length:
|
272
262
|
- "855"
|
273
263
|
set-cookie:
|
274
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=bf30ba41873fd5c3df20bfb881f90baf; domain=.recurly.com; path=/; secure; HttpOnly
|
265
|
+
cache-control:
|
266
|
+
- no-cache
|
275
267
|
body: |
|
276
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
277
269
|
<transaction type="Payment">
|
278
|
-
<id>
|
270
|
+
<id>5fa383a4d1754241beb7b4ee11f7b52e</id>
|
279
271
|
<account_code>transaction-list-filled-1289558212</account_code>
|
280
272
|
<action>purchase</action>
|
281
|
-
<date type="datetime">2010-11-
|
273
|
+
<date type="datetime">2010-11-16T07:04:55Z</date>
|
282
274
|
<amount_in_cents type="integer">200</amount_in_cents>
|
283
275
|
<status>success</status>
|
284
276
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -312,46 +304,44 @@
|
|
312
304
|
</transaction>
|
313
305
|
|
314
306
|
headers:
|
315
|
-
authorization:
|
316
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
317
|
-
content-type:
|
318
|
-
- application/xml
|
319
307
|
accept:
|
320
308
|
- "*/*"
|
321
|
-
user-agent:
|
322
|
-
- Ruby
|
323
309
|
connection:
|
324
310
|
- close
|
311
|
+
content-type:
|
312
|
+
- application/xml
|
313
|
+
authorization:
|
314
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
325
315
|
response: !ruby/struct:VCR::Response
|
326
316
|
status: !ruby/struct:VCR::ResponseStatus
|
327
317
|
code: 201
|
328
318
|
message: Created
|
329
319
|
headers:
|
330
|
-
|
331
|
-
-
|
332
|
-
date:
|
333
|
-
- Fri, 12 Nov 2010 10:36:54 GMT
|
334
|
-
content-type:
|
335
|
-
- application/xml; charset=utf-8
|
320
|
+
location:
|
321
|
+
- https://recurlytest3-test.recurly.com/transactions/399196f5d2a34225ba1a00d80b04fc26
|
336
322
|
connection:
|
337
323
|
- close
|
338
|
-
|
339
|
-
-
|
340
|
-
location:
|
341
|
-
- https://recurlytest3-test.recurly.com/transactions/6e4e51593413402d97a05c4f15b7d992
|
324
|
+
content-type:
|
325
|
+
- application/xml; charset=utf-8
|
342
326
|
x-runtime:
|
343
|
-
- "
|
327
|
+
- "306"
|
328
|
+
date:
|
329
|
+
- Tue, 16 Nov 2010 07:04:54 GMT
|
330
|
+
server:
|
331
|
+
- nginx/0.7.65
|
344
332
|
content-length:
|
345
333
|
- "855"
|
346
334
|
set-cookie:
|
347
|
-
- _recurly_session=
|
335
|
+
- _recurly_session=878f91227107f8d1834f4a2f682ee0b1; domain=.recurly.com; path=/; secure; HttpOnly
|
336
|
+
cache-control:
|
337
|
+
- no-cache
|
348
338
|
body: |
|
349
339
|
<?xml version="1.0" encoding="UTF-8"?>
|
350
340
|
<transaction type="Payment">
|
351
|
-
<id>
|
341
|
+
<id>399196f5d2a34225ba1a00d80b04fc26</id>
|
352
342
|
<account_code>transaction-list-filled-1289558212</account_code>
|
353
343
|
<action>purchase</action>
|
354
|
-
<date type="datetime">2010-11-
|
344
|
+
<date type="datetime">2010-11-16T07:04:54Z</date>
|
355
345
|
<amount_in_cents type="integer">300</amount_in_cents>
|
356
346
|
<status>success</status>
|
357
347
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -376,58 +366,111 @@
|
|
376
366
|
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-filled-1289558212/transactions
|
377
367
|
body:
|
378
368
|
headers:
|
379
|
-
authorization:
|
380
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
381
369
|
accept:
|
382
370
|
- application/xml
|
383
|
-
accept-encoding:
|
384
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
385
|
-
user-agent:
|
386
|
-
- Ruby
|
387
371
|
connection:
|
388
372
|
- close
|
373
|
+
authorization:
|
374
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
389
375
|
response: !ruby/struct:VCR::Response
|
390
376
|
status: !ruby/struct:VCR::ResponseStatus
|
391
377
|
code: 200
|
392
378
|
message: OK
|
393
379
|
headers:
|
394
|
-
|
395
|
-
-
|
396
|
-
|
397
|
-
-
|
398
|
-
content-type:
|
399
|
-
- application/xml; charset=utf-8
|
400
|
-
transfer-encoding:
|
401
|
-
- chunked
|
380
|
+
x-ua-compatible:
|
381
|
+
- IE=Edge
|
382
|
+
etag:
|
383
|
+
- "\"0a2802d52db504ad1cd18e9a63f5a445\""
|
402
384
|
connection:
|
403
385
|
- close
|
386
|
+
content-type:
|
387
|
+
- application/xml; charset=utf-8
|
404
388
|
x-runtime:
|
405
|
-
- "
|
406
|
-
|
407
|
-
-
|
389
|
+
- "41"
|
390
|
+
date:
|
391
|
+
- Tue, 16 Nov 2010 07:04:57 GMT
|
392
|
+
server:
|
393
|
+
- nginx/0.7.65
|
394
|
+
content-length:
|
395
|
+
- "3311"
|
396
|
+
set-cookie:
|
397
|
+
- _recurly_session=4b6a8d5e4877a76ac840382fbec62ee8; domain=.recurly.com; path=/; secure; HttpOnly
|
408
398
|
cache-control:
|
409
399
|
- private, max-age=0, must-revalidate
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
400
|
+
body: |
|
401
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
402
|
+
<transactions type="collection">
|
403
|
+
<current_page type="integer">1</current_page>
|
404
|
+
<per_page type="integer">50</per_page>
|
405
|
+
<total_entries type="integer">4</total_entries>
|
406
|
+
<transaction type="Payment">
|
407
|
+
<id>399196f5d2a34225ba1a00d80b04fc26</id>
|
408
|
+
<account_code>transaction-list-filled-1289558212</account_code>
|
409
|
+
<action>purchase</action>
|
410
|
+
<date type="datetime">2010-11-15T23:04:54-08:00</date>
|
411
|
+
<amount_in_cents type="integer">300</amount_in_cents>
|
412
|
+
<status>success</status>
|
413
|
+
<message>Test Gateway: Successful test transaction</message>
|
414
|
+
<reference></reference>
|
415
|
+
<cvv_result code="M">Match</cvv_result>
|
416
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
417
|
+
<avs_result_street></avs_result_street>
|
418
|
+
<avs_result_postal></avs_result_postal>
|
419
|
+
<test type="boolean">true</test>
|
420
|
+
<voidable type="boolean">true</voidable>
|
421
|
+
<refundable type="boolean">true</refundable>
|
422
|
+
</transaction>
|
423
|
+
<transaction type="Payment">
|
424
|
+
<id>5fa383a4d1754241beb7b4ee11f7b52e</id>
|
425
|
+
<account_code>transaction-list-filled-1289558212</account_code>
|
426
|
+
<action>purchase</action>
|
427
|
+
<date type="datetime">2010-11-15T23:04:55-08:00</date>
|
428
|
+
<amount_in_cents type="integer">200</amount_in_cents>
|
429
|
+
<status>success</status>
|
430
|
+
<message>Test Gateway: Successful test transaction</message>
|
431
|
+
<reference></reference>
|
432
|
+
<cvv_result code="M">Match</cvv_result>
|
433
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
434
|
+
<avs_result_street></avs_result_street>
|
435
|
+
<avs_result_postal></avs_result_postal>
|
436
|
+
<test type="boolean">true</test>
|
437
|
+
<voidable type="boolean">true</voidable>
|
438
|
+
<refundable type="boolean">true</refundable>
|
439
|
+
</transaction>
|
440
|
+
<transaction type="Payment">
|
441
|
+
<id>bc231f46c46744b286a78ff9d4338db5</id>
|
442
|
+
<account_code>transaction-list-filled-1289558212</account_code>
|
443
|
+
<action>purchase</action>
|
444
|
+
<date type="datetime">2010-11-15T23:04:53-08:00</date>
|
445
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
446
|
+
<status>success</status>
|
447
|
+
<message>Test Gateway: Successful test transaction</message>
|
448
|
+
<reference></reference>
|
449
|
+
<cvv_result code="M">Match</cvv_result>
|
450
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
451
|
+
<avs_result_street></avs_result_street>
|
452
|
+
<avs_result_postal></avs_result_postal>
|
453
|
+
<test type="boolean">true</test>
|
454
|
+
<voidable type="boolean">true</voidable>
|
455
|
+
<refundable type="boolean">true</refundable>
|
456
|
+
</transaction>
|
457
|
+
<transaction type="Payment">
|
458
|
+
<id>c4aabcb8d6de4ca0961fbf4e40e4634d</id>
|
459
|
+
<account_code>transaction-list-filled-1289558212</account_code>
|
460
|
+
<action>authorization</action>
|
461
|
+
<date type="datetime">2010-11-15T23:04:54-08:00</date>
|
462
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
463
|
+
<status>void</status>
|
464
|
+
<message>Test Gateway: Successful test transaction</message>
|
465
|
+
<reference></reference>
|
466
|
+
<cvv_result code="M">Match</cvv_result>
|
467
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
468
|
+
<avs_result_street></avs_result_street>
|
469
|
+
<avs_result_postal></avs_result_postal>
|
470
|
+
<test type="boolean">true</test>
|
471
|
+
<voidable type="boolean">false</voidable>
|
472
|
+
<refundable type="boolean">false</refundable>
|
473
|
+
</transaction>
|
474
|
+
</transactions>
|
432
475
|
|
433
476
|
http_version: "1.1"
|