recurly 0.3.2 → 0.3.3
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/LICENSE +1 -1
- data/README.md +4 -4
- data/lib/recurly.rb +8 -1
- data/lib/recurly/account.rb +5 -0
- data/lib/recurly/coupon.rb +5 -0
- data/lib/recurly/rails3/recurly.rake +3 -18
- data/lib/recurly/version.rb +1 -1
- data/spec/config/{test.yml → test1.yml} +0 -0
- data/spec/config/test2.yml +9 -0
- data/spec/integration/account_spec.rb +3 -3
- data/spec/integration/billing_info_spec.rb +4 -8
- data/spec/integration/coupon_spec.rb +49 -0
- data/spec/integration/plan_spec.rb +0 -28
- data/spec/integration/transaction_spec.rb +3 -3
- data/spec/spec_helper.rb +6 -0
- data/spec/support/factory.rb +1 -1
- data/spec/unit/config_spec.rb +9 -2
- data/spec/vcr/account/accept-language-account/{1294473653.yml → 1296674173.yml} +29 -27
- data/spec/vcr/account/close/{1294473761.yml → 1296674173.yml} +71 -67
- data/spec/vcr/account/create-blank/{1294473761.yml → 1296674173.yml} +20 -18
- data/spec/vcr/account/create-duplicate/{1294473761.yml → 1296674173.yml} +42 -38
- data/spec/vcr/account/create-min/{1294473761.yml → 1296674173.yml} +26 -24
- data/spec/vcr/account/create/{1294473761.yml → 1296674173.yml} +29 -27
- data/spec/vcr/account/find/{1294473761.yml → 1296674173.yml} +71 -63
- data/spec/vcr/account/list/1296674173.yml +55 -0
- data/spec/vcr/account/update/{1294473761.yml → 1296674173.yml} +113 -107
- data/spec/vcr/billing/create/{1286682213.yml → 1296690812.yml} +86 -82
- data/spec/vcr/billing/destroy/{1286682213.yml → 1296690812.yml} +126 -142
- data/spec/vcr/billing/find/{1286682213.yml → 1296690812.yml} +115 -109
- data/spec/vcr/billing/update/{1286682213.yml → 1296690812.yml} +119 -115
- data/spec/vcr/charge/create/{1287465632.yml → 1296674173.yml} +109 -103
- data/spec/vcr/charge/delete-uninvoiced/{1287465632.yml → 1296674173.yml} +129 -117
- data/spec/vcr/charge/list-all/{1287465632.yml → 1296674173.yml} +131 -121
- data/spec/vcr/charge/list-invoiced/{1287465632.yml → 1296674173.yml} +195 -177
- data/spec/vcr/charge/list-pending/{1287465632.yml → 1296674173.yml} +131 -121
- data/spec/vcr/charge/lookup/{1287465632.yml → 1296674173.yml} +77 -71
- data/spec/vcr/coupon/create/1296688818.yml +183 -0
- data/spec/vcr/coupon/create/1296774903.yml +183 -0
- data/spec/vcr/coupon/destroy/1296688818.yml +207 -0
- data/spec/vcr/coupon/destroy/1296774903.yml +207 -0
- data/spec/vcr/credit/create/1296674173.yml +121 -0
- data/spec/vcr/credit/delete/1296674173.yml +121 -0
- data/spec/vcr/credit/list/1296674173.yml +121 -0
- data/spec/vcr/credit/lookup/1296674173.yml +121 -0
- data/spec/vcr/invoice/create-no-charges/{1287167121.yml → 1296674173.yml} +79 -75
- data/spec/vcr/invoice/create/{1287167121.yml → 1296674173.yml} +141 -130
- data/spec/vcr/invoice/list/{1287167121.yml → 1296674173.yml} +196 -180
- data/spec/vcr/invoice/lookup/{1287167121.yml → 1296674173.yml} +145 -133
- data/spec/vcr/plan/all.yml +86 -136
- data/spec/vcr/plan/delete/{1286677585.yml → 1296674173.yml} +87 -79
- data/spec/vcr/plan/find.yml +73 -91
- data/spec/vcr/plan/update.yml +80 -76
- data/spec/vcr/subscription/addons/add/1296674173.yml +225 -0
- data/spec/vcr/subscription/addons/create/1296674173.yml +225 -0
- data/spec/vcr/subscription/addons/remove/1296674173.yml +225 -0
- data/spec/vcr/subscription/cancel-with-code/{1287455769.yml → 1296674173.yml} +201 -201
- data/spec/vcr/subscription/cancel/{1287455769.yml → 1296674173.yml} +173 -175
- data/spec/vcr/subscription/change1/{1287455769.yml → 1296674173.yml} +172 -174
- data/spec/vcr/subscription/change2/{1287455769.yml → 1296674173.yml} +172 -174
- data/spec/vcr/subscription/create/{1287455769.yml → 1296674173.yml} +93 -99
- data/spec/vcr/subscription/find/{1287455769.yml → 1296674173.yml} +119 -123
- data/spec/vcr/subscription/reactivate/{1287455769.yml → 1296674173.yml} +194 -196
- data/spec/vcr/subscription/{refund-none/1287455769.yml → refund-full/1296674173.yml} +162 -162
- data/spec/vcr/subscription/{refund-full/1287455769.yml → refund-none/1296674173.yml} +162 -162
- data/spec/vcr/subscription/refund-partial/{1287455769.yml → 1296674173.yml} +162 -162
- data/spec/vcr/transaction/all/{1289558212.yml → 1296674173.yml} +155 -153
- data/spec/vcr/transaction/create-no-account/{1289558212.yml → 1296674173.yml} +37 -35
- data/spec/vcr/transaction/create-with-account/{1289558212.yml → 1296674173.yml} +91 -87
- data/spec/vcr/transaction/list-filled/{1289558212.yml → 1296674173.yml} +200 -190
- data/spec/vcr/transaction/list-initial/{1289558212.yml → 1296674173.yml} +92 -88
- data/spec/vcr/transaction/lookup/{1289558212.yml → 1296674173.yml} +241 -227
- data/spec/vcr/transaction/refund/{1289558212.yml → 1296674173.yml} +119 -115
- data/spec/vcr/transaction/void/1296674173.yml +352 -0
- metadata +122 -122
- data/spec/config/recurly.yml +0 -4
- data/spec/vcr/account/accept-language-account/1294473761.yml +0 -68
- data/spec/vcr/account/accept-language/1294473117.yml +0 -167
- data/spec/vcr/account/list/1294473761.yml +0 -1597
- data/spec/vcr/credit/create/1287461400.yml +0 -174
- data/spec/vcr/credit/delete/1287461400.yml +0 -249
- data/spec/vcr/credit/list/1287461400.yml +0 -306
- data/spec/vcr/credit/lookup/1287461400.yml +0 -174
- data/spec/vcr/subscription/addons/add/1292420980.yml +0 -479
- data/spec/vcr/subscription/addons/create/1292420980.yml +0 -318
- data/spec/vcr/subscription/addons/remove/1292420980.yml +0 -448
- data/spec/vcr/transaction/void/1289558212.yml +0 -601
@@ -2,119 +2,121 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri:
|
5
|
+
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
|
6
6
|
body:
|
7
7
|
headers:
|
8
|
+
authorization:
|
9
|
+
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
8
10
|
accept:
|
9
11
|
- application/xml
|
12
|
+
accept-encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
user-agent:
|
15
|
+
- Ruby
|
10
16
|
connection:
|
11
17
|
- close
|
12
|
-
authorization:
|
13
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
14
18
|
response: !ruby/struct:VCR::Response
|
15
19
|
status: !ruby/struct:VCR::ResponseStatus
|
16
20
|
code: 200
|
17
|
-
message: OK
|
21
|
+
message: "OK "
|
18
22
|
headers:
|
19
|
-
x-
|
20
|
-
-
|
21
|
-
etag:
|
22
|
-
- "\"680edba43bb6af5c437c8a5ebfa1dc83\""
|
23
|
-
connection:
|
24
|
-
- close
|
23
|
+
x-runtime:
|
24
|
+
- "1485"
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
|
-
|
28
|
-
- "
|
29
|
-
date:
|
30
|
-
- Sat, 08 Jan 2011 08:06:27 GMT
|
31
|
-
server:
|
32
|
-
- nginx/0.8.53
|
33
|
-
content-length:
|
34
|
-
- "15414"
|
35
|
-
set-cookie:
|
36
|
-
- _recurly_session=a1b26954f4a02426f3bc9d7a11815558; domain=.recurly.com; path=/; secure; HttpOnly
|
27
|
+
etag:
|
28
|
+
- "\"a6ec4006524f4c9cb8156687a3844f74\""
|
37
29
|
cache-control:
|
38
30
|
- private, max-age=0, must-revalidate
|
31
|
+
content-length:
|
32
|
+
- "15540"
|
33
|
+
server:
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
35
|
+
date:
|
36
|
+
- Thu, 03 Feb 2011 22:24:43 GMT
|
37
|
+
connection:
|
38
|
+
- close
|
39
|
+
set-cookie:
|
40
|
+
- _recurly_session=7604ba3a0b22b6cf4187340d49300e1e; domain=.recurly.local; path=/; HttpOnly
|
39
41
|
body: |
|
40
42
|
<?xml version="1.0" encoding="UTF-8"?>
|
41
43
|
<transactions type="collection">
|
42
44
|
<current_page type="integer">1</current_page>
|
43
45
|
<per_page type="integer">20</per_page>
|
44
|
-
<total_entries type="integer">
|
46
|
+
<total_entries type="integer">25</total_entries>
|
45
47
|
<transaction type="Payment">
|
46
|
-
<id>
|
47
|
-
<account_code>transaction-create-with-account-
|
48
|
+
<id>7a53ae4b1d7d4f768010ca03f8a91210</id>
|
49
|
+
<account_code>transaction-create-with-account-1296674173</account_code>
|
48
50
|
<action>purchase</action>
|
49
|
-
<date type="datetime">2011-
|
51
|
+
<date type="datetime">2011-02-03T22:24:37Z</date>
|
50
52
|
<amount_in_cents type="integer">700</amount_in_cents>
|
51
53
|
<status>success</status>
|
52
54
|
<message>Test Gateway: Successful test transaction</message>
|
53
|
-
<reference
|
55
|
+
<reference>12345</reference>
|
54
56
|
<cvv_result code="M">Match</cvv_result>
|
55
57
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
56
|
-
<avs_result_street
|
57
|
-
<avs_result_postal
|
58
|
+
<avs_result_street>Y</avs_result_street>
|
59
|
+
<avs_result_postal>Y</avs_result_postal>
|
58
60
|
<test type="boolean">true</test>
|
59
61
|
<voidable type="boolean">true</voidable>
|
60
62
|
<refundable type="boolean">true</refundable>
|
61
63
|
</transaction>
|
62
64
|
<transaction type="Payment">
|
63
|
-
<id>
|
64
|
-
<account_code>transaction-create-with-account-
|
65
|
+
<id>3aa9126e7c19407e8ebc395b8bcf2238</id>
|
66
|
+
<account_code>transaction-create-with-account-1296674173</account_code>
|
65
67
|
<action>authorization</action>
|
66
|
-
<date type="datetime">2011-
|
67
|
-
<amount_in_cents type="integer">
|
68
|
-
<status>
|
68
|
+
<date type="datetime">2011-02-03T22:24:33Z</date>
|
69
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
70
|
+
<status>success</status>
|
69
71
|
<message>Test Gateway: Successful test transaction</message>
|
70
|
-
<reference
|
72
|
+
<reference>12345</reference>
|
71
73
|
<cvv_result code="M">Match</cvv_result>
|
72
74
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
73
|
-
<avs_result_street
|
74
|
-
<avs_result_postal
|
75
|
+
<avs_result_street>Y</avs_result_street>
|
76
|
+
<avs_result_postal>Y</avs_result_postal>
|
75
77
|
<test type="boolean">true</test>
|
76
78
|
<voidable type="boolean">false</voidable>
|
77
|
-
<refundable type="boolean">
|
79
|
+
<refundable type="boolean">true</refundable>
|
78
80
|
</transaction>
|
79
81
|
<transaction type="Payment">
|
80
|
-
<id>
|
81
|
-
<account_code>transaction-create-with-accout-
|
82
|
+
<id>bada094d35ec4ca8822320bb8062a8c9</id>
|
83
|
+
<account_code>transaction-create-with-accout-1296674173</account_code>
|
82
84
|
<action>purchase</action>
|
83
|
-
<date type="datetime">2011-
|
85
|
+
<date type="datetime">2011-02-03T22:24:24Z</date>
|
84
86
|
<amount_in_cents type="integer">700</amount_in_cents>
|
85
87
|
<status>success</status>
|
86
88
|
<message>Test Gateway: Successful test transaction</message>
|
87
|
-
<reference
|
89
|
+
<reference>12345</reference>
|
88
90
|
<cvv_result code="M">Match</cvv_result>
|
89
91
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
90
|
-
<avs_result_street
|
91
|
-
<avs_result_postal
|
92
|
+
<avs_result_street>Y</avs_result_street>
|
93
|
+
<avs_result_postal>Y</avs_result_postal>
|
92
94
|
<test type="boolean">true</test>
|
93
95
|
<voidable type="boolean">true</voidable>
|
94
96
|
<refundable type="boolean">true</refundable>
|
95
97
|
</transaction>
|
96
98
|
<transaction type="Payment">
|
97
|
-
<id>
|
98
|
-
<account_code>subscription-refund-none-
|
99
|
+
<id>ded3e61eab3944119e3406eb2f1ce71d</id>
|
100
|
+
<account_code>subscription-refund-none-1296674173</account_code>
|
99
101
|
<action>purchase</action>
|
100
|
-
<date type="datetime">2011-
|
102
|
+
<date type="datetime">2011-02-03T22:24:09Z</date>
|
101
103
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
102
104
|
<status>success</status>
|
103
105
|
<message>Test Gateway: Successful test transaction</message>
|
104
|
-
<reference
|
106
|
+
<reference>12345</reference>
|
105
107
|
<cvv_result code="M">Match</cvv_result>
|
106
108
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
107
|
-
<avs_result_street
|
108
|
-
<avs_result_postal
|
109
|
+
<avs_result_street>Y</avs_result_street>
|
110
|
+
<avs_result_postal>Y</avs_result_postal>
|
109
111
|
<test type="boolean">true</test>
|
110
112
|
<voidable type="boolean">true</voidable>
|
111
113
|
<refundable type="boolean">true</refundable>
|
112
114
|
</transaction>
|
113
115
|
<transaction type="Refund">
|
114
|
-
<id>
|
115
|
-
<account_code>subscription-refund-partial-
|
116
|
+
<id>c3fe3fec44204dd79bb87f42d4bc8663</id>
|
117
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
116
118
|
<action>credit</action>
|
117
|
-
<date type="datetime">2011-
|
119
|
+
<date type="datetime">2011-02-03T22:23:56Z</date>
|
118
120
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
119
121
|
<status>success</status>
|
120
122
|
<message>Bogus Gateway: Forced success</message>
|
@@ -128,27 +130,27 @@
|
|
128
130
|
<refundable type="boolean">false</refundable>
|
129
131
|
</transaction>
|
130
132
|
<transaction type="Payment">
|
131
|
-
<id>
|
132
|
-
<account_code>subscription-refund-partial-
|
133
|
+
<id>b6b0346b3dcc4887b5832c5ac249285a</id>
|
134
|
+
<account_code>subscription-refund-partial-1296674173</account_code>
|
133
135
|
<action>purchase</action>
|
134
|
-
<date type="datetime">2011-
|
136
|
+
<date type="datetime">2011-02-03T22:23:47Z</date>
|
135
137
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
136
138
|
<status>success</status>
|
137
139
|
<message>Test Gateway: Successful test transaction</message>
|
138
|
-
<reference
|
140
|
+
<reference>12345</reference>
|
139
141
|
<cvv_result code="M">Match</cvv_result>
|
140
142
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
141
|
-
<avs_result_street
|
142
|
-
<avs_result_postal
|
143
|
+
<avs_result_street>Y</avs_result_street>
|
144
|
+
<avs_result_postal>Y</avs_result_postal>
|
143
145
|
<test type="boolean">true</test>
|
144
146
|
<voidable type="boolean">false</voidable>
|
145
147
|
<refundable type="boolean">false</refundable>
|
146
148
|
</transaction>
|
147
149
|
<transaction type="Refund">
|
148
|
-
<id>
|
149
|
-
<account_code>subscription-refund-full-
|
150
|
+
<id>89986e7666b24c16b4d9f2490b9c59cb</id>
|
151
|
+
<account_code>subscription-refund-full-1296674173</account_code>
|
150
152
|
<action>credit</action>
|
151
|
-
<date type="datetime">2011-
|
153
|
+
<date type="datetime">2011-02-03T22:23:35Z</date>
|
152
154
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
153
155
|
<status>success</status>
|
154
156
|
<message>Bogus Gateway: Forced success</message>
|
@@ -162,225 +164,225 @@
|
|
162
164
|
<refundable type="boolean">false</refundable>
|
163
165
|
</transaction>
|
164
166
|
<transaction type="Payment">
|
165
|
-
<id>
|
166
|
-
<account_code>subscription-refund-full-
|
167
|
+
<id>8ed312129a6b4a2da9e4ac4c4f8f15aa</id>
|
168
|
+
<account_code>subscription-refund-full-1296674173</account_code>
|
167
169
|
<action>purchase</action>
|
168
|
-
<date type="datetime">2011-
|
170
|
+
<date type="datetime">2011-02-03T22:23:27Z</date>
|
169
171
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
170
172
|
<status>success</status>
|
171
173
|
<message>Test Gateway: Successful test transaction</message>
|
172
|
-
<reference
|
174
|
+
<reference>12345</reference>
|
173
175
|
<cvv_result code="M">Match</cvv_result>
|
174
176
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
175
|
-
<avs_result_street
|
176
|
-
<avs_result_postal
|
177
|
+
<avs_result_street>Y</avs_result_street>
|
178
|
+
<avs_result_postal>Y</avs_result_postal>
|
177
179
|
<test type="boolean">true</test>
|
178
180
|
<voidable type="boolean">false</voidable>
|
179
181
|
<refundable type="boolean">false</refundable>
|
180
182
|
</transaction>
|
181
183
|
<transaction type="Payment">
|
182
|
-
<id>
|
183
|
-
<account_code>subscription-cancel-with-code-
|
184
|
+
<id>fef11da45dd64f47bcfda882b0646324</id>
|
185
|
+
<account_code>subscription-cancel-with-code-1296674173</account_code>
|
184
186
|
<action>purchase</action>
|
185
|
-
<date type="datetime">2011-
|
187
|
+
<date type="datetime">2011-02-03T22:23:05Z</date>
|
186
188
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
187
189
|
<status>success</status>
|
188
190
|
<message>Test Gateway: Successful test transaction</message>
|
189
|
-
<reference
|
191
|
+
<reference>12345</reference>
|
190
192
|
<cvv_result code="M">Match</cvv_result>
|
191
193
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
192
|
-
<avs_result_street
|
193
|
-
<avs_result_postal
|
194
|
+
<avs_result_street>Y</avs_result_street>
|
195
|
+
<avs_result_postal>Y</avs_result_postal>
|
194
196
|
<test type="boolean">true</test>
|
195
197
|
<voidable type="boolean">true</voidable>
|
196
198
|
<refundable type="boolean">true</refundable>
|
197
199
|
</transaction>
|
198
200
|
<transaction type="Payment">
|
199
|
-
<id>
|
200
|
-
<account_code>subscription-cancel-
|
201
|
+
<id>7fb00ca83fe44839977a8ce9c99349d9</id>
|
202
|
+
<account_code>subscription-cancel-1296674173</account_code>
|
201
203
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2011-
|
204
|
+
<date type="datetime">2011-02-03T22:22:45Z</date>
|
203
205
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
204
206
|
<status>success</status>
|
205
207
|
<message>Test Gateway: Successful test transaction</message>
|
206
|
-
<reference
|
208
|
+
<reference>12345</reference>
|
207
209
|
<cvv_result code="M">Match</cvv_result>
|
208
210
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
209
|
-
<avs_result_street
|
210
|
-
<avs_result_postal
|
211
|
+
<avs_result_street>Y</avs_result_street>
|
212
|
+
<avs_result_postal>Y</avs_result_postal>
|
211
213
|
<test type="boolean">true</test>
|
212
214
|
<voidable type="boolean">true</voidable>
|
213
215
|
<refundable type="boolean">true</refundable>
|
214
216
|
</transaction>
|
215
217
|
<transaction type="Payment">
|
216
|
-
<id>
|
217
|
-
<account_code>subscription-reactivate-
|
218
|
+
<id>c86caacefde449d48e4cf21988014b36</id>
|
219
|
+
<account_code>subscription-reactivate-1296674173</account_code>
|
218
220
|
<action>purchase</action>
|
219
|
-
<date type="datetime">2011-
|
221
|
+
<date type="datetime">2011-02-03T22:22:21Z</date>
|
220
222
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
221
223
|
<status>success</status>
|
222
224
|
<message>Test Gateway: Successful test transaction</message>
|
223
|
-
<reference
|
225
|
+
<reference>12345</reference>
|
224
226
|
<cvv_result code="M">Match</cvv_result>
|
225
227
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
226
|
-
<avs_result_street
|
227
|
-
<avs_result_postal
|
228
|
+
<avs_result_street>Y</avs_result_street>
|
229
|
+
<avs_result_postal>Y</avs_result_postal>
|
228
230
|
<test type="boolean">true</test>
|
229
231
|
<voidable type="boolean">true</voidable>
|
230
232
|
<refundable type="boolean">true</refundable>
|
231
233
|
</transaction>
|
232
234
|
<transaction type="Payment">
|
233
|
-
<id>
|
234
|
-
<account_code>
|
235
|
+
<id>c4c6b6098c09497e93353e4d6153337c</id>
|
236
|
+
<account_code>1296674173</account_code>
|
235
237
|
<action>purchase</action>
|
236
|
-
<date type="datetime">2011-
|
238
|
+
<date type="datetime">2011-02-03T22:22:00Z</date>
|
237
239
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
238
240
|
<status>success</status>
|
239
241
|
<message>Test Gateway: Successful test transaction</message>
|
240
|
-
<reference
|
242
|
+
<reference>12345</reference>
|
241
243
|
<cvv_result code="M">Match</cvv_result>
|
242
244
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
243
|
-
<avs_result_street
|
244
|
-
<avs_result_postal
|
245
|
+
<avs_result_street>Y</avs_result_street>
|
246
|
+
<avs_result_postal>Y</avs_result_postal>
|
245
247
|
<test type="boolean">true</test>
|
246
248
|
<voidable type="boolean">true</voidable>
|
247
249
|
<refundable type="boolean">true</refundable>
|
248
250
|
</transaction>
|
249
251
|
<transaction type="Payment">
|
250
|
-
<id>
|
251
|
-
<account_code>subscription-change1-
|
252
|
+
<id>22ca8401b34e4429bbbb7d39ce2967c5</id>
|
253
|
+
<account_code>subscription-change1-1296674173</account_code>
|
252
254
|
<action>purchase</action>
|
253
|
-
<date type="datetime">2011-
|
255
|
+
<date type="datetime">2011-02-03T22:21:38Z</date>
|
254
256
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
255
257
|
<status>success</status>
|
256
258
|
<message>Test Gateway: Successful test transaction</message>
|
257
|
-
<reference
|
259
|
+
<reference>12345</reference>
|
258
260
|
<cvv_result code="M">Match</cvv_result>
|
259
261
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
260
|
-
<avs_result_street
|
261
|
-
<avs_result_postal
|
262
|
+
<avs_result_street>Y</avs_result_street>
|
263
|
+
<avs_result_postal>Y</avs_result_postal>
|
262
264
|
<test type="boolean">true</test>
|
263
265
|
<voidable type="boolean">true</voidable>
|
264
266
|
<refundable type="boolean">true</refundable>
|
265
267
|
</transaction>
|
266
268
|
<transaction type="Payment">
|
267
|
-
<id>
|
268
|
-
<account_code>subscription-create-
|
269
|
+
<id>28ebb171073c4fdd98440835ae378666</id>
|
270
|
+
<account_code>subscription-create-1296674173</account_code>
|
269
271
|
<action>purchase</action>
|
270
|
-
<date type="datetime">2011-
|
272
|
+
<date type="datetime">2011-02-03T22:21:27Z</date>
|
271
273
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
272
274
|
<status>success</status>
|
273
275
|
<message>Test Gateway: Successful test transaction</message>
|
274
|
-
<reference
|
276
|
+
<reference>12345</reference>
|
275
277
|
<cvv_result code="M">Match</cvv_result>
|
276
278
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
277
|
-
<avs_result_street
|
278
|
-
<avs_result_postal
|
279
|
+
<avs_result_street>Y</avs_result_street>
|
280
|
+
<avs_result_postal>Y</avs_result_postal>
|
279
281
|
<test type="boolean">true</test>
|
280
282
|
<voidable type="boolean">true</voidable>
|
281
283
|
<refundable type="boolean">true</refundable>
|
282
284
|
</transaction>
|
283
285
|
<transaction type="Payment">
|
284
|
-
<id>
|
285
|
-
<account_code>subscription-find-
|
286
|
+
<id>13b6bd7ef15a4780a13387074635c86c</id>
|
287
|
+
<account_code>subscription-find-1296674173</account_code>
|
286
288
|
<action>purchase</action>
|
287
|
-
<date type="datetime">2011-
|
289
|
+
<date type="datetime">2011-02-03T22:21:15Z</date>
|
288
290
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
289
291
|
<status>success</status>
|
290
292
|
<message>Test Gateway: Successful test transaction</message>
|
291
|
-
<reference
|
293
|
+
<reference>12345</reference>
|
292
294
|
<cvv_result code="M">Match</cvv_result>
|
293
295
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
294
|
-
<avs_result_street
|
295
|
-
<avs_result_postal
|
296
|
+
<avs_result_street>Y</avs_result_street>
|
297
|
+
<avs_result_postal>Y</avs_result_postal>
|
296
298
|
<test type="boolean">true</test>
|
297
299
|
<voidable type="boolean">true</voidable>
|
298
300
|
<refundable type="boolean">true</refundable>
|
299
301
|
</transaction>
|
300
302
|
<transaction type="Payment">
|
301
|
-
<id>
|
302
|
-
<account_code>invoice-lookup-
|
303
|
+
<id>9d0406d2ef0f4aec8795d2ded7722524</id>
|
304
|
+
<account_code>invoice-lookup-1296674173</account_code>
|
303
305
|
<action>authorization</action>
|
304
|
-
<date type="datetime">2011-
|
305
|
-
<amount_in_cents type="integer">
|
306
|
-
<status>
|
306
|
+
<date type="datetime">2011-02-03T22:20:32Z</date>
|
307
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
308
|
+
<status>success</status>
|
307
309
|
<message>Test Gateway: Successful test transaction</message>
|
308
|
-
<reference
|
310
|
+
<reference>12345</reference>
|
309
311
|
<cvv_result code="M">Match</cvv_result>
|
310
312
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
311
|
-
<avs_result_street
|
312
|
-
<avs_result_postal
|
313
|
+
<avs_result_street>Y</avs_result_street>
|
314
|
+
<avs_result_postal>Y</avs_result_postal>
|
313
315
|
<test type="boolean">true</test>
|
314
316
|
<voidable type="boolean">false</voidable>
|
315
|
-
<refundable type="boolean">
|
317
|
+
<refundable type="boolean">true</refundable>
|
316
318
|
</transaction>
|
317
319
|
<transaction type="Payment">
|
318
|
-
<id>
|
319
|
-
<account_code>invoice-list-
|
320
|
+
<id>b3587820d543493188147be66d45e566</id>
|
321
|
+
<account_code>invoice-list-1296674173</account_code>
|
320
322
|
<action>authorization</action>
|
321
|
-
<date type="datetime">2011-
|
322
|
-
<amount_in_cents type="integer">
|
323
|
-
<status>
|
323
|
+
<date type="datetime">2011-02-03T22:20:15Z</date>
|
324
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
325
|
+
<status>success</status>
|
324
326
|
<message>Test Gateway: Successful test transaction</message>
|
325
|
-
<reference
|
327
|
+
<reference>12345</reference>
|
326
328
|
<cvv_result code="M">Match</cvv_result>
|
327
329
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
328
|
-
<avs_result_street
|
329
|
-
<avs_result_postal
|
330
|
+
<avs_result_street>Y</avs_result_street>
|
331
|
+
<avs_result_postal>Y</avs_result_postal>
|
330
332
|
<test type="boolean">true</test>
|
331
333
|
<voidable type="boolean">false</voidable>
|
332
|
-
<refundable type="boolean">
|
334
|
+
<refundable type="boolean">true</refundable>
|
333
335
|
</transaction>
|
334
336
|
<transaction type="Payment">
|
335
|
-
<id>
|
336
|
-
<account_code>invoice-create-no-charges-
|
337
|
+
<id>cc44b7b71e434fad842b035a1216c039</id>
|
338
|
+
<account_code>invoice-create-no-charges-1296674173</account_code>
|
337
339
|
<action>authorization</action>
|
338
|
-
<date type="datetime">2011-
|
339
|
-
<amount_in_cents type="integer">
|
340
|
-
<status>
|
340
|
+
<date type="datetime">2011-02-03T22:20:08Z</date>
|
341
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
342
|
+
<status>success</status>
|
341
343
|
<message>Test Gateway: Successful test transaction</message>
|
342
|
-
<reference
|
344
|
+
<reference>12345</reference>
|
343
345
|
<cvv_result code="M">Match</cvv_result>
|
344
346
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
345
|
-
<avs_result_street
|
346
|
-
<avs_result_postal
|
347
|
+
<avs_result_street>Y</avs_result_street>
|
348
|
+
<avs_result_postal>Y</avs_result_postal>
|
347
349
|
<test type="boolean">true</test>
|
348
350
|
<voidable type="boolean">false</voidable>
|
349
|
-
<refundable type="boolean">
|
351
|
+
<refundable type="boolean">true</refundable>
|
350
352
|
</transaction>
|
351
353
|
<transaction type="Payment">
|
352
|
-
<id>
|
353
|
-
<account_code>invoice-create-
|
354
|
+
<id>83c0691f42d644f88aa64e44b7898af7</id>
|
355
|
+
<account_code>invoice-create-1296674173</account_code>
|
354
356
|
<action>authorization</action>
|
355
|
-
<date type="datetime">2011-
|
356
|
-
<amount_in_cents type="integer">
|
357
|
-
<status>
|
357
|
+
<date type="datetime">2011-02-03T22:19:55Z</date>
|
358
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
359
|
+
<status>success</status>
|
358
360
|
<message>Test Gateway: Successful test transaction</message>
|
359
|
-
<reference
|
361
|
+
<reference>12345</reference>
|
360
362
|
<cvv_result code="M">Match</cvv_result>
|
361
363
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
362
|
-
<avs_result_street
|
363
|
-
<avs_result_postal
|
364
|
+
<avs_result_street>Y</avs_result_street>
|
365
|
+
<avs_result_postal>Y</avs_result_postal>
|
364
366
|
<test type="boolean">true</test>
|
365
367
|
<voidable type="boolean">false</voidable>
|
366
|
-
<refundable type="boolean">
|
368
|
+
<refundable type="boolean">true</refundable>
|
367
369
|
</transaction>
|
368
370
|
<transaction type="Payment">
|
369
|
-
<id>
|
370
|
-
<account_code>charge-create-
|
371
|
+
<id>d43001dca7f54ec0a52d580df4ac4fbf</id>
|
372
|
+
<account_code>charge-create-1296674173</account_code>
|
371
373
|
<action>authorization</action>
|
372
|
-
<date type="datetime">2011-
|
373
|
-
<amount_in_cents type="integer">
|
374
|
-
<status>
|
374
|
+
<date type="datetime">2011-02-03T22:18:55Z</date>
|
375
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
376
|
+
<status>success</status>
|
375
377
|
<message>Test Gateway: Successful test transaction</message>
|
376
|
-
<reference
|
378
|
+
<reference>12345</reference>
|
377
379
|
<cvv_result code="M">Match</cvv_result>
|
378
380
|
<avs_result code="D">Street address and postal code match.</avs_result>
|
379
|
-
<avs_result_street
|
380
|
-
<avs_result_postal
|
381
|
+
<avs_result_street>Y</avs_result_street>
|
382
|
+
<avs_result_postal>Y</avs_result_postal>
|
381
383
|
<test type="boolean">true</test>
|
382
384
|
<voidable type="boolean">false</voidable>
|
383
|
-
<refundable type="boolean">
|
385
|
+
<refundable type="boolean">true</refundable>
|
384
386
|
</transaction>
|
385
387
|
</transactions>
|
386
388
|
|