vantiv 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/CHANGELOG.md +7 -3
- data/README.md +4 -4
- data/bin/generate_sandbox_fixtures +2 -1
- data/exe/vantiv-certify-app +9 -30
- data/lib/vantiv.rb +17 -4
- data/lib/vantiv/api/address.rb +9 -2
- data/lib/vantiv/api/live_transaction_response.rb +4 -0
- data/lib/vantiv/api/request.rb +14 -8
- data/lib/vantiv/api/request_body.rb +6 -3
- data/lib/vantiv/api/response.rb +6 -6
- data/lib/vantiv/api/response_body.rb +13 -4
- data/lib/vantiv/api/transaction.rb +22 -4
- data/lib/vantiv/api/transaction_request_representer_xml.rb +4 -0
- data/lib/vantiv/api/transaction_response.rb +22 -3
- data/lib/vantiv/api/transaction_response_representer.rb +2 -0
- data/lib/vantiv/api/transaction_response_representer_xml.rb +2 -0
- data/lib/vantiv/certification/paypage_driver.rb +7 -1
- data/lib/vantiv/certification/views/index.html.erb +1 -1
- data/lib/vantiv/environment.rb +10 -5
- data/lib/vantiv/mocked_sandbox/api_request.rb +0 -2
- data/lib/vantiv/mocked_sandbox/fixture_generator.rb +11 -0
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457000300000007.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457000301100004.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457002100000005.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth--4457010000000009.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth--5112000101110009.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth--5112001600000006.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth--5112001900000003.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000300000007.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457000301100004.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457002100000005.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--4457010000000009.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112000101110009.json +8 -11
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001600000006.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_capture--5112001900000003.json +7 -10
- data/lib/vantiv/mocked_sandbox/fixtures/auth_reversal.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/capture.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/credit.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000300000007.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457000301100004.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457002100000005.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--4457010000000009.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112000101110009.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001600000006.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/refund--5112001900000003.json +6 -10
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--RGFQNCt6U1d1M21SeVByVTM4dHlHb1FsVkUrSmpnWXhNY0o5UkMzRlZFanZiUHVnYjN1enJXbG1WSDF4aXlNc.json +5 -4
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-account-closed-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-contact-cardholder-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--expired-card-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--insufficient-funds-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--invalid-account-number-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--mocked-valid-temporary-token.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--pDZJcmd1VjNlYXNaSlRMTGpocVZQY1NWVXE4Z W5UTko4NU9KK3p1L1p1Vzg4YzVPQVlSUHNITG1 JN2I0Nzl.json +5 -4
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize--valid-account-token.json +20 -0
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000300000007.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457000301100004.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457002100000005.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010000000009.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--4457010010900010.json +6 -8
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112000101110009.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001600000006.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/tokenize_by_direct_post--5112001900000003.json +6 -9
- data/lib/vantiv/mocked_sandbox/fixtures/void.json +6 -9
- data/lib/vantiv/mocked_sandbox/mocked_response_representer.rb +1 -0
- data/lib/vantiv/paypage.rb +17 -3
- data/lib/vantiv/response_code_map.rb +960 -0
- data/lib/vantiv/test_card.rb +73 -81
- data/lib/vantiv/version.rb +1 -1
- data/vantiv-ruby.gemspec +3 -2
- metadata +32 -10
|
@@ -5,23 +5,20 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
10
|
"authCode": "11111 ",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "3688efaeed84191451284b43",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:15",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "34"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
18
|
+
"TransactionID": "82924261923637028",
|
|
19
|
+
"networkTransactionId": "000000000000000"
|
|
23
20
|
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"25a8c58dd8ca6e2da9f77539\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261923637028</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:15</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>11111 </authCode>\n <fraudResult>\n <avsResult>34</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
27
24
|
}
|
|
@@ -5,21 +5,17 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
10
|
"authCode": "123457",
|
|
11
|
-
"@customerId": "not-dynamic-cust-id",
|
|
12
11
|
"orderId": "not-dynamic-order-id",
|
|
13
12
|
"response": "000",
|
|
14
|
-
"responseTime": "
|
|
15
|
-
"postDate": "2016-08-16",
|
|
16
|
-
"@id": "4d0e143a92acb55fa96469e7",
|
|
13
|
+
"responseTime": "2018-10-17T15:34:21",
|
|
17
14
|
"fraudResult": {
|
|
18
15
|
"avsResult": "00"
|
|
19
16
|
},
|
|
20
17
|
"message": "Approved",
|
|
21
|
-
"
|
|
22
|
-
"TransactionID": "82918655929057412",
|
|
18
|
+
"TransactionID": "82924261924619348",
|
|
23
19
|
"accountUpdater": {
|
|
24
20
|
"originalCardTokenInfo": {
|
|
25
21
|
"bin": "511200",
|
|
@@ -39,9 +35,10 @@
|
|
|
39
35
|
"code": "501",
|
|
40
36
|
"message": "The account was closed"
|
|
41
37
|
}
|
|
42
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"networkTransactionId": "000000000000000"
|
|
43
40
|
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"ce7da3dc95a48e898a2e2d0b\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619348</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>000</response>\n <responseTime>2018-10-17T15:34:21</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Approved</message>\n <authCode>123457</authCode>\n <accountUpdater>\n <originalCardTokenInfo>\n <litleToken>1112000239160009</litleToken>\n <type>MC</type>\n <bin>511200</bin>\n <expDate>1199</expDate>\n </originalCardTokenInfo>\n <newCardTokenInfo>\n <litleToken>1111000288150001</litleToken>\n <type>VI</type>\n <bin>445700</bin>\n <expDate>1199</expDate>\n </newCardTokenInfo>\n <extendedCardResponse>\n <code>501</code>\n <message>The account was closed</message>\n </extendedCardResponse>\n </accountUpdater>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>000000000000000</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
47
44
|
}
|
|
@@ -5,22 +5,19 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"orderId": "not-dynamic-order-id",
|
|
12
11
|
"response": "301",
|
|
13
|
-
"responseTime": "
|
|
14
|
-
"postDate": "2016-08-16",
|
|
15
|
-
"@id": "81913fbd60b4be8a412b6422",
|
|
12
|
+
"responseTime": "2018-10-17T15:34:16",
|
|
16
13
|
"fraudResult": {
|
|
17
14
|
"avsResult": "00"
|
|
18
15
|
},
|
|
19
16
|
"message": "Invalid Account Number",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
17
|
+
"TransactionID": "82924261924618423",
|
|
18
|
+
"networkTransactionId": "0000000001017"
|
|
22
19
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"0fb1d5816e3ff4eeb487fee3\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618423</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>301</response>\n <responseTime>2018-10-17T15:34:16</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Invalid Account Number</message>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>0000000001017</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
26
23
|
}
|
|
@@ -5,22 +5,19 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"saleResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"orderId": "not-dynamic-order-id",
|
|
12
11
|
"response": "305",
|
|
13
|
-
"responseTime": "
|
|
14
|
-
"postDate": "2016-08-16",
|
|
15
|
-
"@id": "f1dd55c7dd85d30a1ebc0cc9",
|
|
12
|
+
"responseTime": "2018-10-17T15:34:19",
|
|
16
13
|
"fraudResult": {
|
|
17
14
|
"avsResult": "00"
|
|
18
15
|
},
|
|
19
16
|
"message": "Expired Card",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
17
|
+
"TransactionID": "82924261924619017",
|
|
18
|
+
"networkTransactionId": "0000000001017"
|
|
22
19
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <saleResponse id=\"e778dad3cf586031adf26937\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619017</litleTxnId>\n <orderId>not-dynamic-order-id</orderId>\n <response>305</response>\n <responseTime>2018-10-17T15:34:19</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Expired Card</message>\n <fraudResult>\n <avsResult>00</avsResult>\n </fraudResult>\n <networkTransactionId>0000000001017</networkTransactionId>\n </saleResponse>\n</litleOnlineResponse>\n"
|
|
26
23
|
}
|
|
@@ -5,17 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"authReversalResponse": {
|
|
10
10
|
"response": "001",
|
|
11
|
-
"responseTime": "
|
|
12
|
-
"postDate": "2016-08-16",
|
|
13
|
-
"@id": "50c26aa443e5187c71360cc9",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:25",
|
|
14
12
|
"message": "Transaction Received",
|
|
15
|
-
"
|
|
16
|
-
"TransactionID": "82918655929057701"
|
|
13
|
+
"TransactionID": "82924261924619926"
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <authReversalResponse id=\"739117399eacd374ce4110be\" reportGroup=\"1\">\n <litleTxnId>82924261924619926</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:25</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </authReversalResponse>\n</litleOnlineResponse>\n"
|
|
21
18
|
}
|
|
@@ -5,17 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"captureResponse": {
|
|
10
10
|
"response": "001",
|
|
11
|
-
"responseTime": "
|
|
12
|
-
"postDate": "2016-08-16",
|
|
13
|
-
"@id": "d02e759ff71923db14720182",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:25",
|
|
14
12
|
"message": "Transaction Received",
|
|
15
|
-
"
|
|
16
|
-
"TransactionID": "82918655929057693"
|
|
13
|
+
"TransactionID": "82924261924619900"
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <captureResponse id=\"9b967c45d894bd89efa6254b\" reportGroup=\"1\">\n <litleTxnId>82924261924619900</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:25</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </captureResponse>\n</litleOnlineResponse>\n"
|
|
21
18
|
}
|
|
@@ -5,17 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
10
|
"response": "001",
|
|
11
|
-
"responseTime": "
|
|
12
|
-
"postDate": "2016-08-16",
|
|
13
|
-
"@id": "13056ddb36e2b7a54f480541",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:25",
|
|
14
12
|
"message": "Transaction Received",
|
|
15
|
-
"
|
|
16
|
-
"TransactionID": "82918655929057743"
|
|
13
|
+
"TransactionID": "82924261924619959"
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"8b1c4e379dbe8ffeee72f416\" reportGroup=\"1\">\n <litleTxnId>82924261924619959</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:25</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
21
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "db81f434d4c83ca4fccf72a9",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:21",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655929057388"
|
|
13
|
+
"TransactionID": "82924261924619272"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"12b6a8cffaed7ae6ca2b6b3e\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619272</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:21</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "dbc1fd140e3f4c788bff1c27",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:24",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655929057685"
|
|
13
|
+
"TransactionID": "82924261924619868"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"c36aa4094ba245da8acd8bb9\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619868</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:24</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "7847224d9ae6da7d0061e7e5",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:19",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655926355876"
|
|
13
|
+
"TransactionID": "82924261924618886"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"15e3b928a29f7ea411911572\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618886</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:19</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "ad672242d0cdf88be7e5173f",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:16",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655926355678"
|
|
13
|
+
"TransactionID": "82924261924618290"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"cbed3bfbc83849d604d56472\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618290</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:16</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "534d222846bba1a22c3b617f",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:22",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655929057511"
|
|
13
|
+
"TransactionID": "82924261924619561"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"54c2bea76e5ded56aebe3fe8\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619561</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:22</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "4d45491a243e31ddcfbd6540",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:17",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655926355777"
|
|
13
|
+
"TransactionID": "82924261924618506"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"e32e9c07c3eaa89e816d1a74\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924618506</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:17</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,18 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"creditResponse": {
|
|
10
|
-
"@customerId": "not-dynamic-cust-id",
|
|
11
10
|
"response": "001",
|
|
12
|
-
"responseTime": "
|
|
13
|
-
"postDate": "2016-08-16",
|
|
14
|
-
"@id": "1c155ad709368301ca2feb7d",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:19",
|
|
15
12
|
"message": "Transaction Received",
|
|
16
|
-
"
|
|
17
|
-
"TransactionID": "82918655929057321"
|
|
13
|
+
"TransactionID": "82924261924619090"
|
|
18
14
|
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <creditResponse id=\"62b108e031d9b98c4dbe7be9\" reportGroup=\"1\" customerId=\"not-dynamic-cust-id\">\n <litleTxnId>82924261924619090</litleTxnId>\n <response>001</response>\n <responseTime>2018-10-17T15:34:19</responseTime>\n <postDate>2018-10-17</postDate>\n <message>Transaction Received</message>\n </creditResponse>\n</litleOnlineResponse>\n"
|
|
22
18
|
}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
"litleOnlineResponse": {
|
|
6
6
|
"@message": "Valid Format",
|
|
7
7
|
"@response": "0",
|
|
8
|
-
"@version": "10.
|
|
8
|
+
"@version": "10.5",
|
|
9
9
|
"registerTokenResponse": {
|
|
10
10
|
"response": "878",
|
|
11
|
-
"responseTime": "
|
|
11
|
+
"responseTime": "2018-10-17T15:33:58",
|
|
12
12
|
"message": "Expired paypage registration id",
|
|
13
|
-
"TransactionID": "
|
|
13
|
+
"TransactionID": "82924261922653331"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <registerTokenResponse id=\"ea879ed80ef5c2b4ecd41267\" reportGroup=\"1\">\n <litleTxnId>82924261922653331</litleTxnId>\n <response>878</response>\n <responseTime>2018-10-17T15:33:58</responseTime>\n <message>Expired paypage registration id</message>\n </registerTokenResponse>\n</litleOnlineResponse>\n"
|
|
17
18
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpok": true,
|
|
3
|
+
"http_response_code": "200",
|
|
4
|
+
"body": {
|
|
5
|
+
"litleOnlineResponse": {
|
|
6
|
+
"@message": "Valid Format",
|
|
7
|
+
"@response": "0",
|
|
8
|
+
"@version": "10.5",
|
|
9
|
+
"registerTokenResponse": {
|
|
10
|
+
"response": "802",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:10",
|
|
12
|
+
"message": "Account number was previously registered",
|
|
13
|
+
"TransactionID": "82924261923636319",
|
|
14
|
+
"Type": "MC",
|
|
15
|
+
"PaymentAccountID": "1111111111160009"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <registerTokenResponse id=\"44701806028cd62236b43af9\" reportGroup=\"1\">\n <litleTxnId>82924261923636319</litleTxnId>\n <litleToken>1112000239160009</litleToken>\n <response>802</response>\n <responseTime>2018-10-17T15:34:10</responseTime>\n <message>Account number was previously registered</message>\n <bin>511200</bin>\n <type>MC</type>\n </registerTokenResponse>\n</litleOnlineResponse>\n"
|
|
20
|
+
}
|
data/lib/vantiv/mocked_sandbox/fixtures/tokenize--account-updater-contact-cardholder-token.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpok": true,
|
|
3
|
+
"http_response_code": "200",
|
|
4
|
+
"body": {
|
|
5
|
+
"litleOnlineResponse": {
|
|
6
|
+
"@message": "Valid Format",
|
|
7
|
+
"@response": "0",
|
|
8
|
+
"@version": "10.5",
|
|
9
|
+
"registerTokenResponse": {
|
|
10
|
+
"response": "802",
|
|
11
|
+
"responseTime": "2018-10-17T15:34:11",
|
|
12
|
+
"message": "Account number was previously registered",
|
|
13
|
+
"TransactionID": "82924261923636483",
|
|
14
|
+
"Type": "VI",
|
|
15
|
+
"PaymentAccountID": "1111111111130004"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"raw_body": "<litleOnlineResponse version=\"10.5\" xmlns=\"http://www.litle.com/schema\"\n response=\"0\" message=\"Valid Format\">\n <registerTokenResponse id=\"ae85f418369ea8efd7a1377d\" reportGroup=\"1\">\n <litleTxnId>82924261923636483</litleTxnId>\n <litleToken>1111000242330004</litleToken>\n <response>802</response>\n <responseTime>2018-10-17T15:34:11</responseTime>\n <message>Account number was previously registered</message>\n <bin>445700</bin>\n <type>VI</type>\n </registerTokenResponse>\n</litleOnlineResponse>\n"
|
|
20
|
+
}
|