vantiv 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/CHANGELOG.md +7 -3
- data/README.md +4 -4
- data/bin/generate_sandbox_fixtures +2 -1
- data/exe/vantiv-certify-app +9 -30
- data/lib/vantiv.rb +17 -4
- data/lib/vantiv/api/address.rb +9 -2
- data/lib/vantiv/api/live_transaction_response.rb +4 -0
- data/lib/vantiv/api/request.rb +14 -8
- data/lib/vantiv/api/request_body.rb +6 -3
- data/lib/vantiv/api/response.rb +6 -6
- data/lib/vantiv/api/response_body.rb +13 -4
- data/lib/vantiv/api/transaction.rb +22 -4
- data/lib/vantiv/api/transaction_request_representer_xml.rb +4 -0
- data/lib/vantiv/api/transaction_response.rb +22 -3
- data/lib/vantiv/api/transaction_response_representer.rb +2 -0
- data/lib/vantiv/api/transaction_response_representer_xml.rb +2 -0
- data/lib/vantiv/certification/paypage_driver.rb +7 -1
- data/lib/vantiv/certification/views/index.html.erb +1 -1
- data/lib/vantiv/environment.rb +10 -5
- data/lib/vantiv/mocked_sandbox/api_request.rb +0 -2
- data/lib/vantiv/mocked_sandbox/fixture_generator.rb +11 -0
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457000300000007.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457000301100004.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457002100000005.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457010000000009.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth--5112000101110009.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth--5112001600000006.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth--5112001900000003.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000300000007.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000301100004.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457002100000005.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457010000000009.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112000101110009.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001600000006.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001900000003.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_reversal.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/capture.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/credit.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000300000007.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000301100004.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457002100000005.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457010000000009.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112000101110009.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001600000006.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001900000003.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--RGFQNCt6U1d1M21SeVByVTM4dHlHb1FsVkUrSmpnWXhNY0o5UkMzRlZFanZiUHVnYjN1enJXbG1WSDF4aXlNc.json +5 -4
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-account-closed-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-contact-cardholder-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--expired-card-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--insufficient-funds-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--invalid-account-number-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--mocked-valid-temporary-token.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--pDZJcmd1VjNlYXNaSlRMTGpocVZQY1NWVXE4Z W5UTko4NU9KK3p1L1p1Vzg4YzVPQVlSUHNITG1 JN2I0Nzl.json +5 -4
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--valid-account-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000300000007.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000301100004.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457002100000005.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010000000009.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010010900010.json +6 -8
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112000101110009.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001600000006.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001900000003.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/void.json +6 -9
- data/lib/vantiv/mocked_sandbox/mocked_response_representer.rb +1 -0
- data/lib/vantiv/paypage.rb +17 -3
- data/lib/vantiv/response_code_map.rb +960 -0
- data/lib/vantiv/test_card.rb +73 -81
- data/lib/vantiv/version.rb +1 -1
- data/vantiv-ruby.gemspec +3 -2
- metadata +32 -10
|
@@ -61,4 +61,6 @@ class TransactionResponseRepresenter < Representable::Decorator
|
|
|
61
61
|
property :apple_pay_response, as: :applepayResponse, class: Vantiv::Api::ApplePayResponse do
|
|
62
62
|
property :online_payment_cryptogram, as: :onlinePaymentCryptogram
|
|
63
63
|
end
|
|
64
|
+
|
|
65
|
+
property :network_transaction_id, as: :networkTransactionId
|
|
64
66
|
end
|
|
@@ -51,4 +51,6 @@ class TransactionResponseRepresenterXml < Representable::Decorator
|
|
|
51
51
|
property :apple_pay_response, as: :applepayResponse, class: Vantiv::Api::ApplePayResponse do
|
|
52
52
|
property :online_payment_cryptogram, as: :onlinePaymentCryptogram
|
|
53
53
|
end
|
|
54
|
+
|
|
55
|
+
property :network_transaction_id, as: :networkTransactionId
|
|
54
56
|
end
|
|
@@ -42,7 +42,13 @@ module Vantiv
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def driver
|
|
45
|
-
@driver ||=
|
|
45
|
+
@driver ||=
|
|
46
|
+
begin
|
|
47
|
+
options = ::Selenium::WebDriver::Firefox::Options.new
|
|
48
|
+
options.headless!
|
|
49
|
+
|
|
50
|
+
Selenium::WebDriver.for(:firefox, options: options)
|
|
51
|
+
end
|
|
46
52
|
end
|
|
47
53
|
|
|
48
54
|
def paypage_server
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<html>
|
|
2
2
|
<head>
|
|
3
3
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
|
|
4
|
-
<script src="
|
|
4
|
+
<script src="<%= Vantiv::Paypage.payframe_js %>" type="text/javascript"></script>
|
|
5
5
|
<script>
|
|
6
6
|
document.addEventListener('DOMContentLoaded', function(){
|
|
7
7
|
var payframeClientCallback = function(response) {
|
data/lib/vantiv/environment.rb
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
module Vantiv
|
|
2
2
|
module Environment
|
|
3
|
+
POSTCERTIFICATION = :postcertification
|
|
4
|
+
PRECERTIFICATION = :precertification
|
|
3
5
|
PRODUCTION = :production
|
|
4
|
-
CERTIFICATION = :certification
|
|
5
6
|
|
|
6
|
-
def self.
|
|
7
|
-
Vantiv.environment ==
|
|
7
|
+
def self.postcertification?
|
|
8
|
+
Vantiv.environment == POSTCERTIFICATION
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def self.precertification?
|
|
12
|
+
Vantiv.environment == PRECERTIFICATION
|
|
8
13
|
end
|
|
9
14
|
|
|
10
|
-
def self.
|
|
11
|
-
Vantiv.environment ==
|
|
15
|
+
def self.production?
|
|
16
|
+
Vantiv.environment == PRODUCTION
|
|
12
17
|
end
|
|
13
18
|
end
|
|
14
19
|
end
|
|
@@ -53,6 +53,17 @@ module Vantiv
|
|
|
53
53
|
)
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
Vantiv::TestCard.all.each do |test_card|
|
|
57
|
+
mocked_payment_account_id = test_card.mocked_sandbox_payment_account_id
|
|
58
|
+
next if mocked_payment_account_id.nil?
|
|
59
|
+
live_temporary_token = @paypage_driver.get_paypage_registration_id(test_card.card_number, test_card.cvv)
|
|
60
|
+
record_tokenize_for_test_token(
|
|
61
|
+
test_temporary_token: test_card.temporary_token,
|
|
62
|
+
live_temporary_token: live_temporary_token,
|
|
63
|
+
mocked_payment_account_id: mocked_payment_account_id
|
|
64
|
+
)
|
|
65
|
+
end
|
|
66
|
+
|
|
56
67
|
@paypage_driver.stop
|
|
57
68
|
end
|
|
58
69
|
|
|
@@ -5,21 +5,17 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
10
|
"authCode": "654321",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "8fca7505566619592972cb43",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:20",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "12"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"TransactionID": "82918655929057362",
|
|
18
|
+
"TransactionID": "82924261924619223",
|
|
23
19
|
"accountUpdater": {
|
|
24
20
|
"originalCardTokenInfo": {
|
|
25
21
|
"bin": "445700",
|
|
@@ -37,9 +33,10 @@
|
|
|
37
33
|
},
|
|
38
34
|
"extendedCardResponse": {
|
|
39
35
|
}
|
|
40
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"networkTransactionId": "0000000001017"
|
|
41
38
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"295b77346c3798e2c2bc105b\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619223</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:20</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>654321</authCode>\n <accountUpdater>\n <originalCardTokenInfo>\n <litleToken>1111000242220007</litleToken>\n <type>VI</type>\n <bin>445700</bin>\n <expDate>0115</expDate>\n </originalCardTokenInfo>\n <newCardTokenInfo>\n <litleToken>1112000247040003</litleToken>\n <type>MC</type>\n <bin>511200</bin>\n <expDate>0115</expDate>\n </newCardTokenInfo>\n </accountUpdater>\n <fraudResult>\n <avsResult>12</avsResult>\n </fraudResult>\n <networkTransactionId>0000000001017</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
45
42
|
}
|
|
@@ -5,21 +5,17 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
10
|
"authCode": "123457",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "bb9c05e661b463bacc718538",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:24",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "00"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"TransactionID": "82918655929057602",
|
|
18
|
+
"TransactionID": "82924261924619785",
|
|
23
19
|
"accountUpdater": {
|
|
24
20
|
"newCardTokenInfo": {
|
|
25
21
|
},
|
|
@@ -27,9 +23,10 @@
|
|
|
27
23
|
"code": "504",
|
|
28
24
|
"message": "Contact the cardholder for updated information"
|
|
29
25
|
}
|
|
30
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"networkTransactionId": "000000000000000"
|
|
31
28
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"8d0da4c440ca506d0867acd7\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619785</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:24</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>123457</authCode>\n <accountUpdater>\n <extendedCardResponse>\n <code>504</code>\n <message>Contact the cardholder for updated information</message>\n </extendedCardResponse>\n </accountUpdater>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
35
32
|
}
|
|
@@ -5,22 +5,19 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"orderId": "not-dynamic-order-id",
|
|
12
11
|
"response": "110",
|
|
13
|
-
"responseTime": "
|
|
14
|
-
"postDate": "2016-08-16",
|
|
15
|
-
"@id": "295033dae8fea9339bf0c2d4",
|
|
12
|
+
"responseTime": "2018-10-17T15:34:18",
|
|
16
13
|
"fraudResult": {
|
|
17
14
|
"avsResult": "00"
|
|
18
15
|
},
|
|
19
16
|
"message": "Insufficient Funds",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
17
|
+
"TransactionID": "82924261924618795",
|
|
18
|
+
"networkTransactionId": "000000000000000"
|
|
22
19
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"7360b34725e71573898e8940\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618795</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>110</response>\n <responseTime>2018-10-17T15:34:18</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Insufficient Funds</message>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
26
23
|
}
|
|
@@ -5,23 +5,20 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
10
|
"authCode": "11111 ",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "6a59df5b1b97a2606764c28f",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:15",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "34"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
18
|
+
"TransactionID": "82924261923637127",
|
|
19
|
+
"networkTransactionId": "000000000000000"
|
|
23
20
|
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"f144d2166e469cd87e190ddc\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261923637127</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:15</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>11111 </authCode>\n <fraudResult>\n <avsResult>34</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
27
24
|
}
|
|
@@ -5,21 +5,17 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
10
|
"authCode": "123457",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "f03ae4aba989493c359ecb51",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:22",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "00"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"TransactionID": "82918655929057495",
|
|
18
|
+
"TransactionID": "82924261924619496",
|
|
23
19
|
"accountUpdater": {
|
|
24
20
|
"originalCardTokenInfo": {
|
|
25
21
|
"bin": "511200",
|
|
@@ -39,9 +35,10 @@
|
|
|
39
35
|
"code": "501",
|
|
40
36
|
"message": "The account was closed"
|
|
41
37
|
}
|
|
42
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"networkTransactionId": "000000000000000"
|
|
43
40
|
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"c5916f068abe78e47cc5679b\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619496</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:22</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>123457</authCode>\n <accountUpdater>\n <originalCardTokenInfo>\n <litleToken>1112000239160009</litleToken>\n <type>MC</type>\n <bin>511200</bin>\n <expDate>1199</expDate>\n </originalCardTokenInfo>\n <newCardTokenInfo>\n <litleToken>1111000288150001</litleToken>\n <type>VI</type>\n <bin>445700</bin>\n <expDate>1199</expDate>\n </newCardTokenInfo>\n <extendedCardResponse>\n <code>501</code>\n <message>The account was closed</message>\n </extendedCardResponse>\n </accountUpdater>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
47
44
|
}
|
|
@@ -5,22 +5,19 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"orderId": "not-dynamic-order-id",
|
|
12
11
|
"response": "301",
|
|
13
|
-
"responseTime": "
|
|
14
|
-
"postDate": "2016-08-16",
|
|
15
|
-
"@id": "46d3275bf71b907d9d019521",
|
|
12
|
+
"responseTime": "2018-10-17T15:34:16",
|
|
16
13
|
"fraudResult": {
|
|
17
14
|
"avsResult": "00"
|
|
18
15
|
},
|
|
19
16
|
"message": "Invalid Account Number",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
17
|
+
"TransactionID": "82924261924618464",
|
|
18
|
+
"networkTransactionId": "0000000001017"
|
|
22
19
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"9ce29b679555c797eab5fa2c\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618464</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>301</response>\n <responseTime>2018-10-17T15:34:16</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Invalid Account Number</message>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>0000000001017</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
26
23
|
}
|
|
@@ -5,22 +5,19 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authorizationResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"orderId": "not-dynamic-order-id",
|
|
12
11
|
"response": "305",
|
|
13
|
-
"responseTime": "
|
|
14
|
-
"postDate": "2016-08-16",
|
|
15
|
-
"@id": "21e407a7d9dcb7c9d6c0c925",
|
|
12
|
+
"responseTime": "2018-10-17T15:34:19",
|
|
16
13
|
"fraudResult": {
|
|
17
14
|
"avsResult": "00"
|
|
18
15
|
},
|
|
19
16
|
"message": "Expired Card",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
17
|
+
"TransactionID": "82924261924619066",
|
|
18
|
+
"networkTransactionId": "0000000001017"
|
|
22
19
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authorizationResponse id=\"b13cceb3ec9c5c80527340b5\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619066</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>305</response>\n <responseTime>2018-10-17T15:34:19</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Expired Card</message>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>0000000001017</networkTransactionId>\n </authorizationResponse>\n</litleOnlineResponse>\n"
|
|
26
23
|
}
|
|
@@ -5,21 +5,17 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
10
|
"authCode": "654321",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "e302356c941d0022b291d32b",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:20",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "12"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"TransactionID": "82918655929057354",
|
|
18
|
+
"TransactionID": "82924261924619173",
|
|
23
19
|
"accountUpdater": {
|
|
24
20
|
"originalCardTokenInfo": {
|
|
25
21
|
"bin": "445700",
|
|
@@ -37,9 +33,10 @@
|
|
|
37
33
|
},
|
|
38
34
|
"extendedCardResponse": {
|
|
39
35
|
}
|
|
40
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"networkTransactionId": "0000000001017"
|
|
41
38
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"627b789f825b825f8a4ed0a2\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619173</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:20</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>654321</authCode>\n <accountUpdater>\n <originalCardTokenInfo>\n <litleToken>1111000242220007</litleToken>\n <type>VI</type>\n <bin>445700</bin>\n <expDate>0115</expDate>\n </originalCardTokenInfo>\n <newCardTokenInfo>\n <litleToken>1112000247040003</litleToken>\n <type>MC</type>\n <bin>511200</bin>\n <expDate>0115</expDate>\n </newCardTokenInfo>\n </accountUpdater>\n <fraudResult>\n <avsResult>12</avsResult>\n </fraudResult>\n <networkTransactionId>0000000001017</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
45
42
|
}
|
|
@@ -5,21 +5,17 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
10
|
"authCode": "123457",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "a58c07cc837febbc49aa977c",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:23",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "00"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"TransactionID": "82918655929057578",
|
|
18
|
+
"TransactionID": "82924261924619645",
|
|
23
19
|
"accountUpdater": {
|
|
24
20
|
"newCardTokenInfo": {
|
|
25
21
|
},
|
|
@@ -27,9 +23,10 @@
|
|
|
27
23
|
"code": "504",
|
|
28
24
|
"message": "Contact the cardholder for updated information"
|
|
29
25
|
}
|
|
30
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"networkTransactionId": "000000000000000"
|
|
31
28
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"97e76a6afba8fbbf45a42d52\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619645</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:23</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>123457</authCode>\n <accountUpdater>\n <extendedCardResponse>\n <code>504</code>\n <message>Contact the cardholder for updated information</message>\n </extendedCardResponse>\n </accountUpdater>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
35
32
|
}
|
|
@@ -5,22 +5,19 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"orderId": "not-dynamic-order-id",
|
|
12
11
|
"response": "110",
|
|
13
|
-
"responseTime": "
|
|
14
|
-
"postDate": "2016-08-16",
|
|
15
|
-
"@id": "d557320b89a6344155b8a8e8",
|
|
12
|
+
"responseTime": "2018-10-17T15:34:18",
|
|
16
13
|
"fraudResult": {
|
|
17
14
|
"avsResult": "00"
|
|
18
15
|
},
|
|
19
16
|
"message": "Insufficient Funds",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
17
|
+
"TransactionID": "82924261924618597",
|
|
18
|
+
"networkTransactionId": "000000000000000"
|
|
22
19
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"616f0ce1903f46c0cd5a0d5d\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618597</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>110</response>\n <responseTime>2018-10-17T15:34:18</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Insufficient Funds</message>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
26
23
|
}
|