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
@@ -5,74 +5,383 @@
|
|
5
5
|
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
|
6
6
|
body:
|
7
7
|
headers:
|
8
|
-
authorization:
|
9
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
10
8
|
accept:
|
11
9
|
- application/xml
|
12
|
-
accept-encoding:
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
-
user-agent:
|
15
|
-
- Ruby
|
16
10
|
connection:
|
17
11
|
- close
|
12
|
+
authorization:
|
13
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
18
14
|
response: !ruby/struct:VCR::Response
|
19
15
|
status: !ruby/struct:VCR::ResponseStatus
|
20
16
|
code: 200
|
21
17
|
message: OK
|
22
18
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
-
|
27
|
-
content-type:
|
28
|
-
- application/xml; charset=utf-8
|
29
|
-
transfer-encoding:
|
30
|
-
- chunked
|
19
|
+
x-ua-compatible:
|
20
|
+
- IE=Edge
|
21
|
+
etag:
|
22
|
+
- "\"386d84eb6dfbf93bf219319e05939aca\""
|
31
23
|
connection:
|
32
24
|
- close
|
25
|
+
content-type:
|
26
|
+
- application/xml; charset=utf-8
|
33
27
|
x-runtime:
|
34
28
|
- "64"
|
35
|
-
|
36
|
-
-
|
29
|
+
date:
|
30
|
+
- Tue, 16 Nov 2010 07:04:50 GMT
|
31
|
+
server:
|
32
|
+
- nginx/0.7.65
|
33
|
+
content-length:
|
34
|
+
- "15414"
|
35
|
+
set-cookie:
|
36
|
+
- _recurly_session=f4785270d295c15e98f713fa98192f95; domain=.recurly.com; path=/; secure; HttpOnly
|
37
37
|
cache-control:
|
38
38
|
- private, max-age=0, must-revalidate
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
39
|
+
body: |
|
40
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
41
|
+
<transactions type="collection">
|
42
|
+
<current_page type="integer">1</current_page>
|
43
|
+
<per_page type="integer">20</per_page>
|
44
|
+
<total_entries type="integer">29</total_entries>
|
45
|
+
<transaction type="Payment">
|
46
|
+
<id>ef67914d8bee460e9b112199748ae571</id>
|
47
|
+
<account_code>transaction-create-with-account-1289558212</account_code>
|
48
|
+
<action>purchase</action>
|
49
|
+
<date type="datetime">2010-11-16T07:04:47Z</date>
|
50
|
+
<amount_in_cents type="integer">700</amount_in_cents>
|
51
|
+
<status>success</status>
|
52
|
+
<message>Test Gateway: Successful test transaction</message>
|
53
|
+
<reference></reference>
|
54
|
+
<cvv_result code="M">Match</cvv_result>
|
55
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
56
|
+
<avs_result_street></avs_result_street>
|
57
|
+
<avs_result_postal></avs_result_postal>
|
58
|
+
<test type="boolean">true</test>
|
59
|
+
<voidable type="boolean">true</voidable>
|
60
|
+
<refundable type="boolean">true</refundable>
|
61
|
+
</transaction>
|
62
|
+
<transaction type="Payment">
|
63
|
+
<id>ef8b4eb351434b288bd0964399272b93</id>
|
64
|
+
<account_code>transaction-create-with-account-1289558212</account_code>
|
65
|
+
<action>authorization</action>
|
66
|
+
<date type="datetime">2010-11-16T07:04:49Z</date>
|
67
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
68
|
+
<status>void</status>
|
69
|
+
<message>Test Gateway: Successful test transaction</message>
|
70
|
+
<reference></reference>
|
71
|
+
<cvv_result code="M">Match</cvv_result>
|
72
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
73
|
+
<avs_result_street></avs_result_street>
|
74
|
+
<avs_result_postal></avs_result_postal>
|
75
|
+
<test type="boolean">true</test>
|
76
|
+
<voidable type="boolean">false</voidable>
|
77
|
+
<refundable type="boolean">false</refundable>
|
78
|
+
</transaction>
|
79
|
+
<transaction type="Payment">
|
80
|
+
<id>e5e51cca153040ba9138442e41741d75</id>
|
81
|
+
<account_code>transaction-create-with-accout-1289558212</account_code>
|
82
|
+
<action>purchase</action>
|
83
|
+
<date type="datetime">2010-11-16T07:04:47Z</date>
|
84
|
+
<amount_in_cents type="integer">700</amount_in_cents>
|
85
|
+
<status>success</status>
|
86
|
+
<message>Test Gateway: Successful test transaction</message>
|
87
|
+
<reference></reference>
|
88
|
+
<cvv_result code="M">Match</cvv_result>
|
89
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
90
|
+
<avs_result_street></avs_result_street>
|
91
|
+
<avs_result_postal></avs_result_postal>
|
92
|
+
<test type="boolean">true</test>
|
93
|
+
<voidable type="boolean">true</voidable>
|
94
|
+
<refundable type="boolean">true</refundable>
|
95
|
+
</transaction>
|
96
|
+
<transaction type="Payment">
|
97
|
+
<id>95f5ca3c3f634ebebd53c5e1ce5a95ee</id>
|
98
|
+
<account_code>subscription-refund-none-1287455769</account_code>
|
99
|
+
<action>purchase</action>
|
100
|
+
<date type="datetime">2010-11-16T07:04:43Z</date>
|
101
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
102
|
+
<status>success</status>
|
103
|
+
<message>Test Gateway: Successful test transaction</message>
|
104
|
+
<reference></reference>
|
105
|
+
<cvv_result code="M">Match</cvv_result>
|
106
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
107
|
+
<avs_result_street></avs_result_street>
|
108
|
+
<avs_result_postal></avs_result_postal>
|
109
|
+
<test type="boolean">true</test>
|
110
|
+
<voidable type="boolean">true</voidable>
|
111
|
+
<refundable type="boolean">true</refundable>
|
112
|
+
</transaction>
|
113
|
+
<transaction type="Refund">
|
114
|
+
<id>dcb42c714b104f6aaa4951f886ca473b</id>
|
115
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
116
|
+
<action>credit</action>
|
117
|
+
<date type="datetime">2010-11-16T07:04:41Z</date>
|
118
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
119
|
+
<status>success</status>
|
120
|
+
<message>Bogus Gateway: Forced success</message>
|
121
|
+
<reference></reference>
|
122
|
+
<cvv_result code=""></cvv_result>
|
123
|
+
<avs_result code=""></avs_result>
|
124
|
+
<avs_result_street></avs_result_street>
|
125
|
+
<avs_result_postal></avs_result_postal>
|
126
|
+
<test type="boolean">true</test>
|
127
|
+
<voidable type="boolean">true</voidable>
|
128
|
+
<refundable type="boolean">false</refundable>
|
129
|
+
</transaction>
|
130
|
+
<transaction type="Payment">
|
131
|
+
<id>9e176680904b4146a4488b815a36c332</id>
|
132
|
+
<account_code>subscription-refund-partial-1287455769</account_code>
|
133
|
+
<action>purchase</action>
|
134
|
+
<date type="datetime">2010-11-16T07:04:40Z</date>
|
135
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
136
|
+
<status>success</status>
|
137
|
+
<message>Test Gateway: Successful test transaction</message>
|
138
|
+
<reference></reference>
|
139
|
+
<cvv_result code="M">Match</cvv_result>
|
140
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
141
|
+
<avs_result_street></avs_result_street>
|
142
|
+
<avs_result_postal></avs_result_postal>
|
143
|
+
<test type="boolean">true</test>
|
144
|
+
<voidable type="boolean">false</voidable>
|
145
|
+
<refundable type="boolean">false</refundable>
|
146
|
+
</transaction>
|
147
|
+
<transaction type="Refund">
|
148
|
+
<id>e4b14217595d4caea2874e90d21422dc</id>
|
149
|
+
<account_code>subscription-refund-full-1287455769</account_code>
|
150
|
+
<action>credit</action>
|
151
|
+
<date type="datetime">2010-11-16T07:04:37Z</date>
|
152
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
153
|
+
<status>success</status>
|
154
|
+
<message>Bogus Gateway: Forced success</message>
|
155
|
+
<reference></reference>
|
156
|
+
<cvv_result code=""></cvv_result>
|
157
|
+
<avs_result code=""></avs_result>
|
158
|
+
<avs_result_street></avs_result_street>
|
159
|
+
<avs_result_postal></avs_result_postal>
|
160
|
+
<test type="boolean">true</test>
|
161
|
+
<voidable type="boolean">true</voidable>
|
162
|
+
<refundable type="boolean">false</refundable>
|
163
|
+
</transaction>
|
164
|
+
<transaction type="Payment">
|
165
|
+
<id>44cd38f855de4e30ad1f736ec1d4396a</id>
|
166
|
+
<account_code>subscription-refund-full-1287455769</account_code>
|
167
|
+
<action>purchase</action>
|
168
|
+
<date type="datetime">2010-11-16T07:04:36Z</date>
|
169
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
170
|
+
<status>success</status>
|
171
|
+
<message>Test Gateway: Successful test transaction</message>
|
172
|
+
<reference></reference>
|
173
|
+
<cvv_result code="M">Match</cvv_result>
|
174
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
175
|
+
<avs_result_street></avs_result_street>
|
176
|
+
<avs_result_postal></avs_result_postal>
|
177
|
+
<test type="boolean">true</test>
|
178
|
+
<voidable type="boolean">false</voidable>
|
179
|
+
<refundable type="boolean">false</refundable>
|
180
|
+
</transaction>
|
181
|
+
<transaction type="Payment">
|
182
|
+
<id>3f7905983aad43e5945ff73895001c3d</id>
|
183
|
+
<account_code>subscription-cancel-with-code-1287455769</account_code>
|
184
|
+
<action>purchase</action>
|
185
|
+
<date type="datetime">2010-11-16T07:04:30Z</date>
|
186
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
187
|
+
<status>success</status>
|
188
|
+
<message>Test Gateway: Successful test transaction</message>
|
189
|
+
<reference></reference>
|
190
|
+
<cvv_result code="M">Match</cvv_result>
|
191
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
192
|
+
<avs_result_street></avs_result_street>
|
193
|
+
<avs_result_postal></avs_result_postal>
|
194
|
+
<test type="boolean">true</test>
|
195
|
+
<voidable type="boolean">true</voidable>
|
196
|
+
<refundable type="boolean">true</refundable>
|
197
|
+
</transaction>
|
198
|
+
<transaction type="Payment">
|
199
|
+
<id>be537b15cfbd445ca8de1b28098c0135</id>
|
200
|
+
<account_code>subscription-cancel-1287455769</account_code>
|
201
|
+
<action>purchase</action>
|
202
|
+
<date type="datetime">2010-11-16T07:04:26Z</date>
|
203
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
204
|
+
<status>success</status>
|
205
|
+
<message>Test Gateway: Successful test transaction</message>
|
206
|
+
<reference></reference>
|
207
|
+
<cvv_result code="M">Match</cvv_result>
|
208
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
209
|
+
<avs_result_street></avs_result_street>
|
210
|
+
<avs_result_postal></avs_result_postal>
|
211
|
+
<test type="boolean">true</test>
|
212
|
+
<voidable type="boolean">true</voidable>
|
213
|
+
<refundable type="boolean">true</refundable>
|
214
|
+
</transaction>
|
215
|
+
<transaction type="Payment">
|
216
|
+
<id>380c5bed07d740e29303d6256406d7b5</id>
|
217
|
+
<account_code>subscription-reactivate-1287455769</account_code>
|
218
|
+
<action>purchase</action>
|
219
|
+
<date type="datetime">2010-11-16T07:04:24Z</date>
|
220
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
221
|
+
<status>success</status>
|
222
|
+
<message>Test Gateway: Successful test transaction</message>
|
223
|
+
<reference></reference>
|
224
|
+
<cvv_result code="M">Match</cvv_result>
|
225
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
226
|
+
<avs_result_street></avs_result_street>
|
227
|
+
<avs_result_postal></avs_result_postal>
|
228
|
+
<test type="boolean">true</test>
|
229
|
+
<voidable type="boolean">true</voidable>
|
230
|
+
<refundable type="boolean">true</refundable>
|
231
|
+
</transaction>
|
232
|
+
<transaction type="Payment">
|
233
|
+
<id>7c34ff0fc438482eabdf485edb5002e1</id>
|
234
|
+
<account_code>1287455769</account_code>
|
235
|
+
<action>purchase</action>
|
236
|
+
<date type="datetime">2010-11-16T07:04:20Z</date>
|
237
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
238
|
+
<status>success</status>
|
239
|
+
<message>Test Gateway: Successful test transaction</message>
|
240
|
+
<reference></reference>
|
241
|
+
<cvv_result code="M">Match</cvv_result>
|
242
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
243
|
+
<avs_result_street></avs_result_street>
|
244
|
+
<avs_result_postal></avs_result_postal>
|
245
|
+
<test type="boolean">true</test>
|
246
|
+
<voidable type="boolean">true</voidable>
|
247
|
+
<refundable type="boolean">true</refundable>
|
248
|
+
</transaction>
|
249
|
+
<transaction type="Payment">
|
250
|
+
<id>a912e6282e7c487688f1cc41e974f85b</id>
|
251
|
+
<account_code>subscription-change1-1287455769</account_code>
|
252
|
+
<action>purchase</action>
|
253
|
+
<date type="datetime">2010-11-16T07:04:16Z</date>
|
254
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
255
|
+
<status>success</status>
|
256
|
+
<message>Test Gateway: Successful test transaction</message>
|
257
|
+
<reference></reference>
|
258
|
+
<cvv_result code="M">Match</cvv_result>
|
259
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
260
|
+
<avs_result_street></avs_result_street>
|
261
|
+
<avs_result_postal></avs_result_postal>
|
262
|
+
<test type="boolean">true</test>
|
263
|
+
<voidable type="boolean">true</voidable>
|
264
|
+
<refundable type="boolean">true</refundable>
|
265
|
+
</transaction>
|
266
|
+
<transaction type="Payment">
|
267
|
+
<id>0cb936edf3e54d2d82719b96fe18aa7e</id>
|
268
|
+
<account_code>subscription-create-1287455769</account_code>
|
269
|
+
<action>purchase</action>
|
270
|
+
<date type="datetime">2010-11-16T07:04:11Z</date>
|
271
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
272
|
+
<status>success</status>
|
273
|
+
<message>Test Gateway: Successful test transaction</message>
|
274
|
+
<reference></reference>
|
275
|
+
<cvv_result code="M">Match</cvv_result>
|
276
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
277
|
+
<avs_result_street></avs_result_street>
|
278
|
+
<avs_result_postal></avs_result_postal>
|
279
|
+
<test type="boolean">true</test>
|
280
|
+
<voidable type="boolean">true</voidable>
|
281
|
+
<refundable type="boolean">true</refundable>
|
282
|
+
</transaction>
|
283
|
+
<transaction type="Payment">
|
284
|
+
<id>786e0f0750f34e53b35f602c7c541223</id>
|
285
|
+
<account_code>subscription-find-1287455769</account_code>
|
286
|
+
<action>purchase</action>
|
287
|
+
<date type="datetime">2010-11-16T07:04:09Z</date>
|
288
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
289
|
+
<status>success</status>
|
290
|
+
<message>Test Gateway: Successful test transaction</message>
|
291
|
+
<reference></reference>
|
292
|
+
<cvv_result code="M">Match</cvv_result>
|
293
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
294
|
+
<avs_result_street></avs_result_street>
|
295
|
+
<avs_result_postal></avs_result_postal>
|
296
|
+
<test type="boolean">true</test>
|
297
|
+
<voidable type="boolean">true</voidable>
|
298
|
+
<refundable type="boolean">true</refundable>
|
299
|
+
</transaction>
|
300
|
+
<transaction type="Payment">
|
301
|
+
<id>9205c4b5486549999679c9340ffa310b</id>
|
302
|
+
<account_code>invoice-lookup-1287167121</account_code>
|
303
|
+
<action>authorization</action>
|
304
|
+
<date type="datetime">2010-11-16T07:04:00Z</date>
|
305
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
306
|
+
<status>void</status>
|
307
|
+
<message>Test Gateway: Successful test transaction</message>
|
308
|
+
<reference></reference>
|
309
|
+
<cvv_result code="M">Match</cvv_result>
|
310
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
311
|
+
<avs_result_street></avs_result_street>
|
312
|
+
<avs_result_postal></avs_result_postal>
|
313
|
+
<test type="boolean">true</test>
|
314
|
+
<voidable type="boolean">false</voidable>
|
315
|
+
<refundable type="boolean">false</refundable>
|
316
|
+
</transaction>
|
317
|
+
<transaction type="Payment">
|
318
|
+
<id>8be4ba57a0fb441eb4ff5f1f44150a32</id>
|
319
|
+
<account_code>invoice-list-1287167121</account_code>
|
320
|
+
<action>authorization</action>
|
321
|
+
<date type="datetime">2010-11-16T07:03:54Z</date>
|
322
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
323
|
+
<status>void</status>
|
324
|
+
<message>Test Gateway: Successful test transaction</message>
|
325
|
+
<reference></reference>
|
326
|
+
<cvv_result code="M">Match</cvv_result>
|
327
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
328
|
+
<avs_result_street></avs_result_street>
|
329
|
+
<avs_result_postal></avs_result_postal>
|
330
|
+
<test type="boolean">true</test>
|
331
|
+
<voidable type="boolean">false</voidable>
|
332
|
+
<refundable type="boolean">false</refundable>
|
333
|
+
</transaction>
|
334
|
+
<transaction type="Payment">
|
335
|
+
<id>48705d8826ba4ea5b31854c01c3e1834</id>
|
336
|
+
<account_code>invoice-create-no-charges-1287167121</account_code>
|
337
|
+
<action>authorization</action>
|
338
|
+
<date type="datetime">2010-11-16T07:03:54Z</date>
|
339
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
340
|
+
<status>void</status>
|
341
|
+
<message>Test Gateway: Successful test transaction</message>
|
342
|
+
<reference></reference>
|
343
|
+
<cvv_result code="M">Match</cvv_result>
|
344
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
345
|
+
<avs_result_street></avs_result_street>
|
346
|
+
<avs_result_postal></avs_result_postal>
|
347
|
+
<test type="boolean">true</test>
|
348
|
+
<voidable type="boolean">false</voidable>
|
349
|
+
<refundable type="boolean">false</refundable>
|
350
|
+
</transaction>
|
351
|
+
<transaction type="Payment">
|
352
|
+
<id>2cd49ba668914127a3605bfff1c70b13</id>
|
353
|
+
<account_code>invoice-create-1287167121</account_code>
|
354
|
+
<action>authorization</action>
|
355
|
+
<date type="datetime">2010-11-16T07:03:49Z</date>
|
356
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
357
|
+
<status>void</status>
|
358
|
+
<message>Test Gateway: Successful test transaction</message>
|
359
|
+
<reference></reference>
|
360
|
+
<cvv_result code="M">Match</cvv_result>
|
361
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
362
|
+
<avs_result_street></avs_result_street>
|
363
|
+
<avs_result_postal></avs_result_postal>
|
364
|
+
<test type="boolean">true</test>
|
365
|
+
<voidable type="boolean">false</voidable>
|
366
|
+
<refundable type="boolean">false</refundable>
|
367
|
+
</transaction>
|
368
|
+
<transaction type="Payment">
|
369
|
+
<id>22ad6e4a8cea4b3584b9a130647ff3ee</id>
|
370
|
+
<account_code>charge-create-1287465632</account_code>
|
371
|
+
<action>authorization</action>
|
372
|
+
<date type="datetime">2010-11-16T07:03:32Z</date>
|
373
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
374
|
+
<status>void</status>
|
375
|
+
<message>Test Gateway: Successful test transaction</message>
|
376
|
+
<reference></reference>
|
377
|
+
<cvv_result code="M">Match</cvv_result>
|
378
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
379
|
+
<avs_result_street></avs_result_street>
|
380
|
+
<avs_result_postal></avs_result_postal>
|
381
|
+
<test type="boolean">true</test>
|
382
|
+
<voidable type="boolean">false</voidable>
|
383
|
+
<refundable type="boolean">false</refundable>
|
384
|
+
</transaction>
|
385
|
+
</transactions>
|
77
386
|
|
78
387
|
http_version: "1.1"
|
@@ -7,72 +7,70 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<transaction>
|
9
9
|
<account>
|
10
|
+
<company-name>Recurly Ruby Gem</company-name>
|
10
11
|
<account-code>transaction-create-with-accout-1289558212</account-code>
|
11
|
-
<first-name>Verena</first-name>
|
12
12
|
<last-name>Test</last-name>
|
13
|
-
<email>verena@test.com</email>
|
14
|
-
<company-name>Recurly Ruby Gem</company-name>
|
15
13
|
<billing-info>
|
16
|
-
<address1>123 Test St</address1>
|
17
14
|
<city>San Francisco</city>
|
18
|
-
<
|
15
|
+
<address1>123 Test St</address1>
|
19
16
|
<zip>94115</zip>
|
20
17
|
<country>US</country>
|
21
18
|
<credit-card>
|
22
19
|
<number>1</number>
|
23
|
-
<year type="integer">2011</year>
|
24
20
|
<month type="integer">11</month>
|
21
|
+
<year type="integer">2011</year>
|
25
22
|
<verification-value>123</verification-value>
|
26
23
|
</credit-card>
|
24
|
+
<state>CA</state>
|
27
25
|
</billing-info>
|
26
|
+
<email>verena@test.com</email>
|
27
|
+
<first-name>Verena</first-name>
|
28
28
|
</account>
|
29
29
|
<amount-in-cents type="integer">700</amount-in-cents>
|
30
30
|
<description>setup fee of 7 dollarz</description>
|
31
31
|
</transaction>
|
32
32
|
|
33
33
|
headers:
|
34
|
-
authorization:
|
35
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
36
|
-
content-type:
|
37
|
-
- application/xml
|
38
34
|
accept:
|
39
35
|
- "*/*"
|
40
|
-
user-agent:
|
41
|
-
- Ruby
|
42
36
|
connection:
|
43
37
|
- close
|
38
|
+
content-type:
|
39
|
+
- application/xml
|
40
|
+
authorization:
|
41
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
44
42
|
response: !ruby/struct:VCR::Response
|
45
43
|
status: !ruby/struct:VCR::ResponseStatus
|
46
44
|
code: 201
|
47
45
|
message: Created
|
48
46
|
headers:
|
49
|
-
|
50
|
-
-
|
51
|
-
date:
|
52
|
-
- Fri, 12 Nov 2010 10:36:48 GMT
|
53
|
-
content-type:
|
54
|
-
- application/xml; charset=utf-8
|
47
|
+
location:
|
48
|
+
- https://recurlytest3-test.recurly.com/transactions/e5e51cca153040ba9138442e41741d75
|
55
49
|
connection:
|
56
50
|
- close
|
57
|
-
|
58
|
-
-
|
59
|
-
location:
|
60
|
-
- https://recurlytest3-test.recurly.com/transactions/cd5812c273004eadb1f4c870833fcbbf
|
51
|
+
content-type:
|
52
|
+
- application/xml; charset=utf-8
|
61
53
|
x-runtime:
|
62
|
-
- "
|
54
|
+
- "533"
|
55
|
+
date:
|
56
|
+
- Tue, 16 Nov 2010 07:04:47 GMT
|
57
|
+
server:
|
58
|
+
- nginx/0.7.65
|
63
59
|
content-length:
|
64
60
|
- "862"
|
65
61
|
set-cookie:
|
66
|
-
- account_credentials=
|
62
|
+
- account_credentials=ae9d43e2f427d0536df23895a7ad40703e2fbca10f5c52803ce55156deeb37878d3c9f45d74fd9ae0da65db6fec428844433d9cc34775059358737710becec3c%3A%3A; domain=.recurly.com; path=/
|
67
63
|
- ""
|
68
|
-
- _recurly_session=
|
64
|
+
- _recurly_session=032f52253a6e17c2bc02511cba3436af; domain=.recurly.com; path=/; secure; HttpOnly
|
65
|
+
cache-control:
|
66
|
+
- no-cache
|
69
67
|
body: |
|
70
68
|
<?xml version="1.0" encoding="UTF-8"?>
|
71
69
|
<transaction type="Payment">
|
72
|
-
<id>
|
70
|
+
<id>e5e51cca153040ba9138442e41741d75</id>
|
73
71
|
<account_code>transaction-create-with-accout-1289558212</account_code>
|
74
72
|
<action>purchase</action>
|
75
|
-
<date type="datetime">2010-11-
|
73
|
+
<date type="datetime">2010-11-16T07:04:47Z</date>
|
76
74
|
<amount_in_cents type="integer">700</amount_in_cents>
|
77
75
|
<status>success</status>
|
78
76
|
<message>Test Gateway: Successful test transaction</message>
|