vaulted_billing 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +19 -0
- data/lib/vaulted_billing/gateways/bogus.rb +2 -0
- data/lib/vaulted_billing/version.rb +1 -1
- data/spec/certification/ipcommerce/README.md +9 -0
- data/spec/certification/ipcommerce/TODO.md +1 -0
- data/spec/certification/ipcommerce/host_capture_ecommerce.rb +318 -0
- data/spec/certification/ipcommerce/ipcommerce_transaction.rb +28 -0
- data/spec/certification/ipcommerce/terminal_capture_ecommerce.rb +298 -0
- data/spec/config.example.yml +18 -0
- data/spec/factories/credit_cards.rb +38 -0
- data/spec/factories/customers.rb +7 -0
- data/spec/factories/sequences.rb +22 -0
- data/spec/fixtures/net/authorize_net_cim/add_customer/failure.yml +38 -0
- data/spec/fixtures/net/authorize_net_cim/add_customer/success.yml +39 -0
- data/spec/fixtures/net/authorize_net_cim/add_customer_credit_card/failure.yml +83 -0
- data/spec/fixtures/net/authorize_net_cim/add_customer_credit_card/success.yml +81 -0
- data/spec/fixtures/net/authorize_net_cim/authorize/failure.yml +121 -0
- data/spec/fixtures/net/authorize_net_cim/authorize/success.yml +121 -0
- data/spec/fixtures/net/authorize_net_cim/capture/failure.yml +161 -0
- data/spec/fixtures/net/authorize_net_cim/capture/success.yml +160 -0
- data/spec/fixtures/net/authorize_net_cim/purchase/failure.yml +122 -0
- data/spec/fixtures/net/authorize_net_cim/purchase/success.yml +122 -0
- data/spec/fixtures/net/authorize_net_cim/refund/failure.yml +123 -0
- data/spec/fixtures/net/authorize_net_cim/refund/failure_2.yml +43 -0
- data/spec/fixtures/net/authorize_net_cim/remove_customer/failure.yml +76 -0
- data/spec/fixtures/net/authorize_net_cim/remove_customer/success.yml +75 -0
- data/spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/failure.yml +156 -0
- data/spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/success.yml +118 -0
- data/spec/fixtures/net/authorize_net_cim/update_customer/failure.yml +77 -0
- data/spec/fixtures/net/authorize_net_cim/update_customer/success.yml +76 -0
- data/spec/fixtures/net/authorize_net_cim/update_customer_credit_card/failure.yml +125 -0
- data/spec/fixtures/net/authorize_net_cim/update_customer_credit_card/success.yml +124 -0
- data/spec/fixtures/net/authorize_net_cim/void/success.yml +159 -0
- data/spec/fixtures/net/ipcommerce/add_customer_credit_card/failure.yml +53 -0
- data/spec/fixtures/net/ipcommerce/add_customer_credit_card/success.yml +103 -0
- data/spec/fixtures/net/ipcommerce/authorize/existing/failure.yml +51 -0
- data/spec/fixtures/net/ipcommerce/authorize/existing/success.yml +105 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/bad_format.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/issuer_not_certified.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/match.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/no_match.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/no_response_from_card_association.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/not_included.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/not_sent.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/avs/not_verified.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/invalid.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/issuer_not_certified.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/no_code_present.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/no_match.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/no_response.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/not_applicable.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/not_processed.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/cvv/should_have_been_present.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/failure.yml +53 -0
- data/spec/fixtures/net/ipcommerce/authorize/new/success.yml +53 -0
- data/spec/fixtures/net/ipcommerce/capture/failure.yml +78 -0
- data/spec/fixtures/net/ipcommerce/capture/invalid.yml +78 -0
- data/spec/fixtures/net/ipcommerce/capture/success.yml +78 -0
- data/spec/fixtures/net/ipcommerce/failover.yml +53 -0
- data/spec/fixtures/net/ipcommerce/purchase/existing/failure.yml +51 -0
- data/spec/fixtures/net/ipcommerce/purchase/existing/success.yml +105 -0
- data/spec/fixtures/net/ipcommerce/purchase/new/failure.yml +53 -0
- data/spec/fixtures/net/ipcommerce/purchase/new/success.yml +53 -0
- data/spec/fixtures/net/ipcommerce/refund/failure.yml +78 -0
- data/spec/fixtures/net/ipcommerce/refund/success.yml +80 -0
- data/spec/fixtures/net/ipcommerce/update_customer_credit_card/failure.yml +53 -0
- data/spec/fixtures/net/ipcommerce/update_customer_credit_card/success.yml +103 -0
- data/spec/fixtures/net/ipcommerce/void/failure.yml +78 -0
- data/spec/fixtures/net/ipcommerce/void/success.yml +78 -0
- data/spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/failure.yml +26 -0
- data/spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/success.yml +26 -0
- data/spec/fixtures/net/nmi_customer_vault/authorize/decline.yml +51 -0
- data/spec/fixtures/net/nmi_customer_vault/authorize/success.yml +51 -0
- data/spec/fixtures/net/nmi_customer_vault/capture/failure.yml +76 -0
- data/spec/fixtures/net/nmi_customer_vault/capture/success.yml +76 -0
- data/spec/fixtures/net/nmi_customer_vault/purchase/decline.yml +51 -0
- data/spec/fixtures/net/nmi_customer_vault/purchase/success.yml +51 -0
- data/spec/fixtures/net/nmi_customer_vault/refund/failure.yml +101 -0
- data/spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/failure.yml +26 -0
- data/spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/success.yml +51 -0
- data/spec/fixtures/net/nmi_customer_vault/update_customer_credit_card/success.yml +51 -0
- data/spec/fixtures/net/nmi_customer_vault/void/failure.yml +26 -0
- data/spec/fixtures/net/nmi_customer_vault/void/success.yml +76 -0
- data/spec/models/vaulted_billing/configuration_spec.rb +62 -0
- data/spec/models/vaulted_billing/core_ext/hash_spec.rb +47 -0
- data/spec/models/vaulted_billing/credit_card_spec.rb +61 -0
- data/spec/models/vaulted_billing/gateway_spec.rb +115 -0
- data/spec/models/vaulted_billing/http_spec.rb +154 -0
- data/spec/models/vaulted_billing/transaction_spec.rb +60 -0
- data/spec/models/vaulted_billing_spec.rb +16 -0
- data/spec/requests/authorize_net_cim_spec.rb +506 -0
- data/spec/requests/bogus_spec.rb +144 -0
- data/spec/requests/ipcommerce_spec.rb +518 -0
- data/spec/requests/nmi_customer_vault_spec.rb +390 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/_vaulted_billing.rb +8 -0
- data/spec/support/factory_girl.rb +5 -0
- data/spec/support/faker.rb +1 -0
- data/spec/support/helpers.rb +46 -0
- data/spec/support/logging.rb +2 -0
- data/spec/support/test_exception.rb +1 -0
- data/spec/support/vcr.rb +49 -0
- data/spec/support/webmock.rb +7 -0
- metadata +312 -37
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://%{IPCOMMERCE_ESCAPED_USERNAME}:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/SvcInfo/token
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.1.6 (Rubygems; Ruby 1.9.2 x86_64-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/json
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-length:
|
18
|
+
- "5110"
|
19
|
+
content-type:
|
20
|
+
- application/json; charset=utf-8
|
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Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":\"TicketTest_E4FB800001\",\"Transaction\":{\"__type\":\"BankcardTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionData\":{\"Amount\":\"5.00\",\"ApprovalCode\":null,\"CurrencyCode\":4,\"TransactionDateTime\":\"2011-10-14T13:14:29-04:00\",\"CustomerPresent\":0,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"SignatureCaptured\":false,\"OrderNumber\":\"1aqo7xvmc4whrag\",\"EmployeeId\":null},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Kiana Gutmann\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Kiana Gutmann\",\"Street\":\"5270 Cronin Vista\",\"City\":\"Casperborough\",\"StateProvince\":\"VT\",\"PostalCode\":\"72221308\",\"Country\":234,\"Phone\":\"476-569-0743\"},\"CVDataProvided\":2,\"CVData\":\"123\"}}}}"
|
32
|
+
headers:
|
33
|
+
user-agent:
|
34
|
+
- vaulted_billing/1.1.6 (Rubygems; Ruby 1.9.2 x86_64-darwin11.0.0)
|
35
|
+
content-type:
|
36
|
+
- application/json
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 201
|
40
|
+
message: Created
|
41
|
+
headers:
|
42
|
+
content-length:
|
43
|
+
- "957"
|
44
|
+
content-type:
|
45
|
+
- application/json; charset=utf-8
|
46
|
+
location:
|
47
|
+
- https://cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001/322524CE87304C9DBDCF438077D86938
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:14:15 GMT
|
52
|
+
body: "{\"Status\":1,\"StatusCode\":\"00\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"322524CE87304C9DBDCF438077D86938\",\"OriginatorTransactionId\":\"4763\",\"ServiceTransactionId\":\"1901732565\",\"ServiceTransactionDateTime\":{\"Date\":\"2011-10-14\",\"Time\":\"17:14:16.749\",\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":3,\"TransactionState\":3,\"Amount\":5.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"434059\",\"AVSResult\":{\"ActualResult\":\"N\",\"AddressResult\":3,\"CountryResult\":0,\"StateResult\":0,\"PostalCodeResult\":3,\"PhoneResult\":0,\"CardholderNameResult\":0,\"CityResult\":0},\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"C \",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"322524ce-8730-4c9d-bdcf-438077d869383bb0b389-c2b8-4abf-8130-5cb03fb4c9c3\",\"RetrievalReferenceNumber\":\"415\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3650\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"A\"}"
|
53
|
+
http_version: "1.1"
|
54
|
+
- !ruby/struct:VCR::HTTPInteraction
|
55
|
+
request: !ruby/struct:VCR::Request
|
56
|
+
method: :put
|
57
|
+
uri: https://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzIwMTBmZTVhLTc2MTQtNGNmMC1iMmJjLTY2ODJjMjYxMzkwYSIgSXNzdWVyPSJJUENfU0VDVVJJVFlfU1RTIiBJc3N1ZUluc3RhbnQ9IjIwMTEtMTAtMTRUMTc6MTQ6MTUuMDU0WiIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4wOmFzc2VydGlvbiI%2BPHNhbWw6Q29uZGl0aW9ucy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1dLMDQwRjRiOEFDKzc4T3Y0TFFTT3ZTakxubUd1NlVjMW9oRERjOHZMZkovM0ozUHZ6S0lVRlR5SUtFSzVyd1EzQTg0UE1WQT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001/322524CE87304C9DBDCF438077D86938
|
58
|
+
body: "{\"__type\":\"Undo:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"DifferenceData\":{\"__type\":\"BankcardUndo:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionId\":\"322524CE87304C9DBDCF438077D86938\",\"Addendum\":null}}"
|
59
|
+
headers:
|
60
|
+
user-agent:
|
61
|
+
- vaulted_billing/1.1.6 (Rubygems; Ruby 1.9.2 x86_64-darwin11.0.0)
|
62
|
+
content-type:
|
63
|
+
- application/json
|
64
|
+
response: !ruby/struct:VCR::Response
|
65
|
+
status: !ruby/struct:VCR::ResponseStatus
|
66
|
+
code: 200
|
67
|
+
message: OK
|
68
|
+
headers:
|
69
|
+
content-length:
|
70
|
+
- "807"
|
71
|
+
content-type:
|
72
|
+
- application/json; charset=utf-8
|
73
|
+
server:
|
74
|
+
- Microsoft-HTTPAPI/1.0
|
75
|
+
date:
|
76
|
+
- Fri, 14 Oct 2011 17:14:17 GMT
|
77
|
+
body: "{\"Status\":1,\"StatusCode\":\"000\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"BC2826BDFA2B40BBBEB41CD9E56C11DB\",\"OriginatorTransactionId\":\"4764\",\"ServiceTransactionId\":\"202403708\",\"ServiceTransactionDateTime\":{\"Date\":\"2011-10-14\",\"Time\":\"17:14:16.749\",\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":1,\"TransactionState\":8,\"Amount\":5.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"434059\",\"AVSResult\":null,\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"322524ce-8730-4c9d-bdcf-438077d869383bb0b389-c2b8-4abf-8130-5cb03fb4c9c3\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3650\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"A\"}"
|
78
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=6609 Frances River&ccexp=0213&city=North Wilton&country=US&customer_vault=add_customer&email=jett@hacketteffertz.org&first_name=Merritt&last_name=Witting&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=551.564.7372 x37059&state=South Carolina&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=27748-1586
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:48:53 GMT
|
23
|
+
content-length:
|
24
|
+
- "239"
|
25
|
+
body: response=3&responsetext=Required Field cc_number is Missing or Empty REFID:327675160&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=300&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=
|
26
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=35105 Dereck Plains&ccexp=0213&ccnumber=4024007191655199&city=Altheamouth&country=US&customer_vault=add_customer&email=morton_crona@schneider.name&first_name=Elijah&last_name=Rohan&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=273-187-3007 x330&state=Massachusetts&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=68469-8399
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:48:52 GMT
|
23
|
+
content-length:
|
24
|
+
- "202"
|
25
|
+
body: response=1&responsetext=Customer Added&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=583471259
|
26
|
+
http_version: "1.1"
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=5618 Oberbrunner Extension&ccexp=0213&ccnumber=4539482164563803&city=Camronmouth&country=US&customer_vault=add_customer&email=isobel@harris.net&first_name=Angeline&last_name=Greenfelder&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=304-711-5298&state=Nebraska&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=11466
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:49:08 GMT
|
23
|
+
content-length:
|
24
|
+
- "203"
|
25
|
+
body: response=1&responsetext=Customer Added&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1653001980
|
26
|
+
http_version: "1.1"
|
27
|
+
- !ruby/struct:VCR::HTTPInteraction
|
28
|
+
request: !ruby/struct:VCR::Request
|
29
|
+
method: :post
|
30
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
31
|
+
body: amount=0.01&customer_vault_id=1653001980&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&type=auth&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
32
|
+
headers:
|
33
|
+
user-agent:
|
34
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
35
|
+
content-type:
|
36
|
+
- application/x-www-form-urlencoded
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
content-type:
|
43
|
+
- text/html
|
44
|
+
server:
|
45
|
+
- Apache
|
46
|
+
date:
|
47
|
+
- Wed, 29 Feb 2012 04:49:09 GMT
|
48
|
+
content-length:
|
49
|
+
- "211"
|
50
|
+
body: response=2&responsetext=DECLINE&authcode=&transactionid=1573007913&avsresponse=N&cvvresponse=&orderid=&type=auth&response_code=200&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1653001980
|
51
|
+
http_version: "1.1"
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=405 Carter Groves&ccexp=0213&ccnumber=5230002140732287&city=Port Bradford&country=US&customer_vault=add_customer&email=cydney.stark@reilly.com&first_name=Bette&last_name=Weber&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=846.410.5211 x7183&state=North Carolina&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=19492
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:49:05 GMT
|
23
|
+
content-length:
|
24
|
+
- "202"
|
25
|
+
body: response=1&responsetext=Customer Added&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=110341951
|
26
|
+
http_version: "1.1"
|
27
|
+
- !ruby/struct:VCR::HTTPInteraction
|
28
|
+
request: !ruby/struct:VCR::Request
|
29
|
+
method: :post
|
30
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
31
|
+
body: amount=1.0&customer_vault_id=110341951&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&type=auth&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
32
|
+
headers:
|
33
|
+
user-agent:
|
34
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
35
|
+
content-type:
|
36
|
+
- application/x-www-form-urlencoded
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
content-type:
|
43
|
+
- text/html
|
44
|
+
server:
|
45
|
+
- Apache
|
46
|
+
date:
|
47
|
+
- Wed, 29 Feb 2012 04:49:05 GMT
|
48
|
+
content-length:
|
49
|
+
- "216"
|
50
|
+
body: response=1&responsetext=SUCCESS&authcode=123456&transactionid=1573007900&avsresponse=N&cvvresponse=&orderid=&type=auth&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=110341951
|
51
|
+
http_version: "1.1"
|
@@ -0,0 +1,76 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=520 Cristobal Glen&ccexp=0213&ccnumber=4913379750143840&city=Lake Jazmyne&country=US&customer_vault=add_customer&email=laurine_mills@terry.net&first_name=Kenna&last_name=Hudson&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=(548)919-6584 x9489&state=Massachusetts&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=75054
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:49:17 GMT
|
23
|
+
content-length:
|
24
|
+
- "203"
|
25
|
+
body: response=1&responsetext=Customer Added&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1326576157
|
26
|
+
http_version: "1.1"
|
27
|
+
- !ruby/struct:VCR::HTTPInteraction
|
28
|
+
request: !ruby/struct:VCR::Request
|
29
|
+
method: :post
|
30
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
31
|
+
body: amount=10.0&customer_vault_id=1326576157&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&type=auth&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
32
|
+
headers:
|
33
|
+
user-agent:
|
34
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
35
|
+
content-type:
|
36
|
+
- application/x-www-form-urlencoded
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
content-type:
|
43
|
+
- text/html
|
44
|
+
server:
|
45
|
+
- Apache
|
46
|
+
date:
|
47
|
+
- Wed, 29 Feb 2012 04:49:17 GMT
|
48
|
+
content-length:
|
49
|
+
- "217"
|
50
|
+
body: response=1&responsetext=SUCCESS&authcode=123456&transactionid=1573007943&avsresponse=N&cvvresponse=&orderid=&type=auth&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1326576157
|
51
|
+
http_version: "1.1"
|
52
|
+
- !ruby/struct:VCR::HTTPInteraction
|
53
|
+
request: !ruby/struct:VCR::Request
|
54
|
+
method: :post
|
55
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
56
|
+
body: amount=500.0&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&transactionid=1573007943&type=capture&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
57
|
+
headers:
|
58
|
+
user-agent:
|
59
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
60
|
+
content-type:
|
61
|
+
- application/x-www-form-urlencoded
|
62
|
+
response: !ruby/struct:VCR::Response
|
63
|
+
status: !ruby/struct:VCR::ResponseStatus
|
64
|
+
code: 200
|
65
|
+
message: OK
|
66
|
+
headers:
|
67
|
+
content-type:
|
68
|
+
- text/html
|
69
|
+
server:
|
70
|
+
- Apache
|
71
|
+
date:
|
72
|
+
- Wed, 29 Feb 2012 04:49:19 GMT
|
73
|
+
content-length:
|
74
|
+
- "283"
|
75
|
+
body: response=3&responsetext=The specified amount of 500.0 exceeds the authorization amount of 10.00 REFID:327675164&authcode=&transactionid=1573007943&avsresponse=&cvvresponse=&orderid=&type=capture&response_code=300&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=
|
76
|
+
http_version: "1.1"
|
@@ -0,0 +1,76 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=49487 Randall Mount&ccexp=0213&ccnumber=343364053762320&city=Audreyville&country=US&customer_vault=add_customer&email=quentin@doylemohr.com&first_name=Cathrine&last_name=Hammes&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=189-044-9712 x481&state=Massachusetts&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=13581-1078
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:49:11 GMT
|
23
|
+
content-length:
|
24
|
+
- "203"
|
25
|
+
body: response=1&responsetext=Customer Added&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1092525815
|
26
|
+
http_version: "1.1"
|
27
|
+
- !ruby/struct:VCR::HTTPInteraction
|
28
|
+
request: !ruby/struct:VCR::Request
|
29
|
+
method: :post
|
30
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
31
|
+
body: amount=10.0&customer_vault_id=1092525815&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&type=auth&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
32
|
+
headers:
|
33
|
+
user-agent:
|
34
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
35
|
+
content-type:
|
36
|
+
- application/x-www-form-urlencoded
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
content-type:
|
43
|
+
- text/html
|
44
|
+
server:
|
45
|
+
- Apache
|
46
|
+
date:
|
47
|
+
- Wed, 29 Feb 2012 04:49:11 GMT
|
48
|
+
content-length:
|
49
|
+
- "217"
|
50
|
+
body: response=1&responsetext=SUCCESS&authcode=123456&transactionid=1573007923&avsresponse=N&cvvresponse=&orderid=&type=auth&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1092525815
|
51
|
+
http_version: "1.1"
|
52
|
+
- !ruby/struct:VCR::HTTPInteraction
|
53
|
+
request: !ruby/struct:VCR::Request
|
54
|
+
method: :post
|
55
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
56
|
+
body: amount=5.0&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&transactionid=1573007923&type=capture&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
57
|
+
headers:
|
58
|
+
user-agent:
|
59
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
60
|
+
content-type:
|
61
|
+
- application/x-www-form-urlencoded
|
62
|
+
response: !ruby/struct:VCR::Response
|
63
|
+
status: !ruby/struct:VCR::ResponseStatus
|
64
|
+
code: 200
|
65
|
+
message: OK
|
66
|
+
headers:
|
67
|
+
content-type:
|
68
|
+
- text/html
|
69
|
+
server:
|
70
|
+
- Apache
|
71
|
+
date:
|
72
|
+
- Wed, 29 Feb 2012 04:49:14 GMT
|
73
|
+
content-length:
|
74
|
+
- "209"
|
75
|
+
body: response=1&responsetext=SUCCESS&authcode=123456&transactionid=1573007923&avsresponse=&cvvresponse=&orderid=&type=capture&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=
|
76
|
+
http_version: "1.1"
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
6
|
+
body: address1=0090 Douglas Lane&ccexp=0213&ccnumber=4024007199960179&city=West Filomena&country=US&customer_vault=add_customer&email=zita_roberts@schummgerlach.biz&first_name=Ebba&last_name=Mante&method=creditcard&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&phone=1-572-343-6504 x3911&state=Georgia&username=%{NMI_CUSTOMER_VAULT_USERNAME}&zip=72119-7431
|
7
|
+
headers:
|
8
|
+
user-agent:
|
9
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
10
|
+
content-type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
content-type:
|
18
|
+
- text/html
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
date:
|
22
|
+
- Wed, 29 Feb 2012 04:49:01 GMT
|
23
|
+
content-length:
|
24
|
+
- "203"
|
25
|
+
body: response=1&responsetext=Customer Added&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=&response_code=100&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1629315414
|
26
|
+
http_version: "1.1"
|
27
|
+
- !ruby/struct:VCR::HTTPInteraction
|
28
|
+
request: !ruby/struct:VCR::Request
|
29
|
+
method: :post
|
30
|
+
uri: https://secure.nmi.com:443/api/transact.php
|
31
|
+
body: amount=0.01&customer_vault_id=1629315414&%{NMI_CUSTOMER_VAULT_PASSWORD}=%{NMI_CUSTOMER_VAULT_PASSWORD}&type=sale&username=%{NMI_CUSTOMER_VAULT_USERNAME}
|
32
|
+
headers:
|
33
|
+
user-agent:
|
34
|
+
- vaulted_billing/1.2.1 (Rubygems; Ruby 1.8.7 i686-darwin11.0.0)
|
35
|
+
content-type:
|
36
|
+
- application/x-www-form-urlencoded
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
content-type:
|
43
|
+
- text/html
|
44
|
+
server:
|
45
|
+
- Apache
|
46
|
+
date:
|
47
|
+
- Wed, 29 Feb 2012 04:49:02 GMT
|
48
|
+
content-length:
|
49
|
+
- "211"
|
50
|
+
body: response=2&responsetext=DECLINE&authcode=&transactionid=1573007889&avsresponse=N&cvvresponse=&orderid=&type=sale&response_code=200&merchant_defined_field_6=&merchant_defined_field_7=&customer_vault_id=1629315414
|
51
|
+
http_version: "1.1"
|