recurly 0.4.11 → 0.4.13
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/README.md +4 -8
- data/lib/recurly.rb +10 -19
- data/lib/recurly/config_parser.rb +5 -2
- data/lib/recurly/plan.rb +0 -1
- data/lib/recurly/rails3/recurly.rake +10 -26
- data/lib/recurly/transparent.rb +2 -0
- data/lib/recurly/verification.rb +14 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +3 -3
- data/spec/config/test1.yml +1 -3
- data/spec/config/test2.yml +2 -6
- data/spec/unit/config_spec.rb +9 -16
- data/spec/unit/transparent_spec.rb +0 -20
- data/spec/unit/verification_spec.rb +15 -9
- data/spec/vcr/account/accept-language-account/1313708721.yml +52 -31
- data/spec/vcr/account/close/1313708721.yml +107 -79
- data/spec/vcr/account/create-blank/1313708721.yml +37 -26
- data/spec/vcr/account/create-duplicate/1313708721.yml +83 -54
- data/spec/vcr/account/create-min/1313708721.yml +48 -30
- data/spec/vcr/account/create/1313708721.yml +52 -31
- data/spec/vcr/account/find/1313708721.yml +111 -81
- data/spec/vcr/account/list/1313708721.yml +1148 -719
- data/spec/vcr/account/update/1313708721.yml +182 -124
- data/spec/vcr/billing/create/1313708721.yml +156 -93
- data/spec/vcr/billing/destroy/1313708721.yml +198 -135
- data/spec/vcr/billing/errors/1313708721.yml +91 -56
- data/spec/vcr/billing/find/1313708721.yml +200 -122
- data/spec/vcr/billing/update/1313708721.yml +218 -126
- data/spec/vcr/charge/create/1313708721.yml +189 -120
- data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +195 -154
- data/spec/vcr/charge/list-all/1313708721.yml +235 -157
- data/spec/vcr/charge/list-invoiced/1313708721.yml +351 -234
- data/spec/vcr/charge/list-pending/1313708721.yml +235 -159
- data/spec/vcr/charge/lookup/1313708721.yml +127 -87
- data/spec/vcr/coupon/create/1296774903.yml +83 -95
- data/spec/vcr/coupon/destroy/1296774903.yml +81 -115
- data/spec/vcr/credit/create/1313708090.yml +127 -87
- data/spec/vcr/credit/delete/1313708090.yml +169 -129
- data/spec/vcr/credit/list/1313708090.yml +235 -157
- data/spec/vcr/credit/lookup/1313708090.yml +127 -87
- data/spec/vcr/invoice/create-no-charges/1296674173.yml +140 -89
- data/spec/vcr/invoice/create/1296674173.yml +259 -162
- data/spec/vcr/invoice/list/1296674173.yml +342 -227
- data/spec/vcr/invoice/lookup/1296674173.yml +260 -167
- data/spec/vcr/plan/all.yml +206 -198
- data/spec/vcr/plan/find.yml +109 -103
- data/spec/vcr/plan/update.yml +126 -93
- data/spec/vcr/subscription/addons/add/1296674173.yml +156 -261
- data/spec/vcr/subscription/addons/create/1296674173.yml +156 -164
- data/spec/vcr/subscription/addons/remove/1296674173.yml +156 -249
- data/spec/vcr/subscription/cancel-with-code/1296674173.yml +340 -243
- data/spec/vcr/subscription/cancel/1296674173.yml +297 -210
- data/spec/vcr/subscription/change1/1296674173.yml +303 -213
- data/spec/vcr/subscription/change2/1296674173.yml +303 -214
- data/spec/vcr/subscription/create/1296674173.yml +167 -111
- data/spec/vcr/subscription/find/1296674173.yml +210 -145
- data/spec/vcr/subscription/reactivate/1296674173.yml +318 -233
- data/spec/vcr/subscription/refund-full/1296674173.yml +277 -199
- data/spec/vcr/subscription/refund-none/1296674173.yml +277 -199
- data/spec/vcr/subscription/refund-partial/1296674173.yml +277 -199
- data/spec/vcr/transaction/all/1311126815.yml +388 -206
- data/spec/vcr/transaction/create-no-account/1311126815.yml +74 -43
- data/spec/vcr/transaction/create-with-account/1311126815.yml +172 -101
- data/spec/vcr/transaction/list-filled/1311126815.yml +486 -291
- data/spec/vcr/transaction/list-initial/1311126815.yml +159 -98
- data/spec/vcr/transaction/lookup/1311126815.yml +420 -268
- data/spec/vcr/transaction/void/1311126815.yml +280 -174
- metadata +109 -77
- data/spec/vcr/transaction/refund/1311126815.yml +0 -163
- data/spec/vcr/transparent/post-url/1311239470.yml +0 -76
@@ -1,215 +1,397 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://api
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
user-agent:
|
9
|
-
- Recurly Ruby Client v0.4.
|
10
|
-
accept:
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions.xml
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- Recurly Ruby Client v0.4.13
|
10
|
+
accept:
|
11
11
|
- application/xml
|
12
|
-
accept-encoding:
|
12
|
+
accept-encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
-
response: !ruby/struct:VCR::Response
|
15
|
-
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
|
-
headers:
|
19
|
-
content-type:
|
18
|
+
headers:
|
19
|
+
content-type:
|
20
20
|
- application/xml; charset=utf-8
|
21
|
-
etag:
|
22
|
-
-
|
23
|
-
cache-control:
|
21
|
+
etag:
|
22
|
+
- "\"b0005cdadaddbe4ace8b4323b6b0c78c\""
|
23
|
+
cache-control:
|
24
24
|
- max-age=0, private, must-revalidate
|
25
|
-
x-ua-compatible:
|
25
|
+
x-ua-compatible:
|
26
26
|
- IE=Edge
|
27
|
-
|
28
|
-
- _recurly_session=d2bdf3a850cd635379850e96e27b6de1; domain=.lvh.me; path=/;
|
29
|
-
HttpOnly
|
30
|
-
server:
|
27
|
+
server:
|
31
28
|
- thin 1.2.11 codename Bat-Shit Crazy
|
32
|
-
body:
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
29
|
+
body: |
|
30
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
31
|
+
<transactions type="collection">
|
32
|
+
<current_page type="integer">1</current_page>
|
33
|
+
<per_page type="integer">20</per_page>
|
34
|
+
<total_entries type="integer">27</total_entries>
|
35
|
+
<transaction type="Payment">
|
36
|
+
<id>3e0ab17feaa64a1abf0a21d823f2b4fc</id>
|
37
|
+
<account_code>transaction-create-with-account-1311126815</account_code>
|
38
|
+
<action>purchase</action>
|
39
|
+
<date type="datetime">2011-09-22T22:02:13Z</date>
|
40
|
+
<amount_in_cents type="integer">700</amount_in_cents>
|
41
|
+
<currency>USD</currency>
|
42
|
+
<status>success</status>
|
43
|
+
<message>Test Gateway: Successful test transaction</message>
|
44
|
+
<reference>12345</reference>
|
45
|
+
<cvv_result code="M">Match</cvv_result>
|
46
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
47
|
+
<avs_result_street>Y</avs_result_street>
|
48
|
+
<avs_result_postal>Y</avs_result_postal>
|
49
|
+
<test type="boolean">true</test>
|
50
|
+
<voidable type="boolean">true</voidable>
|
51
|
+
<refundable type="boolean">true</refundable>
|
52
|
+
</transaction>
|
53
|
+
<transaction type="Payment">
|
54
|
+
<id>7ec8b6c565074364a37e8d012bc5fceb</id>
|
55
|
+
<account_code>transaction-create-with-account-1311126815</account_code>
|
56
|
+
<action>authorization</action>
|
57
|
+
<date type="datetime">2011-09-22T22:02:12Z</date>
|
58
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
59
|
+
<currency>USD</currency>
|
60
|
+
<status>success</status>
|
61
|
+
<message>Test Gateway: Successful test transaction</message>
|
62
|
+
<reference>12345</reference>
|
63
|
+
<cvv_result code="M">Match</cvv_result>
|
64
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
65
|
+
<avs_result_street>Y</avs_result_street>
|
66
|
+
<avs_result_postal>Y</avs_result_postal>
|
67
|
+
<test type="boolean">true</test>
|
68
|
+
<voidable type="boolean">false</voidable>
|
69
|
+
<refundable type="boolean">false</refundable>
|
70
|
+
</transaction>
|
71
|
+
<transaction type="Payment">
|
72
|
+
<id>1217e70304774f0b9d134c783900adae</id>
|
73
|
+
<account_code>transaction-create-with-accout-1311126815</account_code>
|
74
|
+
<action>purchase</action>
|
75
|
+
<date type="datetime">2011-09-22T22:02:11Z</date>
|
76
|
+
<amount_in_cents type="integer">700</amount_in_cents>
|
77
|
+
<currency>USD</currency>
|
78
|
+
<status>success</status>
|
79
|
+
<message>Test Gateway: Successful test transaction</message>
|
80
|
+
<reference>12345</reference>
|
81
|
+
<cvv_result code="M">Match</cvv_result>
|
82
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
83
|
+
<avs_result_street>Y</avs_result_street>
|
84
|
+
<avs_result_postal>Y</avs_result_postal>
|
85
|
+
<test type="boolean">true</test>
|
86
|
+
<voidable type="boolean">true</voidable>
|
87
|
+
<refundable type="boolean">true</refundable>
|
88
|
+
</transaction>
|
89
|
+
<transaction type="Payment">
|
90
|
+
<id>fc19f2e2955e4e6aa92f635d717bc155</id>
|
91
|
+
<account_code>subscription-refund-none-1296674173</account_code>
|
92
|
+
<action>purchase</action>
|
93
|
+
<date type="datetime">2011-09-22T22:02:10Z</date>
|
94
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
95
|
+
<currency>USD</currency>
|
96
|
+
<status>success</status>
|
97
|
+
<message>Test Gateway: Successful test transaction</message>
|
98
|
+
<reference>12345</reference>
|
99
|
+
<cvv_result code="M">Match</cvv_result>
|
100
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
101
|
+
<avs_result_street>Y</avs_result_street>
|
102
|
+
<avs_result_postal>Y</avs_result_postal>
|
103
|
+
<test type="boolean">true</test>
|
104
|
+
<voidable type="boolean">true</voidable>
|
105
|
+
<refundable type="boolean">true</refundable>
|
106
|
+
</transaction>
|
107
|
+
<transaction type="Payment">
|
108
|
+
<id>22cf96b47da94ecc8a40c3710c725f1c</id>
|
109
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
110
|
+
<action>purchase</action>
|
111
|
+
<date type="datetime">2011-09-22T22:02:08Z</date>
|
112
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
113
|
+
<currency>USD</currency>
|
114
|
+
<status>success</status>
|
115
|
+
<message>Test Gateway: Successful test transaction</message>
|
116
|
+
<reference>12345</reference>
|
117
|
+
<cvv_result code="M">Match</cvv_result>
|
118
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
119
|
+
<avs_result_street>Y</avs_result_street>
|
120
|
+
<avs_result_postal>Y</avs_result_postal>
|
121
|
+
<test type="boolean">true</test>
|
122
|
+
<voidable type="boolean">true</voidable>
|
123
|
+
<refundable type="boolean">true</refundable>
|
124
|
+
</transaction>
|
125
|
+
<transaction type="Payment">
|
126
|
+
<id>99fc30f3435c476fac16717eaba27440</id>
|
127
|
+
<account_code>subscription-refund-full-1296674173</account_code>
|
128
|
+
<action>purchase</action>
|
129
|
+
<date type="datetime">2011-09-22T22:02:06Z</date>
|
130
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
131
|
+
<currency>USD</currency>
|
132
|
+
<status>void</status>
|
133
|
+
<message>Test Gateway: Successful test transaction</message>
|
134
|
+
<reference>12345</reference>
|
135
|
+
<cvv_result code="M">Match</cvv_result>
|
136
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
137
|
+
<avs_result_street>Y</avs_result_street>
|
138
|
+
<avs_result_postal>Y</avs_result_postal>
|
139
|
+
<test type="boolean">true</test>
|
140
|
+
<voidable type="boolean">false</voidable>
|
141
|
+
<refundable type="boolean">false</refundable>
|
142
|
+
</transaction>
|
143
|
+
<transaction type="Payment">
|
144
|
+
<id>d31e8187afda4ec29c62f0784fdcade9</id>
|
145
|
+
<account_code>subscription-cancel-with-code-1296674173</account_code>
|
146
|
+
<action>purchase</action>
|
147
|
+
<date type="datetime">2011-09-22T22:02:05Z</date>
|
148
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
149
|
+
<currency>USD</currency>
|
150
|
+
<status>success</status>
|
151
|
+
<message>Test Gateway: Successful test transaction</message>
|
152
|
+
<reference>12345</reference>
|
153
|
+
<cvv_result code="M">Match</cvv_result>
|
154
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
155
|
+
<avs_result_street>Y</avs_result_street>
|
156
|
+
<avs_result_postal>Y</avs_result_postal>
|
157
|
+
<test type="boolean">true</test>
|
158
|
+
<voidable type="boolean">true</voidable>
|
159
|
+
<refundable type="boolean">true</refundable>
|
160
|
+
</transaction>
|
161
|
+
<transaction type="Payment">
|
162
|
+
<id>a44d3acbb0b8420e8bf565b28488ab8d</id>
|
163
|
+
<account_code>subscription-cancel-1296674173</account_code>
|
164
|
+
<action>purchase</action>
|
165
|
+
<date type="datetime">2011-09-22T22:02:03Z</date>
|
166
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
167
|
+
<currency>USD</currency>
|
168
|
+
<status>success</status>
|
169
|
+
<message>Test Gateway: Successful test transaction</message>
|
170
|
+
<reference>12345</reference>
|
171
|
+
<cvv_result code="M">Match</cvv_result>
|
172
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
173
|
+
<avs_result_street>Y</avs_result_street>
|
174
|
+
<avs_result_postal>Y</avs_result_postal>
|
175
|
+
<test type="boolean">true</test>
|
176
|
+
<voidable type="boolean">true</voidable>
|
177
|
+
<refundable type="boolean">true</refundable>
|
178
|
+
</transaction>
|
179
|
+
<transaction type="Payment">
|
180
|
+
<id>325b37c62a4f4991ade9532e63673bd9</id>
|
181
|
+
<account_code>subscription-reactivate-1296674173</account_code>
|
182
|
+
<action>purchase</action>
|
183
|
+
<date type="datetime">2011-09-22T22:02:01Z</date>
|
184
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
185
|
+
<currency>USD</currency>
|
186
|
+
<status>success</status>
|
187
|
+
<message>Test Gateway: Successful test transaction</message>
|
188
|
+
<reference>12345</reference>
|
189
|
+
<cvv_result code="M">Match</cvv_result>
|
190
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
191
|
+
<avs_result_street>Y</avs_result_street>
|
192
|
+
<avs_result_postal>Y</avs_result_postal>
|
193
|
+
<test type="boolean">true</test>
|
194
|
+
<voidable type="boolean">true</voidable>
|
195
|
+
<refundable type="boolean">true</refundable>
|
196
|
+
</transaction>
|
197
|
+
<transaction type="Payment">
|
198
|
+
<id>8df0408b6253427dbd456e5965825395</id>
|
199
|
+
<account_code>1296674173</account_code>
|
200
|
+
<action>purchase</action>
|
201
|
+
<date type="datetime">2011-09-22T22:02:00Z</date>
|
202
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
203
|
+
<currency>USD</currency>
|
204
|
+
<status>success</status>
|
205
|
+
<message>Test Gateway: Successful test transaction</message>
|
206
|
+
<reference>12345</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>Y</avs_result_street>
|
210
|
+
<avs_result_postal>Y</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>b408b3bf98e64476a04b154130db474f</id>
|
217
|
+
<account_code>subscription-change1-1296674173</account_code>
|
218
|
+
<action>purchase</action>
|
219
|
+
<date type="datetime">2011-09-22T22:01:58Z</date>
|
220
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
221
|
+
<currency>USD</currency>
|
222
|
+
<status>success</status>
|
223
|
+
<message>Test Gateway: Successful test transaction</message>
|
224
|
+
<reference>12345</reference>
|
225
|
+
<cvv_result code="M">Match</cvv_result>
|
226
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
227
|
+
<avs_result_street>Y</avs_result_street>
|
228
|
+
<avs_result_postal>Y</avs_result_postal>
|
229
|
+
<test type="boolean">true</test>
|
230
|
+
<voidable type="boolean">true</voidable>
|
231
|
+
<refundable type="boolean">true</refundable>
|
232
|
+
</transaction>
|
233
|
+
<transaction type="Payment">
|
234
|
+
<id>df4907cd2bd24322b68711c1ac604643</id>
|
235
|
+
<account_code>subscription-create-1296674173</account_code>
|
236
|
+
<action>purchase</action>
|
237
|
+
<date type="datetime">2011-09-22T22:01:57Z</date>
|
238
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
239
|
+
<currency>USD</currency>
|
240
|
+
<status>success</status>
|
241
|
+
<message>Test Gateway: Successful test transaction</message>
|
242
|
+
<reference>12345</reference>
|
243
|
+
<cvv_result code="M">Match</cvv_result>
|
244
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
245
|
+
<avs_result_street>Y</avs_result_street>
|
246
|
+
<avs_result_postal>Y</avs_result_postal>
|
247
|
+
<test type="boolean">true</test>
|
248
|
+
<voidable type="boolean">true</voidable>
|
249
|
+
<refundable type="boolean">true</refundable>
|
250
|
+
</transaction>
|
251
|
+
<transaction type="Payment">
|
252
|
+
<id>290694903dac4fc3ac659893ce155177</id>
|
253
|
+
<account_code>subscription-find-1296674173</account_code>
|
254
|
+
<action>purchase</action>
|
255
|
+
<date type="datetime">2011-09-22T22:01:55Z</date>
|
256
|
+
<amount_in_cents type="integer">1400</amount_in_cents>
|
257
|
+
<currency>USD</currency>
|
258
|
+
<status>success</status>
|
259
|
+
<message>Test Gateway: Successful test transaction</message>
|
260
|
+
<reference>12345</reference>
|
261
|
+
<cvv_result code="M">Match</cvv_result>
|
262
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
263
|
+
<avs_result_street>Y</avs_result_street>
|
264
|
+
<avs_result_postal>Y</avs_result_postal>
|
265
|
+
<test type="boolean">true</test>
|
266
|
+
<voidable type="boolean">true</voidable>
|
267
|
+
<refundable type="boolean">true</refundable>
|
268
|
+
</transaction>
|
269
|
+
<transaction type="Payment">
|
270
|
+
<id>08f79f7d5874483faf63794237ff7ac5</id>
|
271
|
+
<account_code>invoice-lookup-1296674173</account_code>
|
272
|
+
<action>authorization</action>
|
273
|
+
<date type="datetime">2011-09-22T22:01:53Z</date>
|
274
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
275
|
+
<currency>USD</currency>
|
276
|
+
<status>success</status>
|
277
|
+
<message>Test Gateway: Successful test transaction</message>
|
278
|
+
<reference>12345</reference>
|
279
|
+
<cvv_result code="M">Match</cvv_result>
|
280
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
281
|
+
<avs_result_street>Y</avs_result_street>
|
282
|
+
<avs_result_postal>Y</avs_result_postal>
|
283
|
+
<test type="boolean">true</test>
|
284
|
+
<voidable type="boolean">false</voidable>
|
285
|
+
<refundable type="boolean">false</refundable>
|
286
|
+
</transaction>
|
287
|
+
<transaction type="Payment">
|
288
|
+
<id>d3c511c3658942f7a67705e90db7133c</id>
|
289
|
+
<account_code>invoice-list-1296674173</account_code>
|
290
|
+
<action>authorization</action>
|
291
|
+
<date type="datetime">2011-09-22T22:01:51Z</date>
|
292
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
293
|
+
<currency>USD</currency>
|
294
|
+
<status>success</status>
|
295
|
+
<message>Test Gateway: Successful test transaction</message>
|
296
|
+
<reference>12345</reference>
|
297
|
+
<cvv_result code="M">Match</cvv_result>
|
298
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
299
|
+
<avs_result_street>Y</avs_result_street>
|
300
|
+
<avs_result_postal>Y</avs_result_postal>
|
301
|
+
<test type="boolean">true</test>
|
302
|
+
<voidable type="boolean">false</voidable>
|
303
|
+
<refundable type="boolean">false</refundable>
|
304
|
+
</transaction>
|
305
|
+
<transaction type="Payment">
|
306
|
+
<id>fa0504154e8048b68e058dd265864c14</id>
|
307
|
+
<account_code>invoice-create-no-charges-1296674173</account_code>
|
308
|
+
<action>authorization</action>
|
309
|
+
<date type="datetime">2011-09-22T22:01:50Z</date>
|
310
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
311
|
+
<currency>USD</currency>
|
312
|
+
<status>success</status>
|
313
|
+
<message>Test Gateway: Successful test transaction</message>
|
314
|
+
<reference>12345</reference>
|
315
|
+
<cvv_result code="M">Match</cvv_result>
|
316
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
317
|
+
<avs_result_street>Y</avs_result_street>
|
318
|
+
<avs_result_postal>Y</avs_result_postal>
|
319
|
+
<test type="boolean">true</test>
|
320
|
+
<voidable type="boolean">false</voidable>
|
321
|
+
<refundable type="boolean">false</refundable>
|
322
|
+
</transaction>
|
323
|
+
<transaction type="Payment">
|
324
|
+
<id>b9a9389f31e443afa3a42fb0a31edf97</id>
|
325
|
+
<account_code>invoice-create-1296674173</account_code>
|
326
|
+
<action>authorization</action>
|
327
|
+
<date type="datetime">2011-09-22T22:01:49Z</date>
|
328
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
329
|
+
<currency>USD</currency>
|
330
|
+
<status>success</status>
|
331
|
+
<message>Test Gateway: Successful test transaction</message>
|
332
|
+
<reference>12345</reference>
|
333
|
+
<cvv_result code="M">Match</cvv_result>
|
334
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
335
|
+
<avs_result_street>Y</avs_result_street>
|
336
|
+
<avs_result_postal>Y</avs_result_postal>
|
337
|
+
<test type="boolean">true</test>
|
338
|
+
<voidable type="boolean">false</voidable>
|
339
|
+
<refundable type="boolean">false</refundable>
|
340
|
+
</transaction>
|
341
|
+
<transaction type="Payment">
|
342
|
+
<id>46c6b7f7423641df960f5ece479068d5</id>
|
343
|
+
<account_code>charge-create-1313708721</account_code>
|
344
|
+
<action>authorization</action>
|
345
|
+
<date type="datetime">2011-09-22T22:01:45Z</date>
|
346
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
347
|
+
<currency>USD</currency>
|
348
|
+
<status>success</status>
|
349
|
+
<message>Test Gateway: Successful test transaction</message>
|
350
|
+
<reference>12345</reference>
|
351
|
+
<cvv_result code="M">Match</cvv_result>
|
352
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
353
|
+
<avs_result_street>Y</avs_result_street>
|
354
|
+
<avs_result_postal>Y</avs_result_postal>
|
355
|
+
<test type="boolean">true</test>
|
356
|
+
<voidable type="boolean">false</voidable>
|
357
|
+
<refundable type="boolean">false</refundable>
|
358
|
+
</transaction>
|
359
|
+
<transaction type="Payment">
|
360
|
+
<id>bf923269b2264e7e9bc202d7fc59eff0</id>
|
361
|
+
<account_code>billing-destroy-1313708721</account_code>
|
362
|
+
<action>authorization</action>
|
363
|
+
<date type="datetime">2011-09-22T22:01:42Z</date>
|
364
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
365
|
+
<currency>USD</currency>
|
366
|
+
<status>success</status>
|
367
|
+
<message>Test Gateway: Successful test transaction</message>
|
368
|
+
<reference>12345</reference>
|
369
|
+
<cvv_result code="M">Match</cvv_result>
|
370
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
371
|
+
<avs_result_street>Y</avs_result_street>
|
372
|
+
<avs_result_postal>Y</avs_result_postal>
|
373
|
+
<test type="boolean">true</test>
|
374
|
+
<voidable type="boolean">false</voidable>
|
375
|
+
<refundable type="boolean">false</refundable>
|
376
|
+
</transaction>
|
377
|
+
<transaction type="Payment">
|
378
|
+
<id>5a63d31bd44c406da3d641107d1dadf4</id>
|
379
|
+
<account_code>billing-find-1313708721</account_code>
|
380
|
+
<action>authorization</action>
|
381
|
+
<date type="datetime">2011-09-22T22:01:41Z</date>
|
382
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
383
|
+
<currency>USD</currency>
|
384
|
+
<status>success</status>
|
385
|
+
<message>Test Gateway: Successful test transaction</message>
|
386
|
+
<reference>12345</reference>
|
387
|
+
<cvv_result code="M">Match</cvv_result>
|
388
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
389
|
+
<avs_result_street>Y</avs_result_street>
|
390
|
+
<avs_result_postal>Y</avs_result_postal>
|
391
|
+
<test type="boolean">true</test>
|
392
|
+
<voidable type="boolean">false</voidable>
|
393
|
+
<refundable type="boolean">false</refundable>
|
394
|
+
</transaction>
|
395
|
+
</transactions>
|
396
|
+
|
397
|
+
http_version: "1.1"
|