vantiv 0.3.0 → 1.0.0
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 +4 -4
- data/.codeclimate.yml +16 -0
- data/.env.example +4 -2
- data/.rubocop.yml +1157 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +10 -0
- data/README.md +42 -29
- data/bin/console +5 -3
- data/bin/generate_sandbox_fixtures +5 -3
- data/bin/paypage_server +5 -3
- data/cert_fixtures/{L_AU_1.json → ACCOUNT_UPDATER_100.json} +0 -0
- data/cert_fixtures/{L_AU_3.json → ACCOUNT_UPDATER_100A.json} +0 -0
- data/cert_fixtures/{L_AU_7.json → ACCOUNT_UPDATER_100B.json} +1 -1
- data/cert_fixtures/{L_AU_2.json → ACCOUNT_UPDATER_101.json} +0 -0
- data/cert_fixtures/{L_AU_4.json → ACCOUNT_UPDATER_101A.json} +0 -0
- data/cert_fixtures/{L_AU_5.json → ACCOUNT_UPDATER_102.json} +0 -0
- data/cert_fixtures/{L_AU_6.json → ACCOUNT_UPDATER_103.json} +0 -0
- data/cert_fixtures/{L_AC_1.json → AUTH_CAPTURE_1.json} +0 -0
- data/cert_fixtures/AUTH_CAPTURE_1A.json +8 -0
- data/cert_fixtures/{L_AC_2.json → AUTH_CAPTURE_2.json} +0 -0
- data/cert_fixtures/AUTH_CAPTURE_2A.json +8 -0
- data/cert_fixtures/{L_AC_3.json → AUTH_CAPTURE_3.json} +0 -0
- data/cert_fixtures/AUTH_CAPTURE_3A.json +8 -0
- data/cert_fixtures/{L_AC_4.json → AUTH_CAPTURE_4.json} +0 -0
- data/cert_fixtures/AUTH_CAPTURE_4A.json +8 -0
- data/cert_fixtures/{L_AC_5.json → AUTH_CAPTURE_5.json} +0 -0
- data/cert_fixtures/AUTH_CAPTURE_5A.json +8 -0
- data/cert_fixtures/{L_AC_6.json → AUTH_CAPTURE_6.json} +0 -0
- data/cert_fixtures/{L_AC_7.json → AUTH_CAPTURE_7.json} +0 -0
- data/cert_fixtures/{L_AC_8.json → AUTH_CAPTURE_8.json} +0 -0
- data/cert_fixtures/{L_AC_9.json → AUTH_CAPTURE_9.json} +0 -0
- data/cert_fixtures/{L_AR_1.json → AUTH_REVERSAL_32.json} +0 -0
- data/cert_fixtures/{L_AR_1A.json → AUTH_REVERSAL_32A.json} +1 -1
- data/cert_fixtures/AUTH_REVERSAL_32B.json +8 -0
- data/cert_fixtures/{L_AR_2.json → AUTH_REVERSAL_33.json} +0 -0
- data/cert_fixtures/AUTH_REVERSAL_33A.json +8 -0
- data/cert_fixtures/{L_AR_3.json → AUTH_REVERSAL_34.json} +0 -0
- data/cert_fixtures/AUTH_REVERSAL_34A.json +8 -0
- data/cert_fixtures/{L_AR_4.json → AUTH_REVERSAL_35.json} +0 -0
- data/cert_fixtures/{L_AR_4A.json → AUTH_REVERSAL_35A.json} +1 -1
- data/cert_fixtures/{L_AR_4B.json → AUTH_REVERSAL_35B.json} +1 -1
- data/cert_fixtures/{L_AR_5.json → AUTH_REVERSAL_36.json} +0 -0
- data/cert_fixtures/{L_AR_5A.json → AUTH_REVERSAL_36A.json} +1 -1
- data/cert_fixtures/{L_RC_1.json → CREDIT_1.json} +0 -0
- data/cert_fixtures/CREDIT_1A.json +8 -0
- data/cert_fixtures/CREDIT_1B.json +8 -0
- data/cert_fixtures/{L_RC_2.json → CREDIT_2.json} +0 -0
- data/cert_fixtures/CREDIT_2A.json +8 -0
- data/cert_fixtures/CREDIT_2B.json +8 -0
- data/cert_fixtures/{L_RC_3.json → CREDIT_3.json} +0 -0
- data/cert_fixtures/CREDIT_3A.json +8 -0
- data/cert_fixtures/CREDIT_3B.json +8 -0
- data/cert_fixtures/{L_RC_4.json → CREDIT_4.json} +0 -0
- data/cert_fixtures/CREDIT_4A.json +8 -0
- data/cert_fixtures/CREDIT_4B.json +8 -0
- data/cert_fixtures/{L_RC_5.json → CREDIT_5.json} +0 -0
- data/cert_fixtures/CREDIT_5A.json +8 -0
- data/cert_fixtures/CREDIT_5B.json +8 -0
- data/cert_fixtures/{L_RC_6.json → SALE_1.json} +0 -0
- data/cert_fixtures/{L_S_2.json → SALE_2.json} +0 -0
- data/cert_fixtures/{L_S_3.json → SALE_3.json} +0 -0
- data/cert_fixtures/{L_S_4.json → SALE_4.json} +0 -0
- data/cert_fixtures/{L_S_5.json → SALE_5.json} +0 -0
- data/cert_fixtures/{L_S_6.json → SALE_6.json} +0 -0
- data/cert_fixtures/{L_S_7.json → SALE_7.json} +0 -0
- data/cert_fixtures/{L_S_8.json → SALE_8.json} +0 -0
- data/cert_fixtures/{L_S_9.json → SALE_9.json} +0 -0
- data/cert_fixtures/{L_S_1.json → SECURITY_CODE_FILTER_R1.json} +9 -9
- data/cert_fixtures/SECURITY_CODE_FILTER_R2.json +27 -0
- data/cert_fixtures/{L_T_1.json → TOKENIZATION_1.json} +0 -0
- data/cert_fixtures/{L_T_10.json → TOKENIZATION_10.json} +0 -0
- data/cert_fixtures/{L_T_11.json → TOKENIZATION_11.json} +0 -0
- data/cert_fixtures/{L_T_2.json → TOKENIZATION_2.json} +0 -0
- data/cert_fixtures/{L_T_3.json → TOKENIZATION_3.json} +0 -0
- data/cert_fixtures/{L_T_4.json → TOKENIZATION_4.json} +0 -0
- data/cert_fixtures/{L_T_6.json → TOKENIZATION_6.json} +0 -0
- data/cert_fixtures/{L_T_7.json → TOKENIZATION_7.json} +0 -0
- data/cert_fixtures/{L_T_8.json → TOKENIZATION_8.json} +0 -0
- data/cert_fixtures/{L_T_9.json → TOKENIZATION_9.json} +1 -1
- data/cert_fixtures/{L_V_1.json → VOID_1.json} +0 -0
- data/cert_fixtures/VOID_1A.json +8 -0
- data/cert_fixtures/VOID_1B.json +8 -0
- data/cert_fixtures/VOID_1C.json +8 -0
- data/cert_fixtures/{L_V_2.json → VOID_2.json} +0 -0
- data/cert_fixtures/VOID_2A.json +8 -0
- data/cert_fixtures/{L_V_3.json → VOID_3.json} +0 -0
- data/cert_fixtures/VOID_3A.json +8 -0
- data/cert_fixtures/{L_V_4.json → VOID_4.json} +0 -0
- data/cert_fixtures/VOID_4A.json +8 -0
- data/cert_fixtures/{L_EP_1.json → ePROTECT_1.json} +0 -0
- data/cert_fixtures/{L_EP_2.json → ePROTECT_2.json} +0 -0
- data/cert_fixtures/{L_EP_3.json → ePROTECT_3.json} +0 -0
- data/cert_fixtures/{L_EP_4.json → ePROTECT_4.json} +1 -1
- data/cert_fixtures/{L_EP_5.json → ePROTECT_5.json} +1 -1
- data/cert_fixtures/{L_EP_6.json → ePROTECT_6.json} +0 -0
- data/cert_fixtures/{L_EP_7.json → ePROTECT_7.json} +0 -0
- data/exe/vantiv-certify-app +18 -12
- data/lib/monkey_patches/representable/xml.rb +12 -0
- data/lib/vantiv.rb +39 -14
- data/lib/vantiv/api.rb +13 -1
- data/lib/vantiv/api/account_updater_response.rb +24 -29
- data/lib/vantiv/api/address.rb +8 -0
- data/lib/vantiv/api/apple_pay_response.rb +9 -0
- data/lib/vantiv/api/capture_response.rb +1 -1
- data/lib/vantiv/api/card.rb +47 -0
- data/lib/vantiv/api/cardholder_authentication.rb +11 -0
- data/lib/vantiv/api/fraud_result.rb +7 -0
- data/lib/vantiv/api/live_transaction_response.rb +4 -5
- data/lib/vantiv/api/payment_account.rb +11 -0
- data/lib/vantiv/api/request.rb +72 -33
- data/lib/vantiv/api/request_body.rb +100 -97
- data/lib/vantiv/api/request_body_representer.rb +54 -0
- data/lib/vantiv/api/request_body_representer_xml.rb +19 -0
- data/lib/vantiv/api/response.rb +9 -29
- data/lib/vantiv/api/response_body.rb +12 -0
- data/lib/vantiv/api/response_body_representer.rb +23 -0
- data/lib/vantiv/api/response_body_representer_xml.rb +25 -0
- data/lib/vantiv/api/tied_transaction_response.rb +5 -5
- data/lib/vantiv/api/tokenization_response.rb +15 -9
- data/lib/vantiv/api/transaction.rb +42 -0
- data/lib/vantiv/api/transaction_request_representer_xml.rb +57 -0
- data/lib/vantiv/api/transaction_response.rb +9 -0
- data/lib/vantiv/api/transaction_response_representer.rb +64 -0
- data/lib/vantiv/api/transaction_response_representer_xml.rb +54 -0
- data/lib/vantiv/certification/paypage_server.rb +13 -2
- data/lib/vantiv/certification/response_cache.rb +4 -12
- data/lib/vantiv/certification/validation_test_runner.rb +29 -10
- data/lib/vantiv/mocked_sandbox.rb +3 -2
- data/lib/vantiv/mocked_sandbox/api_request.rb +56 -27
- data/lib/vantiv/mocked_sandbox/fixture_generator.rb +56 -50
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--4457000300000007.json.erb → auth--4457000300000007.json} +18 -16
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--4457000301100004.json.erb → auth--4457000301100004.json} +16 -14
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--4457002100000005.json.erb → auth--4457002100000005.json} +10 -10
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--4457010000000009.json.erb → auth--4457010000000009.json} +11 -11
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--5112000101110009.json.erb → auth--5112000101110009.json} +16 -16
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--5112001600000006.json.erb → auth--5112001600000006.json} +10 -10
- data/lib/vantiv/mocked_sandbox/fixtures/{auth--5112001900000003.json.erb → auth--5112001900000003.json} +10 -10
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--4457000300000007.json.erb → auth_capture--4457000300000007.json} +18 -16
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--4457000301100004.json.erb → auth_capture--4457000301100004.json} +16 -14
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--4457002100000005.json.erb → auth_capture--4457002100000005.json} +10 -10
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--4457010000000009.json.erb → auth_capture--4457010000000009.json} +11 -11
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--5112000101110009.json.erb → auth_capture--5112000101110009.json} +16 -16
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--5112001600000006.json.erb → auth_capture--5112001600000006.json} +10 -10
- data/lib/vantiv/mocked_sandbox/fixtures/{auth_capture--5112001900000003.json.erb → auth_capture--5112001900000003.json} +10 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_reversal.json +21 -0
- data/lib/vantiv/mocked_sandbox/fixtures/capture.json +21 -0
- data/lib/vantiv/mocked_sandbox/fixtures/credit.json +21 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000300000007.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000301100004.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457002100000005.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457010000000009.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112000101110009.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001600000006.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001900000003.json +22 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--RGFQNCt6U1d1M21SeVByVTM4dHlHb1FsVkUrSmpnWXhNY0o5UkMzRlZFanZiUHVnYjN1enJXbG1WSDF4aXlNc.json +17 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--mocked-valid-temporary-token.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--pDZJcmd1VjNlYXNaSlRMTGpocVZQY1NWVXE4Z W5UTko4NU9KK3p1L1p1Vzg4YzVPQVlSUHNITG1 JN2I0Nzl.json +17 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000300000007.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000301100004.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457002100000005.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010000000009.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/{tokenize_by_direct_post--4457010010900010.json.erb → tokenize_by_direct_post--4457010010900010.json} +8 -8
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112000101110009.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001600000006.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001900000003.json +23 -0
- data/lib/vantiv/mocked_sandbox/fixtures/void.json +21 -0
- data/lib/vantiv/mocked_sandbox/mocked_response_representer.rb +11 -0
- data/lib/vantiv/paypage.rb +5 -1
- data/lib/vantiv/test_temporary_token.rb +20 -0
- data/lib/vantiv/version.rb +1 -1
- data/vantiv-ruby.gemspec +5 -1
- metadata +191 -129
- data/cert_fixtures/L_AC_1A.json +0 -8
- data/cert_fixtures/L_AC_2A.json +0 -8
- data/cert_fixtures/L_AC_3A.json +0 -8
- data/cert_fixtures/L_AC_4A.json +0 -8
- data/cert_fixtures/L_AC_5A.json +0 -8
- data/cert_fixtures/L_AR_1B.json +0 -8
- data/cert_fixtures/L_AR_2A.json +0 -8
- data/cert_fixtures/L_AR_3A.json +0 -8
- data/cert_fixtures/L_RC_1A.json +0 -8
- data/cert_fixtures/L_RC_1B.json +0 -8
- data/cert_fixtures/L_RC_2A.json +0 -8
- data/cert_fixtures/L_RC_2B.json +0 -8
- data/cert_fixtures/L_RC_3A.json +0 -8
- data/cert_fixtures/L_RC_3B.json +0 -8
- data/cert_fixtures/L_RC_4A.json +0 -8
- data/cert_fixtures/L_RC_4B.json +0 -8
- data/cert_fixtures/L_RC_5A.json +0 -8
- data/cert_fixtures/L_RC_5B.json +0 -8
- data/cert_fixtures/L_RC_6A.json +0 -8
- data/cert_fixtures/L_RC_7.json +0 -26
- data/cert_fixtures/L_RC_7A.json +0 -8
- data/cert_fixtures/L_RC_8.json +0 -18
- data/cert_fixtures/L_V_1A.json +0 -8
- data/cert_fixtures/L_V_1B.json +0 -8
- data/cert_fixtures/L_V_1C.json +0 -8
- data/cert_fixtures/L_V_2A.json +0 -8
- data/cert_fixtures/L_V_3A.json +0 -8
- data/cert_fixtures/L_V_4A.json +0 -8
- data/lib/vantiv/api/request_body_generator.rb +0 -43
- data/lib/vantiv/mocked_sandbox/dynamic_response_body.rb +0 -40
- data/lib/vantiv/mocked_sandbox/fixtures/auth_reversal.json.erb +0 -21
- data/lib/vantiv/mocked_sandbox/fixtures/capture.json.erb +0 -21
- data/lib/vantiv/mocked_sandbox/fixtures/credit.json.erb +0 -21
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000300000007.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000301100004.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457002100000005.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457010000000009.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112000101110009.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001600000006.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001900000003.json.erb +0 -22
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000300000007.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000301100004.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457002100000005.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010000000009.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112000101110009.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001600000006.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001900000003.json.erb +0 -23
- data/lib/vantiv/mocked_sandbox/fixtures/void.json.erb +0 -21
@@ -1,43 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
10
|
+
"authCode": "654321",
|
12
11
|
"@customerId": "not-dynamic-cust-id",
|
13
12
|
"orderId": "not-dynamic-order-id",
|
14
13
|
"response": "000",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
14
|
+
"responseTime": "2016-08-16T14:31:33",
|
15
|
+
"postDate": "2016-08-16",
|
16
|
+
"@id": "8fca7505566619592972cb43",
|
17
|
+
"fraudResult": {
|
18
|
+
"avsResult": "12"
|
19
|
+
},
|
17
20
|
"message": "Approved",
|
18
|
-
"
|
21
|
+
"@reportGroup": "1",
|
22
|
+
"TransactionID": "82918655929057362",
|
19
23
|
"accountUpdater": {
|
20
24
|
"originalCardTokenInfo": {
|
21
25
|
"bin": "445700",
|
22
|
-
"PaymentAccountID": "1111000242220007",
|
23
26
|
"Type": "VI",
|
27
|
+
"PaymentAccountID": "1111000242220007",
|
24
28
|
"ExpirationMonth": "01",
|
25
29
|
"ExpirationYear": "15"
|
26
30
|
},
|
27
31
|
"newCardTokenInfo": {
|
28
32
|
"bin": "511200",
|
29
|
-
"PaymentAccountID": "1112000247040003",
|
30
33
|
"Type": "MC",
|
34
|
+
"PaymentAccountID": "1112000247040003",
|
31
35
|
"ExpirationMonth": "01",
|
32
36
|
"ExpirationYear": "15"
|
37
|
+
},
|
38
|
+
"extendedCardResponse": {
|
33
39
|
}
|
34
|
-
}
|
35
|
-
"fraudResult": {
|
36
|
-
"avsResult": "12"
|
37
|
-
},
|
38
|
-
"TransactionID": "<%= rand(10**17) %>"
|
40
|
+
}
|
39
41
|
}
|
40
42
|
},
|
41
|
-
"RequestID": "
|
43
|
+
"RequestID": "1c9eaa3c-07ff-40fe-eccb-ff94c9c5ca07"
|
42
44
|
}
|
43
45
|
}
|
@@ -1,33 +1,35 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
10
|
+
"authCode": "123457",
|
12
11
|
"@customerId": "not-dynamic-cust-id",
|
13
12
|
"orderId": "not-dynamic-order-id",
|
14
13
|
"response": "000",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
14
|
+
"responseTime": "2016-08-16T14:31:36",
|
15
|
+
"postDate": "2016-08-16",
|
16
|
+
"@id": "bb9c05e661b463bacc718538",
|
17
|
+
"fraudResult": {
|
18
|
+
"avsResult": "00"
|
19
|
+
},
|
17
20
|
"message": "Approved",
|
18
|
-
"
|
21
|
+
"@reportGroup": "1",
|
22
|
+
"TransactionID": "82918655929057602",
|
19
23
|
"accountUpdater": {
|
24
|
+
"newCardTokenInfo": {
|
25
|
+
},
|
20
26
|
"extendedCardResponse": {
|
21
27
|
"code": "504",
|
22
28
|
"message": "Contact the cardholder for updated information"
|
23
29
|
}
|
24
|
-
}
|
25
|
-
"fraudResult": {
|
26
|
-
"avsResult": "00"
|
27
|
-
},
|
28
|
-
"TransactionID": "<%= rand(10**17) %>"
|
30
|
+
}
|
29
31
|
}
|
30
32
|
},
|
31
|
-
"RequestID": "
|
33
|
+
"RequestID": "64571ee7-b5b0-4d74-c1e1-d0a4e957771b"
|
32
34
|
}
|
33
35
|
}
|
@@ -1,26 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"@id": "ea04b651ada69e392e75b71b",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
10
|
"@customerId": "not-dynamic-cust-id",
|
13
11
|
"orderId": "not-dynamic-order-id",
|
14
12
|
"response": "110",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
17
|
-
"
|
13
|
+
"responseTime": "2016-08-16T14:31:31",
|
14
|
+
"postDate": "2016-08-16",
|
15
|
+
"@id": "295033dae8fea9339bf0c2d4",
|
18
16
|
"fraudResult": {
|
19
17
|
"avsResult": "00"
|
20
18
|
},
|
21
|
-
"
|
19
|
+
"message": "Insufficient Funds",
|
20
|
+
"@reportGroup": "1",
|
21
|
+
"TransactionID": "82918655926355850"
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"RequestID": "
|
24
|
+
"RequestID": "65fa5e6d-1068-4b88-f9f9-895c87cdf197"
|
25
25
|
}
|
26
26
|
}
|
@@ -1,27 +1,27 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
10
|
+
"authCode": "11111 ",
|
12
11
|
"@customerId": "not-dynamic-cust-id",
|
13
12
|
"orderId": "not-dynamic-order-id",
|
14
13
|
"response": "000",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
17
|
-
"
|
18
|
-
"authCode": "11111 ",
|
14
|
+
"responseTime": "2016-08-16T14:31:29",
|
15
|
+
"postDate": "2016-08-16",
|
16
|
+
"@id": "6a59df5b1b97a2606764c28f",
|
19
17
|
"fraudResult": {
|
20
18
|
"avsResult": "34"
|
21
19
|
},
|
22
|
-
"
|
20
|
+
"message": "Approved",
|
21
|
+
"@reportGroup": "1",
|
22
|
+
"TransactionID": "82918655926355637"
|
23
23
|
}
|
24
24
|
},
|
25
|
-
"RequestID": "
|
25
|
+
"RequestID": "5708a56b-e5f8-4089-84dd-dc01a71c5447"
|
26
26
|
}
|
27
27
|
}
|
@@ -1,33 +1,37 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
10
|
+
"authCode": "123457",
|
12
11
|
"@customerId": "not-dynamic-cust-id",
|
13
12
|
"orderId": "not-dynamic-order-id",
|
14
13
|
"response": "000",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
14
|
+
"responseTime": "2016-08-16T14:31:34",
|
15
|
+
"postDate": "2016-08-16",
|
16
|
+
"@id": "f03ae4aba989493c359ecb51",
|
17
|
+
"fraudResult": {
|
18
|
+
"avsResult": "00"
|
19
|
+
},
|
17
20
|
"message": "Approved",
|
18
|
-
"
|
21
|
+
"@reportGroup": "1",
|
22
|
+
"TransactionID": "82918655929057495",
|
19
23
|
"accountUpdater": {
|
20
24
|
"originalCardTokenInfo": {
|
21
25
|
"bin": "511200",
|
22
|
-
"PaymentAccountID": "1112000239160009",
|
23
26
|
"Type": "MC",
|
27
|
+
"PaymentAccountID": "1112000239160009",
|
24
28
|
"ExpirationMonth": "11",
|
25
29
|
"ExpirationYear": "99"
|
26
30
|
},
|
27
31
|
"newCardTokenInfo": {
|
28
32
|
"bin": "445700",
|
29
|
-
"PaymentAccountID": "1111000288150001",
|
30
33
|
"Type": "VI",
|
34
|
+
"PaymentAccountID": "1111000288150001",
|
31
35
|
"ExpirationMonth": "11",
|
32
36
|
"ExpirationYear": "99"
|
33
37
|
},
|
@@ -35,13 +39,9 @@
|
|
35
39
|
"code": "501",
|
36
40
|
"message": "The account was closed"
|
37
41
|
}
|
38
|
-
}
|
39
|
-
"fraudResult": {
|
40
|
-
"avsResult": "00"
|
41
|
-
},
|
42
|
-
"TransactionID": "<%= rand(10**17) %>"
|
42
|
+
}
|
43
43
|
}
|
44
44
|
},
|
45
|
-
"RequestID": "
|
45
|
+
"RequestID": "8f820e6e-fcf1-466f-b1f6-5a8a0a138048"
|
46
46
|
}
|
47
47
|
}
|
@@ -1,26 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"@id": "cf0c933b3ade43bda28faa3c",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
10
|
"@customerId": "not-dynamic-cust-id",
|
13
11
|
"orderId": "not-dynamic-order-id",
|
14
12
|
"response": "301",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
17
|
-
"
|
13
|
+
"responseTime": "2016-08-16T14:31:30",
|
14
|
+
"postDate": "2016-08-16",
|
15
|
+
"@id": "46d3275bf71b907d9d019521",
|
18
16
|
"fraudResult": {
|
19
17
|
"avsResult": "00"
|
20
18
|
},
|
21
|
-
"
|
19
|
+
"message": "Invalid Account Number",
|
20
|
+
"@reportGroup": "1",
|
21
|
+
"TransactionID": "82918655926355769"
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"RequestID": "
|
24
|
+
"RequestID": "596d7dc4-3e83-4c0f-87aa-dc68b0b413f8"
|
25
25
|
}
|
26
26
|
}
|
@@ -1,26 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"authorizationResponse": {
|
10
|
-
"@id": "bffbf3e3a1b7006a1610fbc4",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
10
|
"@customerId": "not-dynamic-cust-id",
|
13
11
|
"orderId": "not-dynamic-order-id",
|
14
12
|
"response": "305",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
17
|
-
"
|
13
|
+
"responseTime": "2016-08-16T14:31:32",
|
14
|
+
"postDate": "2016-08-16",
|
15
|
+
"@id": "21e407a7d9dcb7c9d6c0c925",
|
18
16
|
"fraudResult": {
|
19
17
|
"avsResult": "00"
|
20
18
|
},
|
21
|
-
"
|
19
|
+
"message": "Expired Card",
|
20
|
+
"@reportGroup": "1",
|
21
|
+
"TransactionID": "82918655929057297"
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"RequestID": "
|
24
|
+
"RequestID": "a1f71d93-41ac-4b49-9ba8-a2a6a0ece139"
|
25
25
|
}
|
26
26
|
}
|
@@ -1,43 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"saleResponse": {
|
10
|
-
"
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
10
|
+
"authCode": "654321",
|
12
11
|
"@customerId": "not-dynamic-cust-id",
|
13
12
|
"orderId": "not-dynamic-order-id",
|
14
13
|
"response": "000",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
14
|
+
"responseTime": "2016-08-16T14:31:32",
|
15
|
+
"postDate": "2016-08-16",
|
16
|
+
"@id": "e302356c941d0022b291d32b",
|
17
|
+
"fraudResult": {
|
18
|
+
"avsResult": "12"
|
19
|
+
},
|
17
20
|
"message": "Approved",
|
18
|
-
"
|
21
|
+
"@reportGroup": "1",
|
22
|
+
"TransactionID": "82918655929057354",
|
19
23
|
"accountUpdater": {
|
20
24
|
"originalCardTokenInfo": {
|
21
25
|
"bin": "445700",
|
22
|
-
"PaymentAccountID": "1111000242220007",
|
23
26
|
"Type": "VI",
|
27
|
+
"PaymentAccountID": "1111000242220007",
|
24
28
|
"ExpirationMonth": "01",
|
25
29
|
"ExpirationYear": "15"
|
26
30
|
},
|
27
31
|
"newCardTokenInfo": {
|
28
32
|
"bin": "511200",
|
29
|
-
"PaymentAccountID": "1112000247040003",
|
30
33
|
"Type": "MC",
|
34
|
+
"PaymentAccountID": "1112000247040003",
|
31
35
|
"ExpirationMonth": "01",
|
32
36
|
"ExpirationYear": "15"
|
37
|
+
},
|
38
|
+
"extendedCardResponse": {
|
33
39
|
}
|
34
|
-
}
|
35
|
-
"fraudResult": {
|
36
|
-
"avsResult": "12"
|
37
|
-
},
|
38
|
-
"TransactionID": "<%= rand(10**17) %>"
|
40
|
+
}
|
39
41
|
}
|
40
42
|
},
|
41
|
-
"RequestID": "
|
43
|
+
"RequestID": "c90996d1-980f-4789-eef7-f4607263b131"
|
42
44
|
}
|
43
45
|
}
|
@@ -1,33 +1,35 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"saleResponse": {
|
10
|
-
"
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
10
|
+
"authCode": "123457",
|
12
11
|
"@customerId": "not-dynamic-cust-id",
|
13
12
|
"orderId": "not-dynamic-order-id",
|
14
13
|
"response": "000",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
14
|
+
"responseTime": "2016-08-16T14:31:35",
|
15
|
+
"postDate": "2016-08-16",
|
16
|
+
"@id": "a58c07cc837febbc49aa977c",
|
17
|
+
"fraudResult": {
|
18
|
+
"avsResult": "00"
|
19
|
+
},
|
17
20
|
"message": "Approved",
|
18
|
-
"
|
21
|
+
"@reportGroup": "1",
|
22
|
+
"TransactionID": "82918655929057578",
|
19
23
|
"accountUpdater": {
|
24
|
+
"newCardTokenInfo": {
|
25
|
+
},
|
20
26
|
"extendedCardResponse": {
|
21
27
|
"code": "504",
|
22
28
|
"message": "Contact the cardholder for updated information"
|
23
29
|
}
|
24
|
-
}
|
25
|
-
"fraudResult": {
|
26
|
-
"avsResult": "00"
|
27
|
-
},
|
28
|
-
"TransactionID": "<%= rand(10**17) %>"
|
30
|
+
}
|
29
31
|
}
|
30
32
|
},
|
31
|
-
"RequestID": "
|
33
|
+
"RequestID": "d216a847-70b2-4be2-91a7-4a638c18980f"
|
32
34
|
}
|
33
35
|
}
|
@@ -1,26 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"httpok": true,
|
3
3
|
"http_response_code": "200",
|
4
|
-
"
|
4
|
+
"body": {
|
5
5
|
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
6
|
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
9
|
"saleResponse": {
|
10
|
-
"@id": "8d1073fac5595701f5a0920c",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
10
|
"@customerId": "not-dynamic-cust-id",
|
13
11
|
"orderId": "not-dynamic-order-id",
|
14
12
|
"response": "110",
|
15
|
-
"responseTime": "
|
16
|
-
"postDate": "
|
17
|
-
"
|
13
|
+
"responseTime": "2016-08-16T14:31:30",
|
14
|
+
"postDate": "2016-08-16",
|
15
|
+
"@id": "d557320b89a6344155b8a8e8",
|
18
16
|
"fraudResult": {
|
19
17
|
"avsResult": "00"
|
20
18
|
},
|
21
|
-
"
|
19
|
+
"message": "Insufficient Funds",
|
20
|
+
"@reportGroup": "1",
|
21
|
+
"TransactionID": "82918655926355801"
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"RequestID": "
|
24
|
+
"RequestID": "d4d56d28-bad9-4c55-c35a-95f0b8cadcd0"
|
25
25
|
}
|
26
26
|
}
|