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,53 @@
|
|
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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Sd3hMVlJWdXVwRVIyRS9NeldIZitENU12T2Q2dFBtRkZSS0JHNFdrcGpGUlhaWHpVRVBrRGlJSjZCU1JoSi83T0VwQ2FiZGE0N3hNbm9UbDJINUd4bGpiZ3B1UXIzWDZMb2RROG5LSGZONUtzTnNpOVRGNVg1RDJKY3ZsSVZWaFFpVnhkZExVaDJ2Um5LenRKMnVIUnBMWDNFWmtld2tRdktweHRXRWZCQURDVm9nTlpLcFh5WExsOXMwRXlXdHkydjhuaVM0YmVvT1dDemd4SS82ak9jOHRiZmJLVmFsTjR0UEtHN254bWVUTlJKeTloUHFYTnNXZWcyUEpXYlBqd2V2M2FIL25tRmJWbFFPQkd2Smcxb0dJR1ZPRnpiSE84NXF2TU1zbXdVbjkxeVBWakZrOWJoZz09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
31
|
+
body: "{\"__type\":\"AuthorizeAndCaptureTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":\"TicketTest_E4FB800001\",\"Transaction\":{\"__type\":\"BankcardTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionData\":{\"Amount\":\"10.00\",\"ApprovalCode\":null,\"CurrencyCode\":4,\"TransactionDateTime\":\"2011-10-14T13:14:05-04:00\",\"CustomerPresent\":0,\"EmployeeId\":null,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"OrderNumber\":\"1aqo7wgxc69yomb\",\"SignatureCaptured\":false},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Prudence Huels\",\"CardType\":2,\"Expire\":\"1012\",\"PAN\":\"4111111111111112\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Prudence Huels\",\"Street\":\"68781 Wunsch Prairie\",\"City\":\"Port Chelseaside\",\"StateProvince\":\"Alabama\",\"PostalCode\":\"99019\",\"Country\":234,\"Phone\":\"281-818-3980\"},\"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
|
+
- "701"
|
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/B94D3CF142244BEAA0B6893434E7887A
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:13:51 GMT
|
52
|
+
body: "{\"Status\":2,\"StatusCode\":null,\"StatusMessage\":null,\"TransactionId\":\"B94D3CF142244BEAA0B6893434E7887A\",\"OriginatorTransactionId\":\"4755\",\"ServiceTransactionId\":\"\",\"ServiceTransactionDateTime\":{\"Date\":null,\"Time\":null,\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":6,\"TransactionState\":6,\"Amount\":10.00,\"CardType\":2,\"FeeAmount\":0,\"ApprovalCode\":\"\",\"AVSResult\":null,\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX1112\",\"PaymentAccountDataToken\":\"\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3644\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"NotSet\"}"
|
53
|
+
http_version: "1.1"
|
@@ -0,0 +1,53 @@
|
|
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
|
21
|
+
server:
|
22
|
+
- Microsoft-HTTPAPI/1.0
|
23
|
+
date:
|
24
|
+
- Fri, 14 Oct 2011 17:13:46 GMT
|
25
|
+
body: "\"PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJza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QT3NKR2RNRVg5Q0twb1F1dDNmVmFzWWxwMmhpbGppdXFjVEtZd21JMmxGRHFWRnJYSmorbHd6WmFNN1NIVkhpYWFCUXFEc3phazdRaGROcnZKS2hCTERYN0NPRktGYjdhdC9XZGowK2E1em44WUZjNkhiSmY3V2hGSzNTSWxVNXRKNjVsY2VHSktGVjN3bW1kU1BKYTh5TkVuQVRsOHJ5TGNJSks0TG1HdnV3MWFEVXhVWnIxbGdqLy8xQ21DTmV2cnQ1a2kySitERm04UT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
31
|
+
body: "{\"__type\":\"AuthorizeAndCaptureTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":\"TicketTest_E4FB800001\",\"Transaction\":{\"__type\":\"BankcardTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionData\":{\"Amount\":\"10.00\",\"ApprovalCode\":null,\"CurrencyCode\":4,\"TransactionDateTime\":\"2011-10-14T13:14:01-04:00\",\"CustomerPresent\":0,\"EmployeeId\":null,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"OrderNumber\":\"1aqo7w845t8v2lf\",\"SignatureCaptured\":false},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Josue Cummerata\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Josue Cummerata\",\"Street\":\"447 Bartoletti Ville\",\"City\":\"South Jeremiemouth\",\"StateProvince\":\"MT\",\"PostalCode\":\"31248\",\"Country\":234,\"Phone\":\"(914)360-8162 x08059\"},\"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
|
+
- "940"
|
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/23E4854C4CB74736A5194529499B81FA
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:13:47 GMT
|
52
|
+
body: "{\"Status\":1,\"StatusCode\":\"000\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"23E4854C4CB74736A5194529499B81FA\",\"OriginatorTransactionId\":\"4754\",\"ServiceTransactionId\":\"838840539\",\"ServiceTransactionDateTime\":{\"Date\":null,\"Time\":null,\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":5,\"TransactionState\":5,\"Amount\":10.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"132808\",\"AVSResult\":{\"ActualResult\":\"N\",\"AddressResult\":3,\"CountryResult\":0,\"StateResult\":0,\"PostalCodeResult\":3,\"PhoneResult\":0,\"CardholderNameResult\":0,\"CityResult\":0},\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"23e4854c-4cb7-4736-a519-4529499b81fac17f4fcc-d14c-4439-b61b-667e948daef3\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3643\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"NotSet\"}"
|
53
|
+
http_version: "1.1"
|
@@ -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
|
21
|
+
server:
|
22
|
+
- Microsoft-HTTPAPI/1.0
|
23
|
+
date:
|
24
|
+
- Fri, 14 Oct 2011 17:14:09 GMT
|
25
|
+
body: "\"PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2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3VMTHVrYjBjQ3RlS2FLQVVBYjNzdFk1UDhZaE5qbTk5dDdkWllDQjhtdTF5dFI1SGdydjhGbmw2SzRGMDZzdnNjQWFYQktuVEtodEFZN1h4SlNmc092OHlzZFJVdE5pK09GODBidkpYQkIvaldxcEtxMEpmcDhHRkZqMC9kanhLQllILzZqbWNMcXNiSnI0UzhTWTRxbFoyWUJUNEt0QU9yT3FSRFhOeG5nNmJlbFplallncDZOTEhXa1ZtN3RZWitWMWpuQUxpdk1Sc09CMkV4TkVSb3ZJeUlsWXVXb2J3WkE4SlUxb204a1JOUHlPNFdCY2FXN3VzcHdQNVppcHFQbzZxQT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI+PG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI+ZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg==\""
|
26
|
+
http_version: "1.1"
|
27
|
+
- !ruby/struct:VCR::HTTPInteraction
|
28
|
+
request: !ruby/struct:VCR::Request
|
29
|
+
method: :post
|
30
|
+
uri: https://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iX2FiNDk5MTQyLTdlODUtNDQzNC04MWRjL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kWllDQjhtdTF5dFI1SGdydjhGbmw2SzRGMDZzdnNjQWFYQktuVEtodEFZN1h4SlNmc092OHlzZFJVdE5pK09GODBidkpYQkIvaldxcEtxMEpmcDhHRkZqMC9kanhLQllILzZqbWNMcXNiSnI0UzhTWTRxbFoyWUJUNEt0QU9yT3FSRFhOeG5nNmJlbFplallncDZOTEhXa1ZtN3RZWitWMWpuQUxpdk1Sc09CMkV4TkVSb3ZJeUlsWXVXb2J3WkE4SlUxb204a1JOUHlPNFdCY2FXN3VzcHdQNVppcHFQbzZxQT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
31
|
+
body: "{\"__type\":\"AuthorizeAndCaptureTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/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:24-04:00\",\"CustomerPresent\":0,\"EmployeeId\":null,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"OrderNumber\":\"1aqo7xlpd2zhu81\",\"SignatureCaptured\":false},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Beaulah Kirlin\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Beaulah Kirlin\",\"Street\":\"206 Lilyan View\",\"City\":\"Bergstromton\",\"StateProvince\":\"AP\",\"PostalCode\":\"09785913\",\"Country\":234,\"Phone\":\"1-694-736-1784 x11391\"},\"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
|
+
- "940"
|
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/DC90806E57534F908DA13CC75E60236B
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:14:11 GMT
|
52
|
+
body: "{\"Status\":1,\"StatusCode\":\"000\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"DC90806E57534F908DA13CC75E60236B\",\"OriginatorTransactionId\":\"4762\",\"ServiceTransactionId\":\"1851354624\",\"ServiceTransactionDateTime\":{\"Date\":null,\"Time\":null,\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":5,\"TransactionState\":5,\"Amount\":5.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"821404\",\"AVSResult\":{\"ActualResult\":\"N\",\"AddressResult\":3,\"CountryResult\":0,\"StateResult\":0,\"PostalCodeResult\":3,\"PhoneResult\":0,\"CardholderNameResult\":0,\"CityResult\":0},\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"dc90806e-5753-4f90-8da1-3cc75e60236b054e0ce4-9c4d-4d70-b8d8-d47aeb6cd460\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3649\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"NotSet\"}"
|
53
|
+
http_version: "1.1"
|
54
|
+
- !ruby/struct:VCR::HTTPInteraction
|
55
|
+
request: !ruby/struct:VCR::Request
|
56
|
+
method: :post
|
57
|
+
uri: https://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iX2FiNDk5MTQyLTdlODUtNDQzNC04MWRjLTdjYzk0NDBkNzkwMyIgSXNzdWVyPSJJUENfU0VDVVJJVFlfU1RTIiBJc3N1ZUluc3RhbnQ9IjIwMTEtMTAtMTRUMTc6MTQ6MTAuNDI5WiIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4wOmFzc2VydGlvbiI%2BPHNhbWw6Q29uZGl0aW9ucyBOb3RCZWZvcmU9IjIwMTEtMTAtMTRUMTc6MTM6MTAuNDI5WiIgTm90T25PckFmdGVyPSIyMDExLTEwLTE0VDE3OjQ0OjEwLjQyOVoiPjwvc2FtbDpDb25kaXRpb25zPjxzYW1sOkFkdmljZT48L3NhbWw6QWR2a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HhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
58
|
+
body: "{\"__type\":\"ReturnById:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":null,\"DifferenceData\":{\"__type\":\"BankcardReturn:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionId\":\"DC90806E57534F908DA13CC75E60236B\",\"Addendum\":null,\"Amount\":\"6.00\"}}"
|
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: 400
|
67
|
+
message: Bad Request
|
68
|
+
headers:
|
69
|
+
content-length:
|
70
|
+
- "560"
|
71
|
+
content-type:
|
72
|
+
- application/xml; charset=utf-8
|
73
|
+
server:
|
74
|
+
- Microsoft-HTTPAPI/1.0
|
75
|
+
date:
|
76
|
+
- Fri, 14 Oct 2011 17:14:11 GMT
|
77
|
+
body: <ErrorResponse xmlns="http://schemas.ipcommerce.com/CWS/v2.0/Rest" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ErrorId>326</ErrorId><HelpUrl>http://commercelab.ipcommerce.com/docs/Documentation/1.17.14/CWS_REST_Developer_Guide/Introduction.aspx</HelpUrl><Messages xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a:string>Attempt to return more than original authorization.</a:string></Messages><Operation>ReturnById</Operation><Reason>Attempt to return more than original authorization.</Reason><ValidationErrors/></ErrorResponse>
|
78
|
+
http_version: "1.1"
|
@@ -0,0 +1,80 @@
|
|
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
|
21
|
+
server:
|
22
|
+
- Microsoft-HTTPAPI/1.0
|
23
|
+
date:
|
24
|
+
- Fri, 14 Oct 2011 17:14:04 GMT
|
25
|
+
body: "\"PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzM0ZTQ5NGI2LTkzODktNDBmNC05NzgyLTEyNzA1MWE4ODYxOCIgSXNzdWVyPSJJUENfU0VDVVJJVFlfU1RTIiBJc3N1ZUluc3RhbnQ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MlZCRjdCdEVCR2Y3VE9LanJsM0VSWFc5Z0xOeUFTQWlLVWpUZitKekNWNmlRRnVRVUg4cWdyZUhibmdhYXNyalAvaWFrTlhGWEt2eDhqYi9KTS9pbG5EYUlnN0I0NUZwVmpCbUpnUWZBYlkvcG9CODVaUT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
31
|
+
body: "{\"__type\":\"AuthorizeAndCaptureTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/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:19-04:00\",\"CustomerPresent\":0,\"EmployeeId\":null,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"OrderNumber\":\"1aqo7xaeg8ukuet\",\"SignatureCaptured\":false},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Richard Langworth\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Richard Langworth\",\"Street\":\"069 Geovanni Plains\",\"City\":\"Casimirmouth\",\"StateProvince\":\"AK\",\"PostalCode\":\"15418202\",\"Country\":234,\"Phone\":\"410-076-8900 x113\"},\"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
|
+
- "938"
|
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/B92C9B45390A4095ACB7C5AF71C70AFA
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:14:05 GMT
|
52
|
+
body: "{\"Status\":1,\"StatusCode\":\"000\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"B92C9B45390A4095ACB7C5AF71C70AFA\",\"OriginatorTransactionId\":\"4760\",\"ServiceTransactionId\":\"21730710\",\"ServiceTransactionDateTime\":{\"Date\":null,\"Time\":null,\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":5,\"TransactionState\":5,\"Amount\":5.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"154575\",\"AVSResult\":{\"ActualResult\":\"N\",\"AddressResult\":3,\"CountryResult\":0,\"StateResult\":0,\"PostalCodeResult\":3,\"PhoneResult\":0,\"CardholderNameResult\":0,\"CityResult\":0},\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"b92c9b45-390a-4095-acb7-c5af71c70afac3a60574-d1ed-4721-b4b1-cf4e749e15ae\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3648\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"NotSet\"}"
|
53
|
+
http_version: "1.1"
|
54
|
+
- !ruby/struct:VCR::HTTPInteraction
|
55
|
+
request: !ruby/struct:VCR::Request
|
56
|
+
method: :post
|
57
|
+
uri: https://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzM0ZTQ5NGI2LTkzODktNDBmNC05NzgyLTEyNzA1MWE4ODYxOCIgSXNzdWVyPSJJUENfU0VDVVJJVFlfU1RTIiBJc3N1ZUluc3RhbnQ9IjIwMTEtMTAtMTRUMTc6MTQ6MDUuMTQ4WiIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4wOmFzc2VydGlvbiI%2BPHNhbWw6Q29uZGl0aW9ucyBOb3RCZWZvcmU9IjIwMTEtMTAtMTRUMTc6MTM6MDUuMTQ4WiIgTm90T25PckFmdGVyPSIyMDExLTEwLTE0VDE3OjQ0OjA1LjE0OFoiPjwvc2FtbDpDb25kaXRpb25zPjxzYW1sOkFkdmljZT48L3NhbWw6QWR2aWNlPjxzYW1sOkF0dHJpYnV0ZVN0YXRlbWVudD48c2FtbDpTdWJqZWN0PjxzYW1sOk5hbWVJZGVudGlmaWVyPkM1ODk5OTUyRUVEMDAwMDE8L3NhbWw6TmFtZUlkZW50aWZpZXI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2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
58
|
+
body: "{\"__type\":\"ReturnById:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":null,\"DifferenceData\":{\"__type\":\"BankcardReturn:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionId\":\"B92C9B45390A4095ACB7C5AF71C70AFA\",\"Addendum\":null,\"Amount\":\"5.00\"}}"
|
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: 201
|
67
|
+
message: Created
|
68
|
+
headers:
|
69
|
+
content-length:
|
70
|
+
- "793"
|
71
|
+
content-type:
|
72
|
+
- application/json; charset=utf-8
|
73
|
+
location:
|
74
|
+
- https://cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001/0250DE1AE96241C29E321A8B979C0BB7
|
75
|
+
server:
|
76
|
+
- Microsoft-HTTPAPI/1.0
|
77
|
+
date:
|
78
|
+
- Fri, 14 Oct 2011 17:14:07 GMT
|
79
|
+
body: "{\"Status\":1,\"StatusCode\":\"000\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"0250DE1AE96241C29E321A8B979C0BB7\",\"OriginatorTransactionId\":\"4761\",\"ServiceTransactionId\":\"1431822300\",\"ServiceTransactionDateTime\":{\"Date\":null,\"Time\":null,\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":5,\"TransactionState\":12,\"Amount\":5.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"\",\"AVSResult\":null,\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"b92c9b45-390a-4095-acb7-c5af71c70afac3a60574-d1ed-4721-b4b1-cf4e749e15ae\",\"RetrievalReferenceNumber\":\"413\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3648\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"NotSet\"}"
|
80
|
+
http_version: "1.1"
|
@@ -0,0 +1,53 @@
|
|
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
|
21
|
+
server:
|
22
|
+
- Microsoft-HTTPAPI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xYmp2Nkh1NG4wT2prNWFMVVdpVTQ4SUZsNFVjekx6bE5WYkFWZUhLV01XZTVZa2JkL0gwZFk0cklIS3FpdmZIbHNXSHd4cFJ5czZubzM1UVBZNWp6d0pyVFNMejZnWTFOUkYrR3FzR2NjRmR5MCtaMTdsQm9NVUpPZzNTbllVZFNISTVtdUd0VG90UmhWNkZsQ1RRbTV3NlVRbEREd0tLMFdWcStqNUdlcDJnZTBuMDcxdWJxQktvSlJRVzZLcXlmek9oc2hvNEJCb1BLWnpZdTdRSStKcVJLMmZHUS9jR3JFUVA0Wmo1S0Ewc0xSUTlJM2RzQWpUQjBmZno2cENaa05QWU9QWGt1WFc1Si9RTWZpTGgxQ0RuV0M4WHE4cVZqL1VjeG9PVXBiUT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
31
|
+
body: "{\"__type\":\"AuthorizeTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":\"TicketTest_E4FB800001\",\"Transaction\":{\"__type\":\"BankcardTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionData\":{\"Amount\":\"1.00\",\"ApprovalCode\":null,\"CurrencyCode\":4,\"TransactionDateTime\":\"2011-10-14T13:12:32-04:00\",\"CustomerPresent\":0,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"SignatureCaptured\":false,\"OrderNumber\":\"1aqo7qvyopixmqp\",\"EmployeeId\":null},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Misty O'Connell\",\"CardType\":2,\"Expire\":\"1012\",\"PAN\":\"4111111111111112\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Misty O'Connell\",\"Street\":\"43134 Lindgren Drive\",\"City\":\"Rathberg\",\"StateProvince\":\"Colorado\",\"PostalCode\":\"20263\",\"Country\":234,\"Phone\":\"1-880-544-6180\"},\"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
|
+
- "700"
|
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/D522D5F874C74D0EAB5E623BDFAEB210
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:12:18 GMT
|
52
|
+
body: "{\"Status\":2,\"StatusCode\":null,\"StatusMessage\":null,\"TransactionId\":\"D522D5F874C74D0EAB5E623BDFAEB210\",\"OriginatorTransactionId\":\"4726\",\"ServiceTransactionId\":\"\",\"ServiceTransactionDateTime\":{\"Date\":null,\"Time\":null,\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":1,\"TransactionState\":1,\"Amount\":1.00,\"CardType\":2,\"FeeAmount\":0,\"ApprovalCode\":\"\",\"AVSResult\":null,\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX1112\",\"PaymentAccountDataToken\":\"\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3618\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"NotSet\"}"
|
53
|
+
http_version: "1.1"
|
@@ -0,0 +1,103 @@
|
|
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
|
21
|
+
server:
|
22
|
+
- Microsoft-HTTPAPI/1.0
|
23
|
+
date:
|
24
|
+
- Fri, 14 Oct 2011 17:12:10 GMT
|
25
|
+
body: "\"PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBB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UFYaGdQa2g2NXJNSVg0SURsazRIM3AzdU9YK1BaL2RsQXE4YkVsQXo0V3dFNi81VFhvVmJxSEdOdFhaNjlMa1ZKNm9KdXQ4Qm1SRWRwcWNqdER2aXhRTmVDb3F2OWxMc3kxWFF3aFd1WEZ6L2d2am5BQURiQks5d1E3dFp6aHcwcGF6OHhQWjJNeUNPQkJSbkMrYjE0MTdzVEw2dktPRVZQbUZyenQwSHpQZlB3eGxzc1g0QWRkNmdmaER3Y2p0M2VhVENCUT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
31
|
+
body: "{\"__type\":\"AuthorizeTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":null,\"Transaction\":{\"__type\":\"BankcardTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionData\":{\"Amount\":\"1.00\",\"ApprovalCode\":null,\"CurrencyCode\":4,\"TransactionDateTime\":\"2011-10-14T13:12:25-04:00\",\"CustomerPresent\":0,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"SignatureCaptured\":false,\"OrderNumber\":\"1aqo7qivu7fnty9\",\"EmployeeId\":null},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Margarette Sawayn\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Margarette Sawayn\",\"Street\":\"179 Kaylee Creek\",\"City\":\"Rosenbaumfurt\",\"StateProvince\":\"ID\",\"PostalCode\":\"16732697\",\"Country\":234,\"Phone\":\"1-950-769-8237\"},\"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: 400
|
40
|
+
message: Bad Request
|
41
|
+
headers:
|
42
|
+
content-length:
|
43
|
+
- "4064"
|
44
|
+
content-type:
|
45
|
+
- application/xml; charset=utf-8
|
46
|
+
server:
|
47
|
+
- Microsoft-HTTPAPI/1.0
|
48
|
+
date:
|
49
|
+
- Fri, 14 Oct 2011 17:12:11 GMT
|
50
|
+
body: <ErrorResponse xmlns="http://schemas.ipcommerce.com/CWS/v2.0/Rest" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ErrorId>0</ErrorId><HelpUrl>http://commercelab.ipcommerce.com/docs/Documentation/1.17.14/CWS_REST_Developer_Guide/Introduction.aspx</HelpUrl><Messages xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a:string i:nil="true"/></Messages><Operation>Authorize</Operation><Reason>Validation Errors Occurred</Reason><ValidationErrors><ValidationError><RuleKey>MerchantData.CntryCode</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/CntryCode</RuleLocationKey><RuleMessage>Property "CntryCode" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.LangInd</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/LangInd</RuleLocationKey><RuleMessage>Property "LangInd" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.MerchAddress.Street1</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/MerchAddress/Street1</RuleLocationKey><RuleMessage>Property "Street1" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.MerchAddress.City</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/MerchAddress/City</RuleLocationKey><RuleMessage>Property "City" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.MerchAddress.PostalCode</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/MerchAddress/PostalCode</RuleLocationKey><RuleMessage>Property "PostalCode" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.MerchAddress.CntryCode</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/MerchAddress/CntryCode</RuleLocationKey><RuleMessage>Property "CntryCode" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.MerchId</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/MerchId</RuleLocationKey><RuleMessage>Property "MerchId" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.MerchName</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/MerchName</RuleLocationKey><RuleMessage>Property "MerchName" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchantData.SIC</RuleKey><RuleLocationKey>ppreq:CREDIT/ppreq:AUTHONLY/MerchantData/SIC</RuleLocationKey><RuleMessage>Property "SIC" is required.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>CustServicePhoneReqedException</RuleKey><RuleLocationKey>MerchantProfileMerchantData/CustomerServicePhone</RuleLocationKey><RuleMessage>CustomerServicePhone element is required if IndustryType = 'MOTO' or IndustryType = 'Ecommerce'.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>MerchPhoneReqedException</RuleKey><RuleLocationKey>MerchantProfileMerchantData/Phone</RuleLocationKey><RuleMessage>Phone element is required if IndustryType = 'MOTO' or 'Ecommerce'.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError><ValidationError><RuleKey>DR:Terminal Identifier</RuleKey><RuleLocationKey>BankcardMerchantData/TerminalId</RuleLocationKey><RuleMessage>Required data "Terminal Identifier" not present in transaction.</RuleMessage><TransactionId>E67ACA83317D4E9E8AFADC741C3E5AA5</TransactionId></ValidationError></ValidationErrors></ErrorResponse>
|
51
|
+
http_version: "1.1"
|
52
|
+
- !ruby/struct:VCR::HTTPInteraction
|
53
|
+
request: !ruby/struct:VCR::Request
|
54
|
+
method: :post
|
55
|
+
uri: https://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzc5ZjgyOTRhLTk1YjItNGQ4NS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hWY0syVlZKdUNXazd3MlFIZnRMa2lGZVdwOUFYaGdQa2g2NXJNSVg0SURsazRIM3AzdU9YK1BaL2RsQXE4YkVsQXo0V3dFNi81VFhvVmJxSEdOdFhaNjlMa1ZKNm9KdXQ4Qm1SRWRwcWNqdER2aXhRTmVDb3F2OWxMc3kxWFF3aFd1WEZ6L2d2am5BQURiQks5d1E3dFp6aHcwcGF6OHhQWjJNeUNPQkJSbkMrYjE0MTdzVEw2dktPRVZQbUZyenQwSHpQZlB3eGxzc1g0QWRkNmdmaER3Y2p0M2VhVENCUT09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001
|
56
|
+
body: "{\"__type\":\"AuthorizeTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Rest\",\"ApplicationProfileId\":66817,\"MerchantProfileId\":\"TicketTest_E4FB800001\",\"Transaction\":{\"__type\":\"BankcardTransaction:http://schemas.ipcommerce.com/CWS/v2.0/Transactions/Bankcard\",\"TransactionData\":{\"Amount\":\"1.00\",\"ApprovalCode\":null,\"CurrencyCode\":4,\"TransactionDateTime\":\"2011-10-14T13:12:27-04:00\",\"CustomerPresent\":0,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"SignatureCaptured\":false,\"OrderNumber\":\"1aqo7qn5job7111\",\"EmployeeId\":null},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Margarette Sawayn\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Margarette Sawayn\",\"Street\":\"179 Kaylee Creek\",\"City\":\"Rosenbaumfurt\",\"StateProvince\":\"ID\",\"PostalCode\":\"16732697\",\"Country\":234,\"Phone\":\"1-950-769-8237\"},\"CVDataProvided\":2,\"CVData\":\"123\"}}}}"
|
57
|
+
headers:
|
58
|
+
user-agent:
|
59
|
+
- vaulted_billing/1.1.6 (Rubygems; Ruby 1.9.2 x86_64-darwin11.0.0)
|
60
|
+
content-type:
|
61
|
+
- application/json
|
62
|
+
response: !ruby/struct:VCR::Response
|
63
|
+
status: !ruby/struct:VCR::ResponseStatus
|
64
|
+
code: 201
|
65
|
+
message: Created
|
66
|
+
headers:
|
67
|
+
content-length:
|
68
|
+
- "957"
|
69
|
+
content-type:
|
70
|
+
- application/json; charset=utf-8
|
71
|
+
location:
|
72
|
+
- https://cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001/0233791E0E854B50ABEDAF3279174F54
|
73
|
+
server:
|
74
|
+
- Microsoft-HTTPAPI/1.0
|
75
|
+
date:
|
76
|
+
- Fri, 14 Oct 2011 17:12:13 GMT
|
77
|
+
body: "{\"Status\":1,\"StatusCode\":\"00\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"0233791E0E854B50ABEDAF3279174F54\",\"OriginatorTransactionId\":\"4724\",\"ServiceTransactionId\":\"1998625185\",\"ServiceTransactionDateTime\":{\"Date\":\"2011-10-14\",\"Time\":\"17:12:14.449\",\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":3,\"TransactionState\":3,\"Amount\":1.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"236575\",\"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\":\"0233791e-0e85-4b50-abed-af3279174f54e283ea24-56aa-4a63-a7a2-43b7c6463957\",\"RetrievalReferenceNumber\":\"379\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3617\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"A\"}"
|
78
|
+
http_version: "1.1"
|
79
|
+
- !ruby/struct:VCR::HTTPInteraction
|
80
|
+
request: !ruby/struct:VCR::Request
|
81
|
+
method: :put
|
82
|
+
uri: https://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzc5ZjgyOTRhLTk1YjItNGQ4NS05M2VkLTg1MWYzZDYwZjdhYiIgSXNzdWVyPSJJUENfU0VDVVJJVFlfU1RTIiBJc3N1ZUluc3RhbnQ9IjIwMTEtMTAtMTRUMTc6MTI6MTEuNTIyWiIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4wOmFzc2VydGlvbiI%2BPHNhbWw6Q29uZGl0aW9ucyBOb3RCZWZvcmU9IjIwMTEtMTAtMTRUMTc6MTE6MTEuNTIyWiIgTm90T25PckFmdGVyPSIyMDExLTEwLTE0VDE3OjQyOjExLjUyMloiPjwvc2FtbDpDb25kaXRpb25zPjxzYW1sOkFkdmljZT48L3Nhb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uUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001/0233791E0E854B50ABEDAF3279174F54
|
83
|
+
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\":\"0233791E0E854B50ABEDAF3279174F54\",\"Addendum\":null}}"
|
84
|
+
headers:
|
85
|
+
user-agent:
|
86
|
+
- vaulted_billing/1.1.6 (Rubygems; Ruby 1.9.2 x86_64-darwin11.0.0)
|
87
|
+
content-type:
|
88
|
+
- application/json
|
89
|
+
response: !ruby/struct:VCR::Response
|
90
|
+
status: !ruby/struct:VCR::ResponseStatus
|
91
|
+
code: 200
|
92
|
+
message: OK
|
93
|
+
headers:
|
94
|
+
content-length:
|
95
|
+
- "808"
|
96
|
+
content-type:
|
97
|
+
- application/json; charset=utf-8
|
98
|
+
server:
|
99
|
+
- Microsoft-HTTPAPI/1.0
|
100
|
+
date:
|
101
|
+
- Fri, 14 Oct 2011 17:12:15 GMT
|
102
|
+
body: "{\"Status\":1,\"StatusCode\":\"000\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"972412A72C234C67A670A5CE0FE2648A\",\"OriginatorTransactionId\":\"4725\",\"ServiceTransactionId\":\"1020022298\",\"ServiceTransactionDateTime\":{\"Date\":\"2011-10-14\",\"Time\":\"17:12:14.449\",\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":1,\"TransactionState\":8,\"Amount\":1.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"236575\",\"AVSResult\":null,\"BatchId\":\"\",\"CVResult\":0,\"CardLevel\":\"\",\"DowngradeCode\":\"\",\"MaskedPAN\":\"XXXXXXXXXXXX5454\",\"PaymentAccountDataToken\":\"0233791e-0e85-4b50-abed-af3279174f54e283ea24-56aa-4a63-a7a2-43b7c6463957\",\"RetrievalReferenceNumber\":\"\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3617\",\"CashBackAmount\":0.00,\"AdviceResponse\":0,\"CommercialCardResponse\":0,\"ReturnedACI\":\"A\"}"
|
103
|
+
http_version: "1.1"
|
@@ -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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ipcommerce.com/CWS/v2.0/Transactions/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:35-04:00\",\"CustomerPresent\":0,\"EntryMode\":1,\"GoodsType\":0,\"IndustryType\":2,\"SignatureCaptured\":false,\"OrderNumber\":\"1aqo7y87goptfxp\",\"EmployeeId\":null},\"TenderData\":{\"CardData\":{\"CardholderName\":\"Karlee Carroll\",\"CardType\":3,\"Expire\":\"1210\",\"PAN\":\"5454545454545454\"},\"CardSecurityData\":{\"AVSData\":{\"CardholderName\":\"Karlee Carroll\",\"Street\":\"334 Romaine Mountain\",\"City\":\"New Emiliafurt\",\"StateProvince\":\"MD\",\"PostalCode\":\"42755381\",\"Country\":234,\"Phone\":\"060-950-8421 x5206\"},\"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/F6173065EC404B36B9A3309121A61864
|
48
|
+
server:
|
49
|
+
- Microsoft-HTTPAPI/1.0
|
50
|
+
date:
|
51
|
+
- Fri, 14 Oct 2011 17:14:21 GMT
|
52
|
+
body: "{\"Status\":1,\"StatusCode\":\"00\",\"StatusMessage\":\"APPROVED\",\"TransactionId\":\"F6173065EC404B36B9A3309121A61864\",\"OriginatorTransactionId\":\"4765\",\"ServiceTransactionId\":\"1540728174\",\"ServiceTransactionDateTime\":{\"Date\":\"2011-10-14\",\"Time\":\"17:14:22.499\",\"TimeZone\":null},\"Addendum\":null,\"CaptureState\":3,\"TransactionState\":3,\"Amount\":5.00,\"CardType\":3,\"FeeAmount\":0,\"ApprovalCode\":\"354078\",\"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\":\"f6173065-ec40-4b36-b9a3-309121a6186436fe6240-ed7c-4952-b782-929bf4d04968\",\"RetrievalReferenceNumber\":\"416\",\"Resubmit\":1,\"SettlementDate\":\"\\/Date(-62135596800000+0000)\\/\",\"FinalBalance\":0,\"OrderId\":\"3651\",\"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://PHNhbWw6QXNzZXJ0aW9uIE1ham9yVmVyc2lvbj0iMSIgTWlub3JWZXJzaW9uPSIxIiBBc3NlcnRpb25JRD0iXzg0ZjM2MjBmLWE3ODctNDE4Zi04M2VjLThhNmVkNWM4Y2I4NCIgSXNzdWVyPSJJUENfU0VDVVJJVFlfU1RTIiBJc3N1ZUluc3RhbnQ9IjIwMTEtMTAtMTRUMTc6MTQ6MjAuOTMwWiIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4wOmFzc2VydGlvbiI%2BP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2cFZOTXozN1A3NDRmcWlNaTdENWoyRnpWUU1sc1RkZm5RZE9nTnNFRmFrWDJYVzFxN1daa2JvQmZaZG4vSVkwTi9FVzdMdlh6a1lWamdBYlZWRCtkMnBLeU45Zz09PC9TaWduYXR1cmVWYWx1ZT48S2V5SW5mbz48bzpTZWN1cml0eVRva2VuUmVmZXJlbmNlIHhtbG5zOm89Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy8yMDA0LzAxL29hc2lzLTIwMDQwMS13c3Mtd3NzZWN1cml0eS1zZWNleHQtMS4wLnhzZCI%2BPG86S2V5SWRlbnRpZmllciBWYWx1ZVR5cGU9Imh0dHA6Ly9kb2NzLm9hc2lzLW9wZW4ub3JnL3dzcy9vYXNpcy13c3Mtc29hcC1tZXNzYWdlLXNlY3VyaXR5LTEuMSNUaHVtYnByaW50U0hBMSI%2BZXA1a3dhMzFmbjJyRjNwNUpvU3lGd2F2VUpjPTwvbzpLZXlJZGVudGlmaWVyPjwvbzpTZWN1cml0eVRva2VuUmVmZXJlbmNlPjwvS2V5SW5mbz48L1NpZ25hdHVyZT48L3NhbWw6QXNzZXJ0aW9uPg%3D%3D:@cws-01.cert.ipcommerce.com:443/REST/2.0.15/Txn/E4FB800001/F6173065EC404B36B9A3309121A61864_bad
|
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\":\"F6173065EC404B36B9A3309121A61864_bad\",\"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: 400
|
67
|
+
message: Bad Request
|
68
|
+
headers:
|
69
|
+
content-length:
|
70
|
+
- "648"
|
71
|
+
content-type:
|
72
|
+
- application/xml; charset=utf-8
|
73
|
+
server:
|
74
|
+
- Microsoft-HTTPAPI/1.0
|
75
|
+
date:
|
76
|
+
- Fri, 14 Oct 2011 17:14:21 GMT
|
77
|
+
body: "<ErrorResponse xmlns=\"http://schemas.ipcommerce.com/CWS/v2.0/Rest\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><ErrorId>326</ErrorId><HelpUrl>http://commercelab.ipcommerce.com/docs/Documentation/1.17.14/CWS_REST_Developer_Guide/Introduction.aspx</HelpUrl><Messages xmlns:a=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\"><a:string>Unable to retrieve serialized transaction for transactionId: F6173065EC404B36B9A3309121A61864_bad</a:string></Messages><Operation>Undo</Operation><Reason>Unable to retrieve serialized transaction for transactionId: F6173065EC404B36B9A3309121A61864_bad</Reason><ValidationErrors/></ErrorResponse>"
|
78
|
+
http_version: "1.1"
|