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,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "55932cc299579b693e377e08",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "22b06bb5-6ffb-474a-e9e4-2190c5d9a2a1"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "3f1f4d9dc10a832642d740ef",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "6b7f3723-22d8-4306-dc17-7e5ef082040a"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "a700165516fcd2f6f7ba839b",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "e9c631ed-8c9a-4177-c9a5-c03235ea7695"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "6dc1c74c2453aef38ce23a9a",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "f4de6304-edb3-44eb-d8d7-aa6f03eab315"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "8c7e276a2d1ad091eb3bb229",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "6cd60cef-3d05-4658-81f3-f9112ce89d03"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "3373c6d8c51e565547676c72",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "b7a27dbb-eccb-4b4a-ea26-b4b6a9c59ef7"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"creditResponse": {
|
10
|
-
"@id": "978fadc121dc8c018fd9a316",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"@customerId": "not-dynamic-cust-id",
|
13
|
-
"response": "001",
|
14
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
15
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
16
|
-
"message": "Transaction Received",
|
17
|
-
"TransactionID": "<%= rand(10**17) %>"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
"RequestID": "fc45b8c9-4930-443a-bc7c-2de5421d40a7"
|
21
|
-
}
|
22
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "3184cbf03f86c15efb4caad0",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "445700",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111120007",
|
18
|
-
"Type": "VI"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "de076c5d-43d0-43ff-d1a2-65f8103de2c7"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "fcaae319313d48026e691eb9",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "445700",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111130004",
|
18
|
-
"Type": "VI"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "cda65f65-d6be-40da-cd48-e16002073648"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "b95979c353b5c13b5835b8bd",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "445700",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111120005",
|
18
|
-
"Type": "VI"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "3f48399d-7ae5-4fd7-e4c6-0d28836d97ad"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "7cc76ae348ccfbca41173dc0",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "445701",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111110009",
|
18
|
-
"Type": "VI"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "edb95a82-2b84-453f-be0c-84fc15656223"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "c2fe47f62ecc065c290fdc6a",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "511200",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111160009",
|
18
|
-
"Type": "MC"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "9f9a6403-1766-4df5-a34d-e4a10c547cdf"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "6bce54b7201d9f8b1cba91ae",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "511200",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111130006",
|
18
|
-
"Type": "MC"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "f8b9c779-d233-4f08-f2fe-d95a06ed66db"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"registerTokenResponse": {
|
10
|
-
"@id": "9b3c2cc795e87083f25338a2",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "802",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"message": "Account number was previously registered",
|
15
|
-
"bin": "511200",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>",
|
17
|
-
"PaymentAccountID": "1111111111140003",
|
18
|
-
"Type": "MC"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"RequestID": "42dd4db4-e1aa-49f0-9a8d-f19512f32b01"
|
22
|
-
}
|
23
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"httpok": true,
|
3
|
-
"http_response_code": "200",
|
4
|
-
"response_body": {
|
5
|
-
"litleOnlineResponse": {
|
6
|
-
"@version": "10.2",
|
7
|
-
"@response": "0",
|
8
|
-
"@message": "Valid Format",
|
9
|
-
"voidResponse": {
|
10
|
-
"@id": "30555f896e154803e250feb1",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
|
-
"response": "001",
|
13
|
-
"responseTime": "<%= Time.now.strftime('%FT%T') %>",
|
14
|
-
"postDate": "<%= Time.now.strftime('%F') %>",
|
15
|
-
"message": "Transaction Received",
|
16
|
-
"TransactionID": "<%= rand(10**17) %>"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
"RequestID": "8b7bae9e-c8ee-4031-cf10-337c6c91e98b"
|
20
|
-
}
|
21
|
-
}
|