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,123 +1,184 @@
|
|
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: :post
|
5
|
-
uri: http://api
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
6
|
+
body: |
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
+
<account>
|
9
|
+
<account-code>transaction-list-initial-1311126815</account-code>
|
10
|
+
<first-name>Verena</first-name>
|
11
|
+
<last-name>Test</last-name>
|
12
|
+
<email>verena@test.com</email>
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
14
|
+
<billing-info>
|
15
|
+
<credit-card>
|
16
|
+
</credit-card>
|
17
|
+
</billing-info>
|
18
|
+
<accept-language nil="true"></accept-language>
|
19
|
+
</account>
|
20
|
+
|
21
|
+
headers:
|
22
|
+
user-agent:
|
23
|
+
- Recurly Ruby Client v0.4.13
|
24
|
+
content-type:
|
14
25
|
- application/xml
|
15
|
-
response: !ruby/struct:VCR::Response
|
16
|
-
status: !ruby/struct:VCR::ResponseStatus
|
26
|
+
response: !ruby/struct:VCR::Response
|
27
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
28
|
code: 201
|
18
29
|
message: Created
|
19
|
-
headers:
|
20
|
-
location:
|
21
|
-
- http://
|
22
|
-
content-type:
|
30
|
+
headers:
|
31
|
+
location:
|
32
|
+
- http://api.lvh.me:3000/accounts/transaction-list-initial-1311126815
|
33
|
+
content-type:
|
23
34
|
- application/xml; charset=utf-8
|
24
|
-
cache-control:
|
35
|
+
cache-control:
|
25
36
|
- no-cache
|
26
|
-
x-ua-compatible:
|
37
|
+
x-ua-compatible:
|
27
38
|
- IE=Edge
|
28
|
-
set-cookie:
|
29
|
-
- _recurly_session=
|
30
|
-
|
31
|
-
server:
|
39
|
+
set-cookie:
|
40
|
+
- _recurly_session=f7ec2a54761b6dd2fb4f549d6538fbd0; domain=.lvh.me; path=/; HttpOnly
|
41
|
+
server:
|
32
42
|
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
-
body:
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
43
|
+
body: |
|
44
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
+
<account>
|
46
|
+
<id>transaction-list-initial-1311126815</id>
|
47
|
+
<account_code>transaction-list-initial-1311126815</account_code>
|
48
|
+
<username></username>
|
49
|
+
<email>verena@test.com</email>
|
50
|
+
<first_name>Verena</first_name>
|
51
|
+
<last_name>Test</last_name>
|
52
|
+
<company_name>Recurly Ruby Gem</company_name>
|
53
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
54
|
+
<closed type="boolean">false</closed>
|
55
|
+
<hosted_login_token>fe6b0512610d41568c25fa2011513116</hosted_login_token>
|
56
|
+
<created_at type="datetime">2011-09-22T22:02:13Z</created_at>
|
57
|
+
<state>active</state>
|
58
|
+
</account>
|
59
|
+
|
60
|
+
http_version: "1.1"
|
61
|
+
- !ruby/struct:VCR::HTTPInteraction
|
62
|
+
request: !ruby/struct:VCR::Request
|
42
63
|
method: :put
|
43
|
-
uri: http://api
|
44
|
-
body:
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
64
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/transaction-list-initial-1311126815/billing_info.xml
|
65
|
+
body: |
|
66
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
67
|
+
<billing-info>
|
68
|
+
<first-name>Verena</first-name>
|
69
|
+
<last-name>Test</last-name>
|
70
|
+
<address1>123 Test St</address1>
|
71
|
+
<city>San Francisco</city>
|
72
|
+
<state>CA</state>
|
73
|
+
<zip>94115</zip>
|
74
|
+
<country>US</country>
|
75
|
+
<credit-card>
|
76
|
+
<number>4111111111111111</number>
|
77
|
+
<year type="integer">2012</year>
|
78
|
+
<month type="integer">9</month>
|
79
|
+
<verification-value>123</verification-value>
|
80
|
+
</credit-card>
|
81
|
+
<account-code>transaction-list-initial-1311126815</account-code>
|
82
|
+
</billing-info>
|
83
|
+
|
84
|
+
headers:
|
85
|
+
user-agent:
|
86
|
+
- Recurly Ruby Client v0.4.13
|
87
|
+
content-type:
|
54
88
|
- application/xml
|
55
|
-
response: !ruby/struct:VCR::Response
|
56
|
-
status: !ruby/struct:VCR::ResponseStatus
|
89
|
+
response: !ruby/struct:VCR::Response
|
90
|
+
status: !ruby/struct:VCR::ResponseStatus
|
57
91
|
code: 200
|
58
92
|
message: OK
|
59
|
-
headers:
|
60
|
-
content-type:
|
93
|
+
headers:
|
94
|
+
content-type:
|
61
95
|
- application/xml; charset=utf-8
|
62
|
-
etag:
|
63
|
-
-
|
64
|
-
cache-control:
|
96
|
+
etag:
|
97
|
+
- "\"8b47654b43bbed6980b784d8f1903ba1\""
|
98
|
+
cache-control:
|
65
99
|
- max-age=0, private, must-revalidate
|
66
|
-
x-ua-compatible:
|
100
|
+
x-ua-compatible:
|
67
101
|
- IE=Edge
|
68
|
-
set-cookie:
|
69
|
-
- _recurly_session=
|
70
|
-
|
71
|
-
server:
|
102
|
+
set-cookie:
|
103
|
+
- _recurly_session=99c551da31fd97a815b75992d6fb2d3a; domain=.lvh.me; path=/; HttpOnly
|
104
|
+
server:
|
72
105
|
- thin 1.2.11 codename Bat-Shit Crazy
|
73
|
-
body:
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
106
|
+
body: |
|
107
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
108
|
+
<billing_info>
|
109
|
+
<account_code>transaction-list-initial-1311126815</account_code>
|
110
|
+
<first_name>Verena</first_name>
|
111
|
+
<last_name>Test</last_name>
|
112
|
+
<address1>123 Test St</address1>
|
113
|
+
<address2></address2>
|
114
|
+
<city>San Francisco</city>
|
115
|
+
<state>CA</state>
|
116
|
+
<country>US</country>
|
117
|
+
<zip>94115</zip>
|
118
|
+
<phone></phone>
|
119
|
+
<vat_number></vat_number>
|
120
|
+
<ip_address></ip_address>
|
121
|
+
<credit_card>
|
122
|
+
<type>visa</type>
|
123
|
+
<last_four>1111</last_four>
|
124
|
+
<month type="integer">9</month>
|
125
|
+
<year type="integer">2012</year>
|
126
|
+
</credit_card>
|
127
|
+
<updated_at type="datetime">2011-09-22T22:02:14Z</updated_at>
|
128
|
+
</billing_info>
|
129
|
+
|
130
|
+
http_version: "1.1"
|
131
|
+
- !ruby/struct:VCR::HTTPInteraction
|
132
|
+
request: !ruby/struct:VCR::Request
|
83
133
|
method: :get
|
84
|
-
uri: http://api
|
85
|
-
body:
|
86
|
-
headers:
|
87
|
-
user-agent:
|
88
|
-
- Recurly Ruby Client v0.4.
|
89
|
-
accept:
|
134
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/transaction-list-initial-1311126815/transactions
|
135
|
+
body:
|
136
|
+
headers:
|
137
|
+
user-agent:
|
138
|
+
- Recurly Ruby Client v0.4.13
|
139
|
+
accept:
|
90
140
|
- application/xml
|
91
|
-
accept-encoding:
|
141
|
+
accept-encoding:
|
92
142
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
93
|
-
response: !ruby/struct:VCR::Response
|
94
|
-
status: !ruby/struct:VCR::ResponseStatus
|
143
|
+
response: !ruby/struct:VCR::Response
|
144
|
+
status: !ruby/struct:VCR::ResponseStatus
|
95
145
|
code: 200
|
96
146
|
message: OK
|
97
|
-
headers:
|
98
|
-
content-type:
|
147
|
+
headers:
|
148
|
+
content-type:
|
99
149
|
- application/xml; charset=utf-8
|
100
|
-
etag:
|
101
|
-
-
|
102
|
-
cache-control:
|
150
|
+
etag:
|
151
|
+
- "\"6e407a58485a2444cee94700813768ee\""
|
152
|
+
cache-control:
|
103
153
|
- max-age=0, private, must-revalidate
|
104
|
-
x-ua-compatible:
|
154
|
+
x-ua-compatible:
|
105
155
|
- IE=Edge
|
106
|
-
|
107
|
-
- _recurly_session=b685c5816b85a03abaf99a09bc1e4adb; domain=.lvh.me; path=/;
|
108
|
-
HttpOnly
|
109
|
-
server:
|
156
|
+
server:
|
110
157
|
- thin 1.2.11 codename Bat-Shit Crazy
|
111
|
-
body:
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
158
|
+
body: |
|
159
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
160
|
+
<transactions type="collection">
|
161
|
+
<current_page type="integer">1</current_page>
|
162
|
+
<per_page type="integer">50</per_page>
|
163
|
+
<total_entries type="integer">1</total_entries>
|
164
|
+
<transaction type="Payment">
|
165
|
+
<id>f119d34e4e6347fd9814a323e7d9dbd7</id>
|
166
|
+
<account_code>transaction-list-initial-1311126815</account_code>
|
167
|
+
<action>authorization</action>
|
168
|
+
<date type="datetime">2011-09-22T22:02:14Z</date>
|
169
|
+
<amount_in_cents type="integer">0</amount_in_cents>
|
170
|
+
<currency>USD</currency>
|
171
|
+
<status>success</status>
|
172
|
+
<message>Test Gateway: Successful test transaction</message>
|
173
|
+
<reference>12345</reference>
|
174
|
+
<cvv_result code="M">Match</cvv_result>
|
175
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
176
|
+
<avs_result_street>Y</avs_result_street>
|
177
|
+
<avs_result_postal>Y</avs_result_postal>
|
178
|
+
<test type="boolean">true</test>
|
179
|
+
<voidable type="boolean">false</voidable>
|
180
|
+
<refundable type="boolean">false</refundable>
|
181
|
+
</transaction>
|
182
|
+
</transactions>
|
183
|
+
|
184
|
+
http_version: "1.1"
|
@@ -1,335 +1,487 @@
|
|
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: :post
|
5
|
-
uri: http://api
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
6
|
+
body: |
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
+
<account>
|
9
|
+
<account-code>transaction-lookup-1311126815</account-code>
|
10
|
+
<first-name>Verena</first-name>
|
11
|
+
<last-name>Test</last-name>
|
12
|
+
<email>verena@test.com</email>
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
14
|
+
<billing-info>
|
15
|
+
<credit-card>
|
16
|
+
</credit-card>
|
17
|
+
</billing-info>
|
18
|
+
<accept-language nil="true"></accept-language>
|
19
|
+
</account>
|
20
|
+
|
21
|
+
headers:
|
22
|
+
user-agent:
|
23
|
+
- Recurly Ruby Client v0.4.13
|
24
|
+
content-type:
|
14
25
|
- application/xml
|
15
|
-
response: !ruby/struct:VCR::Response
|
16
|
-
status: !ruby/struct:VCR::ResponseStatus
|
26
|
+
response: !ruby/struct:VCR::Response
|
27
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
28
|
code: 201
|
18
29
|
message: Created
|
19
|
-
headers:
|
20
|
-
location:
|
21
|
-
- http://
|
22
|
-
content-type:
|
30
|
+
headers:
|
31
|
+
location:
|
32
|
+
- http://api.lvh.me:3000/accounts/transaction-lookup-1311126815
|
33
|
+
content-type:
|
23
34
|
- application/xml; charset=utf-8
|
24
|
-
cache-control:
|
35
|
+
cache-control:
|
25
36
|
- no-cache
|
26
|
-
x-ua-compatible:
|
37
|
+
x-ua-compatible:
|
27
38
|
- IE=Edge
|
28
|
-
set-cookie:
|
29
|
-
- _recurly_session=
|
30
|
-
|
31
|
-
server:
|
39
|
+
set-cookie:
|
40
|
+
- _recurly_session=1461127dccc40f9d070ce2042663ef48; domain=.lvh.me; path=/; HttpOnly
|
41
|
+
server:
|
32
42
|
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
-
body:
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
43
|
+
body: |
|
44
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
+
<account>
|
46
|
+
<id>transaction-lookup-1311126815</id>
|
47
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
48
|
+
<username></username>
|
49
|
+
<email>verena@test.com</email>
|
50
|
+
<first_name>Verena</first_name>
|
51
|
+
<last_name>Test</last_name>
|
52
|
+
<company_name>Recurly Ruby Gem</company_name>
|
53
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
54
|
+
<closed type="boolean">false</closed>
|
55
|
+
<hosted_login_token>f992a0b6b2e94448b585f9e05ca1bea5</hosted_login_token>
|
56
|
+
<created_at type="datetime">2011-09-22T22:02:17Z</created_at>
|
57
|
+
<state>active</state>
|
58
|
+
</account>
|
59
|
+
|
60
|
+
http_version: "1.1"
|
61
|
+
- !ruby/struct:VCR::HTTPInteraction
|
62
|
+
request: !ruby/struct:VCR::Request
|
42
63
|
method: :put
|
43
|
-
uri: http://api
|
44
|
-
body:
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
64
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/transaction-lookup-1311126815/billing_info.xml
|
65
|
+
body: |
|
66
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
67
|
+
<billing-info>
|
68
|
+
<first-name>Verena</first-name>
|
69
|
+
<last-name>Test</last-name>
|
70
|
+
<address1>123 Test St</address1>
|
71
|
+
<city>San Francisco</city>
|
72
|
+
<state>CA</state>
|
73
|
+
<zip>94115</zip>
|
74
|
+
<country>US</country>
|
75
|
+
<credit-card>
|
76
|
+
<number>4111111111111111</number>
|
77
|
+
<year type="integer">2012</year>
|
78
|
+
<month type="integer">9</month>
|
79
|
+
<verification-value>123</verification-value>
|
80
|
+
</credit-card>
|
81
|
+
<account-code>transaction-lookup-1311126815</account-code>
|
82
|
+
</billing-info>
|
83
|
+
|
84
|
+
headers:
|
85
|
+
user-agent:
|
86
|
+
- Recurly Ruby Client v0.4.13
|
87
|
+
content-type:
|
54
88
|
- application/xml
|
55
|
-
response: !ruby/struct:VCR::Response
|
56
|
-
status: !ruby/struct:VCR::ResponseStatus
|
89
|
+
response: !ruby/struct:VCR::Response
|
90
|
+
status: !ruby/struct:VCR::ResponseStatus
|
57
91
|
code: 200
|
58
92
|
message: OK
|
59
|
-
headers:
|
60
|
-
content-type:
|
93
|
+
headers:
|
94
|
+
content-type:
|
61
95
|
- application/xml; charset=utf-8
|
62
|
-
etag:
|
63
|
-
-
|
64
|
-
cache-control:
|
96
|
+
etag:
|
97
|
+
- "\"ee9e1fdd278defcbe4aab907505f1882\""
|
98
|
+
cache-control:
|
65
99
|
- max-age=0, private, must-revalidate
|
66
|
-
x-ua-compatible:
|
100
|
+
x-ua-compatible:
|
67
101
|
- IE=Edge
|
68
|
-
set-cookie:
|
69
|
-
- _recurly_session=
|
70
|
-
|
71
|
-
server:
|
102
|
+
set-cookie:
|
103
|
+
- _recurly_session=81a6f51de00ff91952ffcf8990f76517; domain=.lvh.me; path=/; HttpOnly
|
104
|
+
server:
|
72
105
|
- thin 1.2.11 codename Bat-Shit Crazy
|
73
|
-
body:
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
106
|
+
body: |
|
107
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
108
|
+
<billing_info>
|
109
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
110
|
+
<first_name>Verena</first_name>
|
111
|
+
<last_name>Test</last_name>
|
112
|
+
<address1>123 Test St</address1>
|
113
|
+
<address2></address2>
|
114
|
+
<city>San Francisco</city>
|
115
|
+
<state>CA</state>
|
116
|
+
<country>US</country>
|
117
|
+
<zip>94115</zip>
|
118
|
+
<phone></phone>
|
119
|
+
<vat_number></vat_number>
|
120
|
+
<ip_address></ip_address>
|
121
|
+
<credit_card>
|
122
|
+
<type>visa</type>
|
123
|
+
<last_four>1111</last_four>
|
124
|
+
<month type="integer">9</month>
|
125
|
+
<year type="integer">2012</year>
|
126
|
+
</credit_card>
|
127
|
+
<updated_at type="datetime">2011-09-22T22:02:18Z</updated_at>
|
128
|
+
</billing_info>
|
129
|
+
|
130
|
+
http_version: "1.1"
|
131
|
+
- !ruby/struct:VCR::HTTPInteraction
|
132
|
+
request: !ruby/struct:VCR::Request
|
83
133
|
method: :post
|
84
|
-
uri: http://api
|
85
|
-
body:
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
134
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions.xml
|
135
|
+
body: |
|
136
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
137
|
+
<transaction>
|
138
|
+
<account>
|
139
|
+
<account-code>transaction-lookup-1311126815</account-code>
|
140
|
+
<billing-info>
|
141
|
+
<credit-card>
|
142
|
+
</credit-card>
|
143
|
+
</billing-info>
|
144
|
+
</account>
|
145
|
+
<amount-in-cents type="integer">100</amount-in-cents>
|
146
|
+
<description>one</description>
|
147
|
+
</transaction>
|
148
|
+
|
149
|
+
headers:
|
150
|
+
user-agent:
|
151
|
+
- Recurly Ruby Client v0.4.13
|
152
|
+
content-type:
|
93
153
|
- application/xml
|
94
|
-
response: !ruby/struct:VCR::Response
|
95
|
-
status: !ruby/struct:VCR::ResponseStatus
|
154
|
+
response: !ruby/struct:VCR::Response
|
155
|
+
status: !ruby/struct:VCR::ResponseStatus
|
96
156
|
code: 201
|
97
157
|
message: Created
|
98
|
-
headers:
|
99
|
-
location:
|
100
|
-
- http://
|
101
|
-
content-type:
|
158
|
+
headers:
|
159
|
+
location:
|
160
|
+
- http://api.lvh.me:3000/transactions/40af6e11e6ce42fe9bb1176582eef12b
|
161
|
+
content-type:
|
102
162
|
- application/xml; charset=utf-8
|
103
|
-
cache-control:
|
163
|
+
cache-control:
|
104
164
|
- no-cache
|
105
|
-
x-ua-compatible:
|
165
|
+
x-ua-compatible:
|
106
166
|
- IE=Edge
|
107
|
-
set-cookie:
|
108
|
-
- _recurly_session=
|
109
|
-
|
110
|
-
server:
|
167
|
+
set-cookie:
|
168
|
+
- _recurly_session=70615e159ad42d1b223b46375eb3b7e2; domain=.lvh.me; path=/; HttpOnly
|
169
|
+
server:
|
111
170
|
- thin 1.2.11 codename Bat-Shit Crazy
|
112
|
-
body:
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
171
|
+
body: |
|
172
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
173
|
+
<transaction type="Payment">
|
174
|
+
<id>40af6e11e6ce42fe9bb1176582eef12b</id>
|
175
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
176
|
+
<action>purchase</action>
|
177
|
+
<date type="datetime">2011-09-22T22:02:18Z</date>
|
178
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
179
|
+
<currency>USD</currency>
|
180
|
+
<status>success</status>
|
181
|
+
<message>Test Gateway: Successful test transaction</message>
|
182
|
+
<reference>12345</reference>
|
183
|
+
<cvv_result code="M">Match</cvv_result>
|
184
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
185
|
+
<avs_result_street>Y</avs_result_street>
|
186
|
+
<avs_result_postal>Y</avs_result_postal>
|
187
|
+
<test type="boolean">true</test>
|
188
|
+
<voidable type="boolean">true</voidable>
|
189
|
+
<refundable type="boolean">true</refundable>
|
190
|
+
<credit_card>
|
191
|
+
<type>visa</type>
|
192
|
+
<last_four>1111</last_four>
|
193
|
+
</credit_card>
|
194
|
+
</transaction>
|
195
|
+
|
196
|
+
http_version: "1.1"
|
197
|
+
- !ruby/struct:VCR::HTTPInteraction
|
198
|
+
request: !ruby/struct:VCR::Request
|
126
199
|
method: :post
|
127
|
-
uri: http://api
|
128
|
-
body:
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
200
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions.xml
|
201
|
+
body: |
|
202
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
203
|
+
<transaction>
|
204
|
+
<account>
|
205
|
+
<account-code>transaction-lookup-1311126815</account-code>
|
206
|
+
<billing-info>
|
207
|
+
<credit-card>
|
208
|
+
</credit-card>
|
209
|
+
</billing-info>
|
210
|
+
</account>
|
211
|
+
<amount-in-cents type="integer">200</amount-in-cents>
|
212
|
+
<description>two</description>
|
213
|
+
</transaction>
|
214
|
+
|
215
|
+
headers:
|
216
|
+
user-agent:
|
217
|
+
- Recurly Ruby Client v0.4.13
|
218
|
+
content-type:
|
136
219
|
- application/xml
|
137
|
-
response: !ruby/struct:VCR::Response
|
138
|
-
status: !ruby/struct:VCR::ResponseStatus
|
220
|
+
response: !ruby/struct:VCR::Response
|
221
|
+
status: !ruby/struct:VCR::ResponseStatus
|
139
222
|
code: 201
|
140
223
|
message: Created
|
141
|
-
headers:
|
142
|
-
location:
|
143
|
-
- http://
|
144
|
-
content-type:
|
224
|
+
headers:
|
225
|
+
location:
|
226
|
+
- http://api.lvh.me:3000/transactions/d30f3a8a85564106b2621a87a0cff4a5
|
227
|
+
content-type:
|
145
228
|
- application/xml; charset=utf-8
|
146
|
-
cache-control:
|
229
|
+
cache-control:
|
147
230
|
- no-cache
|
148
|
-
x-ua-compatible:
|
231
|
+
x-ua-compatible:
|
149
232
|
- IE=Edge
|
150
|
-
set-cookie:
|
151
|
-
- _recurly_session=
|
152
|
-
|
153
|
-
server:
|
233
|
+
set-cookie:
|
234
|
+
- _recurly_session=cbc85a92fafba8545b5a1a6dff429e79; domain=.lvh.me; path=/; HttpOnly
|
235
|
+
server:
|
154
236
|
- thin 1.2.11 codename Bat-Shit Crazy
|
155
|
-
body:
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
237
|
+
body: |
|
238
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
239
|
+
<transaction type="Payment">
|
240
|
+
<id>d30f3a8a85564106b2621a87a0cff4a5</id>
|
241
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
242
|
+
<action>purchase</action>
|
243
|
+
<date type="datetime">2011-09-22T22:02:19Z</date>
|
244
|
+
<amount_in_cents type="integer">200</amount_in_cents>
|
245
|
+
<currency>USD</currency>
|
246
|
+
<status>success</status>
|
247
|
+
<message>Test Gateway: Successful test transaction</message>
|
248
|
+
<reference>12345</reference>
|
249
|
+
<cvv_result code="M">Match</cvv_result>
|
250
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
251
|
+
<avs_result_street>Y</avs_result_street>
|
252
|
+
<avs_result_postal>Y</avs_result_postal>
|
253
|
+
<test type="boolean">true</test>
|
254
|
+
<voidable type="boolean">true</voidable>
|
255
|
+
<refundable type="boolean">true</refundable>
|
256
|
+
<credit_card>
|
257
|
+
<type>visa</type>
|
258
|
+
<last_four>1111</last_four>
|
259
|
+
</credit_card>
|
260
|
+
</transaction>
|
261
|
+
|
262
|
+
http_version: "1.1"
|
263
|
+
- !ruby/struct:VCR::HTTPInteraction
|
264
|
+
request: !ruby/struct:VCR::Request
|
169
265
|
method: :post
|
170
|
-
uri: http://api
|
171
|
-
body:
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
266
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions.xml
|
267
|
+
body: |
|
268
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
269
|
+
<transaction>
|
270
|
+
<account>
|
271
|
+
<account-code>transaction-lookup-1311126815</account-code>
|
272
|
+
<billing-info>
|
273
|
+
<credit-card>
|
274
|
+
</credit-card>
|
275
|
+
</billing-info>
|
276
|
+
</account>
|
277
|
+
<amount-in-cents type="integer">300</amount-in-cents>
|
278
|
+
<description>three</description>
|
279
|
+
</transaction>
|
280
|
+
|
281
|
+
headers:
|
282
|
+
user-agent:
|
283
|
+
- Recurly Ruby Client v0.4.13
|
284
|
+
content-type:
|
179
285
|
- application/xml
|
180
|
-
response: !ruby/struct:VCR::Response
|
181
|
-
status: !ruby/struct:VCR::ResponseStatus
|
286
|
+
response: !ruby/struct:VCR::Response
|
287
|
+
status: !ruby/struct:VCR::ResponseStatus
|
182
288
|
code: 201
|
183
289
|
message: Created
|
184
|
-
headers:
|
185
|
-
location:
|
186
|
-
- http://
|
187
|
-
content-type:
|
290
|
+
headers:
|
291
|
+
location:
|
292
|
+
- http://api.lvh.me:3000/transactions/b4ed42a1812f44dc98b3e8310e59f249
|
293
|
+
content-type:
|
188
294
|
- application/xml; charset=utf-8
|
189
|
-
cache-control:
|
295
|
+
cache-control:
|
190
296
|
- no-cache
|
191
|
-
x-ua-compatible:
|
297
|
+
x-ua-compatible:
|
192
298
|
- IE=Edge
|
193
|
-
set-cookie:
|
194
|
-
- _recurly_session=
|
195
|
-
|
196
|
-
server:
|
299
|
+
set-cookie:
|
300
|
+
- _recurly_session=4d39ec478c2d3057b3fff83f5f5267c4; domain=.lvh.me; path=/; HttpOnly
|
301
|
+
server:
|
197
302
|
- thin 1.2.11 codename Bat-Shit Crazy
|
198
|
-
body:
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
303
|
+
body: |
|
304
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
305
|
+
<transaction type="Payment">
|
306
|
+
<id>b4ed42a1812f44dc98b3e8310e59f249</id>
|
307
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
308
|
+
<action>purchase</action>
|
309
|
+
<date type="datetime">2011-09-22T22:02:19Z</date>
|
310
|
+
<amount_in_cents type="integer">300</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">true</voidable>
|
321
|
+
<refundable type="boolean">true</refundable>
|
322
|
+
<credit_card>
|
323
|
+
<type>visa</type>
|
324
|
+
<last_four>1111</last_four>
|
325
|
+
</credit_card>
|
326
|
+
</transaction>
|
327
|
+
|
328
|
+
http_version: "1.1"
|
329
|
+
- !ruby/struct:VCR::HTTPInteraction
|
330
|
+
request: !ruby/struct:VCR::Request
|
212
331
|
method: :get
|
213
|
-
uri: http://api
|
214
|
-
body:
|
215
|
-
headers:
|
216
|
-
user-agent:
|
217
|
-
- Recurly Ruby Client v0.4.
|
218
|
-
accept:
|
332
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions/40af6e11e6ce42fe9bb1176582eef12b.xml?account_code=transaction-lookup-1311126815
|
333
|
+
body:
|
334
|
+
headers:
|
335
|
+
user-agent:
|
336
|
+
- Recurly Ruby Client v0.4.13
|
337
|
+
accept:
|
219
338
|
- application/xml
|
220
|
-
accept-encoding:
|
339
|
+
accept-encoding:
|
221
340
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
222
|
-
response: !ruby/struct:VCR::Response
|
223
|
-
status: !ruby/struct:VCR::ResponseStatus
|
341
|
+
response: !ruby/struct:VCR::Response
|
342
|
+
status: !ruby/struct:VCR::ResponseStatus
|
224
343
|
code: 200
|
225
344
|
message: OK
|
226
|
-
headers:
|
227
|
-
content-type:
|
345
|
+
headers:
|
346
|
+
content-type:
|
228
347
|
- application/xml; charset=utf-8
|
229
|
-
etag:
|
230
|
-
-
|
231
|
-
cache-control:
|
348
|
+
etag:
|
349
|
+
- "\"d1cb35ca76a9c91d8098148477b1b010\""
|
350
|
+
cache-control:
|
232
351
|
- max-age=0, private, must-revalidate
|
233
|
-
x-ua-compatible:
|
352
|
+
x-ua-compatible:
|
234
353
|
- IE=Edge
|
235
|
-
|
236
|
-
- _recurly_session=ed5a99d68b3d821931eac702461552d4; domain=.lvh.me; path=/;
|
237
|
-
HttpOnly
|
238
|
-
server:
|
354
|
+
server:
|
239
355
|
- thin 1.2.11 codename Bat-Shit Crazy
|
240
|
-
body:
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
356
|
+
body: |
|
357
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
358
|
+
<transaction type="Payment">
|
359
|
+
<id>40af6e11e6ce42fe9bb1176582eef12b</id>
|
360
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
361
|
+
<action>purchase</action>
|
362
|
+
<date type="datetime">2011-09-22T22:02:18Z</date>
|
363
|
+
<amount_in_cents type="integer">100</amount_in_cents>
|
364
|
+
<currency>USD</currency>
|
365
|
+
<status>success</status>
|
366
|
+
<message>Test Gateway: Successful test transaction</message>
|
367
|
+
<reference>12345</reference>
|
368
|
+
<cvv_result code="M">Match</cvv_result>
|
369
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
370
|
+
<avs_result_street>Y</avs_result_street>
|
371
|
+
<avs_result_postal>Y</avs_result_postal>
|
372
|
+
<test type="boolean">true</test>
|
373
|
+
<voidable type="boolean">true</voidable>
|
374
|
+
<refundable type="boolean">true</refundable>
|
375
|
+
<credit_card>
|
376
|
+
<type>visa</type>
|
377
|
+
<last_four>1111</last_four>
|
378
|
+
</credit_card>
|
379
|
+
</transaction>
|
380
|
+
|
381
|
+
http_version: "1.1"
|
382
|
+
- !ruby/struct:VCR::HTTPInteraction
|
383
|
+
request: !ruby/struct:VCR::Request
|
254
384
|
method: :get
|
255
|
-
uri: http://api
|
256
|
-
body:
|
257
|
-
headers:
|
258
|
-
user-agent:
|
259
|
-
- Recurly Ruby Client v0.4.
|
260
|
-
accept:
|
385
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions/d30f3a8a85564106b2621a87a0cff4a5.xml?account_code=transaction-lookup-1311126815
|
386
|
+
body:
|
387
|
+
headers:
|
388
|
+
user-agent:
|
389
|
+
- Recurly Ruby Client v0.4.13
|
390
|
+
accept:
|
261
391
|
- application/xml
|
262
|
-
accept-encoding:
|
392
|
+
accept-encoding:
|
263
393
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
264
|
-
response: !ruby/struct:VCR::Response
|
265
|
-
status: !ruby/struct:VCR::ResponseStatus
|
394
|
+
response: !ruby/struct:VCR::Response
|
395
|
+
status: !ruby/struct:VCR::ResponseStatus
|
266
396
|
code: 200
|
267
397
|
message: OK
|
268
|
-
headers:
|
269
|
-
content-type:
|
398
|
+
headers:
|
399
|
+
content-type:
|
270
400
|
- application/xml; charset=utf-8
|
271
|
-
etag:
|
272
|
-
-
|
273
|
-
cache-control:
|
401
|
+
etag:
|
402
|
+
- "\"06a4139d887c5c506d56dba7710725da\""
|
403
|
+
cache-control:
|
274
404
|
- max-age=0, private, must-revalidate
|
275
|
-
x-ua-compatible:
|
405
|
+
x-ua-compatible:
|
276
406
|
- IE=Edge
|
277
|
-
|
278
|
-
- _recurly_session=91780e00b69e7d468637795b31f340c5; domain=.lvh.me; path=/;
|
279
|
-
HttpOnly
|
280
|
-
server:
|
407
|
+
server:
|
281
408
|
- thin 1.2.11 codename Bat-Shit Crazy
|
282
|
-
body:
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
409
|
+
body: |
|
410
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
411
|
+
<transaction type="Payment">
|
412
|
+
<id>d30f3a8a85564106b2621a87a0cff4a5</id>
|
413
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
414
|
+
<action>purchase</action>
|
415
|
+
<date type="datetime">2011-09-22T22:02:19Z</date>
|
416
|
+
<amount_in_cents type="integer">200</amount_in_cents>
|
417
|
+
<currency>USD</currency>
|
418
|
+
<status>success</status>
|
419
|
+
<message>Test Gateway: Successful test transaction</message>
|
420
|
+
<reference>12345</reference>
|
421
|
+
<cvv_result code="M">Match</cvv_result>
|
422
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
423
|
+
<avs_result_street>Y</avs_result_street>
|
424
|
+
<avs_result_postal>Y</avs_result_postal>
|
425
|
+
<test type="boolean">true</test>
|
426
|
+
<voidable type="boolean">true</voidable>
|
427
|
+
<refundable type="boolean">true</refundable>
|
428
|
+
<credit_card>
|
429
|
+
<type>visa</type>
|
430
|
+
<last_four>1111</last_four>
|
431
|
+
</credit_card>
|
432
|
+
</transaction>
|
433
|
+
|
434
|
+
http_version: "1.1"
|
435
|
+
- !ruby/struct:VCR::HTTPInteraction
|
436
|
+
request: !ruby/struct:VCR::Request
|
296
437
|
method: :get
|
297
|
-
uri: http://api
|
298
|
-
body:
|
299
|
-
headers:
|
300
|
-
user-agent:
|
301
|
-
- Recurly Ruby Client v0.4.
|
302
|
-
accept:
|
438
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions/b4ed42a1812f44dc98b3e8310e59f249.xml?account_code=transaction-lookup-1311126815
|
439
|
+
body:
|
440
|
+
headers:
|
441
|
+
user-agent:
|
442
|
+
- Recurly Ruby Client v0.4.13
|
443
|
+
accept:
|
303
444
|
- application/xml
|
304
|
-
accept-encoding:
|
445
|
+
accept-encoding:
|
305
446
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
306
|
-
response: !ruby/struct:VCR::Response
|
307
|
-
status: !ruby/struct:VCR::ResponseStatus
|
447
|
+
response: !ruby/struct:VCR::Response
|
448
|
+
status: !ruby/struct:VCR::ResponseStatus
|
308
449
|
code: 200
|
309
450
|
message: OK
|
310
|
-
headers:
|
311
|
-
content-type:
|
451
|
+
headers:
|
452
|
+
content-type:
|
312
453
|
- application/xml; charset=utf-8
|
313
|
-
etag:
|
314
|
-
-
|
315
|
-
cache-control:
|
454
|
+
etag:
|
455
|
+
- "\"f1efb67f94ea75f41ce402256b17c19a\""
|
456
|
+
cache-control:
|
316
457
|
- max-age=0, private, must-revalidate
|
317
|
-
x-ua-compatible:
|
458
|
+
x-ua-compatible:
|
318
459
|
- IE=Edge
|
319
|
-
|
320
|
-
- _recurly_session=a8dee3109964a20af75996e2d89e2855; domain=.lvh.me; path=/;
|
321
|
-
HttpOnly
|
322
|
-
server:
|
460
|
+
server:
|
323
461
|
- thin 1.2.11 codename Bat-Shit Crazy
|
324
|
-
body:
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
462
|
+
body: |
|
463
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
464
|
+
<transaction type="Payment">
|
465
|
+
<id>b4ed42a1812f44dc98b3e8310e59f249</id>
|
466
|
+
<account_code>transaction-lookup-1311126815</account_code>
|
467
|
+
<action>purchase</action>
|
468
|
+
<date type="datetime">2011-09-22T22:02:19Z</date>
|
469
|
+
<amount_in_cents type="integer">300</amount_in_cents>
|
470
|
+
<currency>USD</currency>
|
471
|
+
<status>success</status>
|
472
|
+
<message>Test Gateway: Successful test transaction</message>
|
473
|
+
<reference>12345</reference>
|
474
|
+
<cvv_result code="M">Match</cvv_result>
|
475
|
+
<avs_result code="D">Street address and postal code match.</avs_result>
|
476
|
+
<avs_result_street>Y</avs_result_street>
|
477
|
+
<avs_result_postal>Y</avs_result_postal>
|
478
|
+
<test type="boolean">true</test>
|
479
|
+
<voidable type="boolean">true</voidable>
|
480
|
+
<refundable type="boolean">true</refundable>
|
481
|
+
<credit_card>
|
482
|
+
<type>visa</type>
|
483
|
+
<last_four>1111</last_four>
|
484
|
+
</credit_card>
|
485
|
+
</transaction>
|
486
|
+
|
487
|
+
http_version: "1.1"
|