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
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "877",
|
11
|
+
"responseTime": "2016-11-29T19:43:42",
|
12
|
+
"message": "Invalid paypage registration id",
|
13
|
+
"TransactionID": "82919400634696736"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:32",
|
12
|
+
"@id": "9cecf59028b0c574b77d39f8",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655929057339",
|
16
|
+
"Type": "VI",
|
17
|
+
"bin": "445700",
|
18
|
+
"PaymentAccountID": "1111111111120007"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "c89d3140-dc27-429d-a1d5-e3a0e9b05f6c"
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:35",
|
12
|
+
"@id": "006e6173df8360c98e86b703",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655929057529",
|
16
|
+
"Type": "VI",
|
17
|
+
"bin": "445700",
|
18
|
+
"PaymentAccountID": "1111111111130004"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "9d6b4edf-8025-4ffa-c518-2df21f23f21e"
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:30",
|
12
|
+
"@id": "b44d0f62846d0a771449f07b",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655926355785",
|
16
|
+
"Type": "VI",
|
17
|
+
"bin": "445700",
|
18
|
+
"PaymentAccountID": "1111111111120005"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "e5bb7f75-9943-4354-be8e-3c980b35c18a"
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:27",
|
12
|
+
"@id": "3e2e163cf7b5038a36e9c062",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655926355546",
|
16
|
+
"Type": "VI",
|
17
|
+
"bin": "445701",
|
18
|
+
"PaymentAccountID": "1111111111110009"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "75743955-fb8d-422e-e945-fb29ab0c56fc"
|
22
|
+
}
|
23
|
+
}
|
@@ -1,20 +1,20 @@
|
|
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
|
"registerTokenResponse": {
|
10
|
-
"@id": "4c4141c81f06319186454db6",
|
11
|
-
"@reportGroup": "<%= Vantiv.default_report_group %>",
|
12
10
|
"response": "820",
|
13
|
-
"responseTime": "
|
11
|
+
"responseTime": "2016-08-16T14:31:29",
|
12
|
+
"@id": "557e2677ea2a999c55fd3eee",
|
14
13
|
"message": "Credit card number was invalid",
|
15
|
-
"
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655926355686"
|
16
16
|
}
|
17
17
|
},
|
18
|
-
"RequestID": "
|
18
|
+
"RequestID": "3067f396-03ee-4b03-c016-e52bcf2d9176"
|
19
19
|
}
|
20
20
|
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:33",
|
12
|
+
"@id": "5668ca4fb1542793ab876f0b",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655929057396",
|
16
|
+
"Type": "MC",
|
17
|
+
"bin": "511200",
|
18
|
+
"PaymentAccountID": "1111111111160009"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "39195e33-c657-4d6d-af89-04786d17583e"
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:29",
|
12
|
+
"@id": "2d6333fcb0939c6a0642a9f0",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655926355694",
|
16
|
+
"Type": "MC",
|
17
|
+
"bin": "511200",
|
18
|
+
"PaymentAccountID": "1111111111130006"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "4b43376f-f158-4123-d2ad-698a3b35ed8f"
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"registerTokenResponse": {
|
10
|
+
"response": "802",
|
11
|
+
"responseTime": "2016-08-16T14:31:31",
|
12
|
+
"@id": "300d612db36242dbfefa842d",
|
13
|
+
"message": "Account number was previously registered",
|
14
|
+
"@reportGroup": "1",
|
15
|
+
"TransactionID": "82918655926355884",
|
16
|
+
"Type": "MC",
|
17
|
+
"bin": "511200",
|
18
|
+
"PaymentAccountID": "1111111111140003"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"RequestID": "b8be8889-8780-4e52-a513-7c5b544a24ec"
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"httpok": true,
|
3
|
+
"http_response_code": "200",
|
4
|
+
"body": {
|
5
|
+
"litleOnlineResponse": {
|
6
|
+
"@message": "Valid Format",
|
7
|
+
"@response": "0",
|
8
|
+
"@version": "10.2",
|
9
|
+
"voidResponse": {
|
10
|
+
"response": "001",
|
11
|
+
"responseTime": "2016-08-16T14:31:37",
|
12
|
+
"postDate": "2016-08-16",
|
13
|
+
"@id": "824604cfdb181d7902e1a31c",
|
14
|
+
"message": "Transaction Received",
|
15
|
+
"@reportGroup": "1",
|
16
|
+
"TransactionID": "82918655929057750"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"RequestID": "84ce6688-8d4d-42fa-8900-6c7c2ed3f4d0"
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'representable/json'
|
2
|
+
require 'vantiv/api/response_body_representer'
|
3
|
+
require 'vantiv/api/response_body'
|
4
|
+
|
5
|
+
class MockedResponseRepresenter < Representable::Decorator
|
6
|
+
include Representable::JSON
|
7
|
+
|
8
|
+
property :httpok
|
9
|
+
property :http_response_code
|
10
|
+
property :body, decorator: ResponseBodyRepresenter, class: Vantiv::Api::ResponseBody
|
11
|
+
end
|
data/lib/vantiv/paypage.rb
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
module Vantiv
|
2
2
|
module Paypage
|
3
3
|
def self.payframe_js
|
4
|
-
|
4
|
+
if Vantiv::Environment.production?
|
5
|
+
"https://request.securepaypage-litle.com/LitlePayPage/js/payframe-client.min.js"
|
6
|
+
else
|
7
|
+
"https://request-prelive.np-securepaypage-litle.com/LitlePayPage/js/payframe-client.min.js"
|
8
|
+
end
|
5
9
|
end
|
6
10
|
end
|
7
11
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Vantiv
|
2
|
+
class Vantiv::TestTemporaryToken
|
3
|
+
|
4
|
+
def self.valid_temporary_token
|
5
|
+
"mocked-valid-temporary-token"
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.expired_temporary_token
|
9
|
+
"RGFQNCt6U1d1M21SeVByVTM4dHlHb1FsVkUrSmpnWXhNY0o5UkMzRlZFanZiUHVnYjN1enJXbG1WSDF4aXlNcA=="
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.invalid_temporary_token
|
13
|
+
"pDZJcmd1VjNlYXNaSlRMTGpocVZQY1NWVXE4Z W5UTko4NU9KK3p1L1p1Vzg4YzVPQVlSUHNITG1 JN2I0NzlyTg=="
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.all
|
17
|
+
[invalid_temporary_token, expired_temporary_token, valid_temporary_token]
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/vantiv/version.rb
CHANGED
data/vantiv-ruby.gemspec
CHANGED
@@ -8,8 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Vantiv::VERSION
|
9
9
|
spec.authors = ["Joshua Balloch", "Chris Voxland", "Scott Bartell"]
|
10
10
|
spec.email = ["joshuaballoch@gmail.com", "chrisvoxland@gmail.com", "me@scottbartell.com"]
|
11
|
+
spec.required_ruby_version = '>= 2.3.1'
|
11
12
|
|
12
|
-
spec.summary = %q{A simple ruby client to use Vantiv's
|
13
|
+
spec.summary = %q{A simple ruby client to use Vantiv's XML API}
|
13
14
|
spec.homepage = "https://github.com/plated/vantiv-ruby"
|
14
15
|
spec.license = "MIT"
|
15
16
|
|
@@ -20,6 +21,9 @@ Gem::Specification.new do |spec|
|
|
20
21
|
|
21
22
|
spec.add_dependency 'selenium-webdriver'
|
22
23
|
spec.add_dependency 'webrick'
|
24
|
+
spec.add_dependency 'representable'
|
25
|
+
spec.add_dependency 'multi_json'
|
26
|
+
spec.add_dependency 'nokogiri'
|
23
27
|
|
24
28
|
spec.add_development_dependency "bundler", "~> 1.10"
|
25
29
|
spec.add_development_dependency 'dotenv'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vantiv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Balloch
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-11-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: selenium-webdriver
|
@@ -40,6 +40,48 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: representable
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: multi_json
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: nokogiri
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
43
85
|
- !ruby/object:Gem::Dependency
|
44
86
|
name: bundler
|
45
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,9 +162,11 @@ executables:
|
|
120
162
|
extensions: []
|
121
163
|
extra_rdoc_files: []
|
122
164
|
files:
|
165
|
+
- ".codeclimate.yml"
|
123
166
|
- ".env.example"
|
124
167
|
- ".gitignore"
|
125
168
|
- ".rspec"
|
169
|
+
- ".rubocop.yml"
|
126
170
|
- ".ruby-version"
|
127
171
|
- ".travis.yml"
|
128
172
|
- CHANGELOG.md
|
@@ -134,108 +178,121 @@ files:
|
|
134
178
|
- bin/generate_sandbox_fixtures
|
135
179
|
- bin/paypage_server
|
136
180
|
- bin/setup
|
137
|
-
- cert_fixtures/
|
138
|
-
- cert_fixtures/
|
139
|
-
- cert_fixtures/
|
140
|
-
- cert_fixtures/
|
141
|
-
- cert_fixtures/
|
142
|
-
- cert_fixtures/
|
143
|
-
- cert_fixtures/
|
144
|
-
- cert_fixtures/
|
145
|
-
- cert_fixtures/
|
146
|
-
- cert_fixtures/
|
147
|
-
- cert_fixtures/
|
148
|
-
- cert_fixtures/
|
149
|
-
- cert_fixtures/
|
150
|
-
- cert_fixtures/
|
151
|
-
- cert_fixtures/
|
152
|
-
- cert_fixtures/
|
153
|
-
- cert_fixtures/
|
154
|
-
- cert_fixtures/
|
155
|
-
- cert_fixtures/
|
156
|
-
- cert_fixtures/
|
157
|
-
- cert_fixtures/
|
158
|
-
- cert_fixtures/
|
159
|
-
- cert_fixtures/
|
160
|
-
- cert_fixtures/
|
161
|
-
- cert_fixtures/
|
162
|
-
- cert_fixtures/
|
163
|
-
- cert_fixtures/
|
164
|
-
- cert_fixtures/
|
165
|
-
- cert_fixtures/
|
166
|
-
- cert_fixtures/
|
167
|
-
- cert_fixtures/
|
168
|
-
- cert_fixtures/
|
169
|
-
- cert_fixtures/
|
170
|
-
- cert_fixtures/
|
171
|
-
- cert_fixtures/
|
172
|
-
- cert_fixtures/
|
173
|
-
- cert_fixtures/
|
174
|
-
- cert_fixtures/
|
175
|
-
- cert_fixtures/
|
176
|
-
- cert_fixtures/
|
177
|
-
- cert_fixtures/
|
178
|
-
- cert_fixtures/
|
179
|
-
- cert_fixtures/
|
180
|
-
- cert_fixtures/
|
181
|
-
- cert_fixtures/
|
182
|
-
- cert_fixtures/
|
183
|
-
- cert_fixtures/
|
184
|
-
- cert_fixtures/
|
185
|
-
- cert_fixtures/
|
186
|
-
- cert_fixtures/
|
187
|
-
- cert_fixtures/
|
188
|
-
- cert_fixtures/
|
189
|
-
- cert_fixtures/
|
190
|
-
- cert_fixtures/
|
191
|
-
- cert_fixtures/
|
192
|
-
- cert_fixtures/
|
193
|
-
- cert_fixtures/
|
194
|
-
- cert_fixtures/
|
195
|
-
- cert_fixtures/
|
196
|
-
- cert_fixtures/
|
197
|
-
- cert_fixtures/
|
198
|
-
- cert_fixtures/
|
199
|
-
- cert_fixtures/
|
200
|
-
- cert_fixtures/
|
201
|
-
- cert_fixtures/
|
202
|
-
- cert_fixtures/
|
203
|
-
- cert_fixtures/
|
204
|
-
- cert_fixtures/
|
205
|
-
- cert_fixtures/
|
206
|
-
- cert_fixtures/
|
207
|
-
- cert_fixtures/
|
208
|
-
- cert_fixtures/
|
209
|
-
- cert_fixtures/
|
210
|
-
- cert_fixtures/
|
211
|
-
- cert_fixtures/
|
212
|
-
- cert_fixtures/
|
213
|
-
- cert_fixtures/
|
214
|
-
- cert_fixtures/
|
215
|
-
- cert_fixtures/
|
216
|
-
- cert_fixtures/
|
217
|
-
- cert_fixtures/
|
218
|
-
- cert_fixtures/
|
219
|
-
- cert_fixtures/
|
220
|
-
- cert_fixtures/
|
221
|
-
- cert_fixtures/
|
222
|
-
- cert_fixtures/
|
223
|
-
- cert_fixtures/L_V_3A.json
|
224
|
-
- cert_fixtures/L_V_4.json
|
225
|
-
- cert_fixtures/L_V_4A.json
|
181
|
+
- cert_fixtures/ACCOUNT_UPDATER_100.json
|
182
|
+
- cert_fixtures/ACCOUNT_UPDATER_100A.json
|
183
|
+
- cert_fixtures/ACCOUNT_UPDATER_100B.json
|
184
|
+
- cert_fixtures/ACCOUNT_UPDATER_101.json
|
185
|
+
- cert_fixtures/ACCOUNT_UPDATER_101A.json
|
186
|
+
- cert_fixtures/ACCOUNT_UPDATER_102.json
|
187
|
+
- cert_fixtures/ACCOUNT_UPDATER_103.json
|
188
|
+
- cert_fixtures/AUTH_CAPTURE_1.json
|
189
|
+
- cert_fixtures/AUTH_CAPTURE_1A.json
|
190
|
+
- cert_fixtures/AUTH_CAPTURE_2.json
|
191
|
+
- cert_fixtures/AUTH_CAPTURE_2A.json
|
192
|
+
- cert_fixtures/AUTH_CAPTURE_3.json
|
193
|
+
- cert_fixtures/AUTH_CAPTURE_3A.json
|
194
|
+
- cert_fixtures/AUTH_CAPTURE_4.json
|
195
|
+
- cert_fixtures/AUTH_CAPTURE_4A.json
|
196
|
+
- cert_fixtures/AUTH_CAPTURE_5.json
|
197
|
+
- cert_fixtures/AUTH_CAPTURE_5A.json
|
198
|
+
- cert_fixtures/AUTH_CAPTURE_6.json
|
199
|
+
- cert_fixtures/AUTH_CAPTURE_7.json
|
200
|
+
- cert_fixtures/AUTH_CAPTURE_8.json
|
201
|
+
- cert_fixtures/AUTH_CAPTURE_9.json
|
202
|
+
- cert_fixtures/AUTH_REVERSAL_32.json
|
203
|
+
- cert_fixtures/AUTH_REVERSAL_32A.json
|
204
|
+
- cert_fixtures/AUTH_REVERSAL_32B.json
|
205
|
+
- cert_fixtures/AUTH_REVERSAL_33.json
|
206
|
+
- cert_fixtures/AUTH_REVERSAL_33A.json
|
207
|
+
- cert_fixtures/AUTH_REVERSAL_34.json
|
208
|
+
- cert_fixtures/AUTH_REVERSAL_34A.json
|
209
|
+
- cert_fixtures/AUTH_REVERSAL_35.json
|
210
|
+
- cert_fixtures/AUTH_REVERSAL_35A.json
|
211
|
+
- cert_fixtures/AUTH_REVERSAL_35B.json
|
212
|
+
- cert_fixtures/AUTH_REVERSAL_36.json
|
213
|
+
- cert_fixtures/AUTH_REVERSAL_36A.json
|
214
|
+
- cert_fixtures/CREDIT_1.json
|
215
|
+
- cert_fixtures/CREDIT_1A.json
|
216
|
+
- cert_fixtures/CREDIT_1B.json
|
217
|
+
- cert_fixtures/CREDIT_2.json
|
218
|
+
- cert_fixtures/CREDIT_2A.json
|
219
|
+
- cert_fixtures/CREDIT_2B.json
|
220
|
+
- cert_fixtures/CREDIT_3.json
|
221
|
+
- cert_fixtures/CREDIT_3A.json
|
222
|
+
- cert_fixtures/CREDIT_3B.json
|
223
|
+
- cert_fixtures/CREDIT_4.json
|
224
|
+
- cert_fixtures/CREDIT_4A.json
|
225
|
+
- cert_fixtures/CREDIT_4B.json
|
226
|
+
- cert_fixtures/CREDIT_5.json
|
227
|
+
- cert_fixtures/CREDIT_5A.json
|
228
|
+
- cert_fixtures/CREDIT_5B.json
|
229
|
+
- cert_fixtures/SALE_1.json
|
230
|
+
- cert_fixtures/SALE_2.json
|
231
|
+
- cert_fixtures/SALE_3.json
|
232
|
+
- cert_fixtures/SALE_4.json
|
233
|
+
- cert_fixtures/SALE_5.json
|
234
|
+
- cert_fixtures/SALE_6.json
|
235
|
+
- cert_fixtures/SALE_7.json
|
236
|
+
- cert_fixtures/SALE_8.json
|
237
|
+
- cert_fixtures/SALE_9.json
|
238
|
+
- cert_fixtures/SECURITY_CODE_FILTER_R1.json
|
239
|
+
- cert_fixtures/SECURITY_CODE_FILTER_R2.json
|
240
|
+
- cert_fixtures/TOKENIZATION_1.json
|
241
|
+
- cert_fixtures/TOKENIZATION_10.json
|
242
|
+
- cert_fixtures/TOKENIZATION_11.json
|
243
|
+
- cert_fixtures/TOKENIZATION_2.json
|
244
|
+
- cert_fixtures/TOKENIZATION_3.json
|
245
|
+
- cert_fixtures/TOKENIZATION_4.json
|
246
|
+
- cert_fixtures/TOKENIZATION_6.json
|
247
|
+
- cert_fixtures/TOKENIZATION_7.json
|
248
|
+
- cert_fixtures/TOKENIZATION_8.json
|
249
|
+
- cert_fixtures/TOKENIZATION_9.json
|
250
|
+
- cert_fixtures/VOID_1.json
|
251
|
+
- cert_fixtures/VOID_1A.json
|
252
|
+
- cert_fixtures/VOID_1B.json
|
253
|
+
- cert_fixtures/VOID_1C.json
|
254
|
+
- cert_fixtures/VOID_2.json
|
255
|
+
- cert_fixtures/VOID_2A.json
|
256
|
+
- cert_fixtures/VOID_3.json
|
257
|
+
- cert_fixtures/VOID_3A.json
|
258
|
+
- cert_fixtures/VOID_4.json
|
259
|
+
- cert_fixtures/VOID_4A.json
|
260
|
+
- cert_fixtures/ePROTECT_1.json
|
261
|
+
- cert_fixtures/ePROTECT_2.json
|
262
|
+
- cert_fixtures/ePROTECT_3.json
|
263
|
+
- cert_fixtures/ePROTECT_4.json
|
264
|
+
- cert_fixtures/ePROTECT_5.json
|
265
|
+
- cert_fixtures/ePROTECT_6.json
|
266
|
+
- cert_fixtures/ePROTECT_7.json
|
226
267
|
- exe/vantiv-certify-app
|
268
|
+
- lib/monkey_patches/representable/xml.rb
|
227
269
|
- lib/vantiv.rb
|
228
270
|
- lib/vantiv/api.rb
|
229
271
|
- lib/vantiv/api/account_updater_response.rb
|
272
|
+
- lib/vantiv/api/address.rb
|
273
|
+
- lib/vantiv/api/apple_pay_response.rb
|
230
274
|
- lib/vantiv/api/capture_response.rb
|
275
|
+
- lib/vantiv/api/card.rb
|
276
|
+
- lib/vantiv/api/cardholder_authentication.rb
|
231
277
|
- lib/vantiv/api/endpoints.rb
|
278
|
+
- lib/vantiv/api/fraud_result.rb
|
232
279
|
- lib/vantiv/api/live_transaction_response.rb
|
280
|
+
- lib/vantiv/api/payment_account.rb
|
233
281
|
- lib/vantiv/api/request.rb
|
234
282
|
- lib/vantiv/api/request_body.rb
|
235
|
-
- lib/vantiv/api/
|
283
|
+
- lib/vantiv/api/request_body_representer.rb
|
284
|
+
- lib/vantiv/api/request_body_representer_xml.rb
|
236
285
|
- lib/vantiv/api/response.rb
|
286
|
+
- lib/vantiv/api/response_body.rb
|
287
|
+
- lib/vantiv/api/response_body_representer.rb
|
288
|
+
- lib/vantiv/api/response_body_representer_xml.rb
|
237
289
|
- lib/vantiv/api/tied_transaction_response.rb
|
238
290
|
- lib/vantiv/api/tokenization_response.rb
|
291
|
+
- lib/vantiv/api/transaction.rb
|
292
|
+
- lib/vantiv/api/transaction_request_representer_xml.rb
|
293
|
+
- lib/vantiv/api/transaction_response.rb
|
294
|
+
- lib/vantiv/api/transaction_response_representer.rb
|
295
|
+
- lib/vantiv/api/transaction_response_representer_xml.rb
|
239
296
|
- lib/vantiv/certification/cert_request_body_compiler.rb
|
240
297
|
- lib/vantiv/certification/paypage_driver.rb
|
241
298
|
- lib/vantiv/certification/paypage_server.rb
|
@@ -245,43 +302,48 @@ files:
|
|
245
302
|
- lib/vantiv/environment.rb
|
246
303
|
- lib/vantiv/mocked_sandbox.rb
|
247
304
|
- lib/vantiv/mocked_sandbox/api_request.rb
|
248
|
-
- lib/vantiv/mocked_sandbox/dynamic_response_body.rb
|
249
305
|
- lib/vantiv/mocked_sandbox/fixture_generator.rb
|
250
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--4457000300000007.json
|
251
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--4457000301100004.json
|
252
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--4457002100000005.json
|
253
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--4457010000000009.json
|
254
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--5112000101110009.json
|
255
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--5112001600000006.json
|
256
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth--5112001900000003.json
|
257
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000300000007.json
|
258
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000301100004.json
|
259
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457002100000005.json
|
260
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457010000000009.json
|
261
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112000101110009.json
|
262
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001600000006.json
|
263
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001900000003.json
|
264
|
-
- lib/vantiv/mocked_sandbox/fixtures/auth_reversal.json
|
265
|
-
- lib/vantiv/mocked_sandbox/fixtures/capture.json
|
266
|
-
- lib/vantiv/mocked_sandbox/fixtures/credit.json
|
267
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--4457000300000007.json
|
268
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--4457000301100004.json
|
269
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--4457002100000005.json
|
270
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--4457010000000009.json
|
271
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--5112000101110009.json
|
272
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--5112001600000006.json
|
273
|
-
- lib/vantiv/mocked_sandbox/fixtures/refund--5112001900000003.json
|
274
|
-
- lib/vantiv/mocked_sandbox/fixtures/
|
275
|
-
- lib/vantiv/mocked_sandbox/fixtures/
|
276
|
-
- lib/vantiv/mocked_sandbox/fixtures/
|
277
|
-
|
278
|
-
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--
|
279
|
-
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--
|
280
|
-
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--
|
281
|
-
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--
|
282
|
-
- lib/vantiv/mocked_sandbox/fixtures/
|
306
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--4457000300000007.json
|
307
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--4457000301100004.json
|
308
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--4457002100000005.json
|
309
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--4457010000000009.json
|
310
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--5112000101110009.json
|
311
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--5112001600000006.json
|
312
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth--5112001900000003.json
|
313
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000300000007.json
|
314
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000301100004.json
|
315
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457002100000005.json
|
316
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457010000000009.json
|
317
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112000101110009.json
|
318
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001600000006.json
|
319
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001900000003.json
|
320
|
+
- lib/vantiv/mocked_sandbox/fixtures/auth_reversal.json
|
321
|
+
- lib/vantiv/mocked_sandbox/fixtures/capture.json
|
322
|
+
- lib/vantiv/mocked_sandbox/fixtures/credit.json
|
323
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--4457000300000007.json
|
324
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--4457000301100004.json
|
325
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--4457002100000005.json
|
326
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--4457010000000009.json
|
327
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--5112000101110009.json
|
328
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--5112001600000006.json
|
329
|
+
- lib/vantiv/mocked_sandbox/fixtures/refund--5112001900000003.json
|
330
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize--RGFQNCt6U1d1M21SeVByVTM4dHlHb1FsVkUrSmpnWXhNY0o5UkMzRlZFanZiUHVnYjN1enJXbG1WSDF4aXlNc.json
|
331
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize--mocked-valid-temporary-token.json
|
332
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize--pDZJcmd1VjNlYXNaSlRMTGpocVZQY1NWVXE4Z
|
333
|
+
W5UTko4NU9KK3p1L1p1Vzg4YzVPQVlSUHNITG1 JN2I0Nzl.json
|
334
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000300000007.json
|
335
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000301100004.json
|
336
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457002100000005.json
|
337
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010000000009.json
|
338
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010010900010.json
|
339
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112000101110009.json
|
340
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001600000006.json
|
341
|
+
- lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001900000003.json
|
342
|
+
- lib/vantiv/mocked_sandbox/fixtures/void.json
|
343
|
+
- lib/vantiv/mocked_sandbox/mocked_response_representer.rb
|
283
344
|
- lib/vantiv/paypage.rb
|
284
345
|
- lib/vantiv/test_card.rb
|
346
|
+
- lib/vantiv/test_temporary_token.rb
|
285
347
|
- lib/vantiv/version.rb
|
286
348
|
- vantiv-ruby.gemspec
|
287
349
|
homepage: https://github.com/plated/vantiv-ruby
|
@@ -296,7 +358,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
296
358
|
requirements:
|
297
359
|
- - ">="
|
298
360
|
- !ruby/object:Gem::Version
|
299
|
-
version:
|
361
|
+
version: 2.3.1
|
300
362
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
301
363
|
requirements:
|
302
364
|
- - ">="
|
@@ -304,8 +366,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
304
366
|
version: '0'
|
305
367
|
requirements: []
|
306
368
|
rubyforge_project:
|
307
|
-
rubygems_version: 2.
|
369
|
+
rubygems_version: 2.5.1
|
308
370
|
signing_key:
|
309
371
|
specification_version: 4
|
310
|
-
summary: A simple ruby client to use Vantiv's
|
372
|
+
summary: A simple ruby client to use Vantiv's XML API
|
311
373
|
test_files: []
|