globalpayments-api 3.8.0 → 3.8.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.
- package/CHANGELOG.md +9 -1
- package/LICENSE.md +257 -257
- package/README.md +141 -141
- package/lib/src/Builders/ManagementBuilder.d.ts +9 -5
- package/lib/src/Builders/ManagementBuilder.js +44 -34
- package/lib/src/Builders/ManagementBuilder.js.map +1 -1
- package/lib/src/Entities/AdditionalTaxDetails.d.ts +5 -0
- package/lib/src/Entities/AdditionalTaxDetails.js +10 -0
- package/lib/src/Entities/AdditionalTaxDetails.js.map +1 -0
- package/lib/src/Entities/CommercialData.d.ts +26 -0
- package/lib/src/Entities/CommercialData.js +36 -0
- package/lib/src/Entities/CommercialData.js.map +1 -0
- package/lib/src/Entities/CommercialLineItem.d.ts +21 -0
- package/lib/src/Entities/CommercialLineItem.js +24 -0
- package/lib/src/Entities/CommercialLineItem.js.map +1 -0
- package/lib/src/Entities/DiscountDetails.d.ts +8 -0
- package/lib/src/Entities/DiscountDetails.js +13 -0
- package/lib/src/Entities/DiscountDetails.js.map +1 -0
- package/lib/src/Entities/Enums.d.ts +10 -1
- package/lib/src/Entities/Enums.js +13 -2
- package/lib/src/Entities/Enums.js.map +1 -1
- package/lib/src/Entities/Transaction.js +3 -0
- package/lib/src/Entities/Transaction.js.map +1 -1
- package/lib/src/Entities/TransactionSummary.d.ts +1 -0
- package/lib/src/Entities/TransactionSummary.js +1 -0
- package/lib/src/Entities/TransactionSummary.js.map +1 -1
- package/lib/src/Gateways/PayPlanConnector.d.ts +1 -1
- package/lib/src/Gateways/PorticoConnector.d.ts +3 -3
- package/lib/src/Gateways/PorticoConnector.js +117 -4
- package/lib/src/Gateways/PorticoConnector.js.map +1 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.js +17 -17
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.js.map +1 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js +66 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js.map +1 -1
- package/package.json +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js +0 -1029
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js +0 -649
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +0 -109
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +0 -1025
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js +0 -439
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js +0 -143
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js +0 -639
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js +0 -149
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js +0 -226
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js +0 -434
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +0 -217
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +0 -338
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +0 -2446
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +0 -506
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +0 -1296
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +0 -847
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +0 -215
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +0 -99
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +0 -133
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +0 -59
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +0 -378
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +0 -86
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +0 -1723
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +0 -86
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +0 -1760
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +0 -420
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +0 -2221
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +0 -392
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +0 -88
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +0 -72
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +0 -143
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +0 -147
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.js +0 -48
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +0 -101
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +0 -50
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +0 -44
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +0 -221
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +0 -60
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +0 -80
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +0 -44
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +0 -330
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +0 -60
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +0 -80
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +0 -1
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +0 -149
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.js +0 -45
- package/lib/test/Integration/Services/CheckServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.js +0 -174
- package/lib/test/Integration/Services/CreditServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.js +0 -81
- package/lib/test/Integration/Services/DebitServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.js +0 -64
- package/lib/test/Integration/Services/EBTServiceTest.js.map +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +0 -111
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +0 -62
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +0 -1
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +0 -34
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +0 -125
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +0 -1
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const ava_1 = __importDefault(require("ava"));
|
|
7
|
-
const src_1 = require("../../../../../src/");
|
|
8
|
-
const ServiceConfigs_1 = require("../../../../../src/ServiceConfigs");
|
|
9
|
-
const config = new ServiceConfigs_1.GpEcomConfig();
|
|
10
|
-
config.merchantId = "heartlandgpsandbox";
|
|
11
|
-
config.accountId = "api";
|
|
12
|
-
config.sharedSecret = "secret";
|
|
13
|
-
config.refundPassword = "refund";
|
|
14
|
-
config.rebatePassword = "rebate";
|
|
15
|
-
config.timeout = 5000;
|
|
16
|
-
config.channel = "ECOM";
|
|
17
|
-
ava_1.default.before(() => {
|
|
18
|
-
src_1.ServicesContainer.configureService(config);
|
|
19
|
-
});
|
|
20
|
-
const throttle = () => new Promise((resolve) => setTimeout(resolve, 1500));
|
|
21
|
-
ava_1.default.beforeEach(async () => {
|
|
22
|
-
await throttle();
|
|
23
|
-
});
|
|
24
|
-
(0, ava_1.default)("JAVA_AVS_001a", async (t) => {
|
|
25
|
-
t.plan(2);
|
|
26
|
-
// billing address
|
|
27
|
-
const billingAddress = new src_1.Address();
|
|
28
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
29
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
30
|
-
billingAddress.country = "GB";
|
|
31
|
-
// shipping address
|
|
32
|
-
const shippingAddress = new src_1.Address();
|
|
33
|
-
shippingAddress.country = "FR";
|
|
34
|
-
// create card
|
|
35
|
-
const card = new src_1.CreditCardData();
|
|
36
|
-
card.number = "4263970000005262";
|
|
37
|
-
card.expMonth = "12";
|
|
38
|
-
card.expYear = "2020";
|
|
39
|
-
card.cvn = "1";
|
|
40
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
41
|
-
card.cardHolderName = "James Mason";
|
|
42
|
-
// request
|
|
43
|
-
const error = await t.throwsAsync(async () => await card
|
|
44
|
-
.charge(100.01)
|
|
45
|
-
.withCurrency("GBP")
|
|
46
|
-
.withCustomerId("100")
|
|
47
|
-
.withProductId("999")
|
|
48
|
-
.withClientTransactionId("test")
|
|
49
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
50
|
-
.withAddress(billingAddress)
|
|
51
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
52
|
-
.withDescription("JAVA-AVS-001a")
|
|
53
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
54
|
-
t.truthy(error?.message);
|
|
55
|
-
});
|
|
56
|
-
(0, ava_1.default)("JAVA_AVS_001b", async (t) => {
|
|
57
|
-
t.plan(2);
|
|
58
|
-
// billing address
|
|
59
|
-
const billingAddress = new src_1.Address();
|
|
60
|
-
billingAddress.streetAddress1 = "Flat #123 House No. 456";
|
|
61
|
-
billingAddress.postalCode = "E77 #4QJ";
|
|
62
|
-
billingAddress.country = "GB";
|
|
63
|
-
// shipping address
|
|
64
|
-
const shippingAddress = new src_1.Address();
|
|
65
|
-
shippingAddress.country = "FR";
|
|
66
|
-
// create card
|
|
67
|
-
const card = new src_1.CreditCardData();
|
|
68
|
-
card.number = "4263970000005262";
|
|
69
|
-
card.expMonth = "12";
|
|
70
|
-
card.expYear = "2020";
|
|
71
|
-
card.cvn = "2";
|
|
72
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
73
|
-
card.cardHolderName = "James Mason";
|
|
74
|
-
// request
|
|
75
|
-
const error = await t.throwsAsync(async () => await card
|
|
76
|
-
.charge(100.01)
|
|
77
|
-
.withCurrency("GBP")
|
|
78
|
-
.withCustomerId("100")
|
|
79
|
-
.withProductId("999")
|
|
80
|
-
.withClientTransactionId("test")
|
|
81
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
82
|
-
.withAddress(billingAddress)
|
|
83
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
84
|
-
.withDescription("JAVA-AVS-001b")
|
|
85
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
86
|
-
t.truthy(error?.message);
|
|
87
|
-
});
|
|
88
|
-
(0, ava_1.default)("JAVA_AVS_001c", async (t) => {
|
|
89
|
-
t.plan(2);
|
|
90
|
-
// billing address
|
|
91
|
-
const billingAddress = new src_1.Address();
|
|
92
|
-
billingAddress.streetAddress1 = "# Flat #123 House No. #456";
|
|
93
|
-
billingAddress.postalCode = "# E77 @~4 Q # J";
|
|
94
|
-
billingAddress.country = "GB";
|
|
95
|
-
// shipping address
|
|
96
|
-
const shippingAddress = new src_1.Address();
|
|
97
|
-
shippingAddress.country = "FR";
|
|
98
|
-
// create card
|
|
99
|
-
const card = new src_1.CreditCardData();
|
|
100
|
-
card.number = "4263970000005262";
|
|
101
|
-
card.expMonth = "12";
|
|
102
|
-
card.expYear = "2020";
|
|
103
|
-
card.cvn = "3";
|
|
104
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
105
|
-
card.cardHolderName = "James Mason";
|
|
106
|
-
// request
|
|
107
|
-
const error = await t.throwsAsync(async () => await card
|
|
108
|
-
.charge(100.01)
|
|
109
|
-
.withCurrency("GBP")
|
|
110
|
-
.withCustomerId("100")
|
|
111
|
-
.withProductId("999")
|
|
112
|
-
.withClientTransactionId("test")
|
|
113
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
114
|
-
.withAddress(billingAddress)
|
|
115
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
116
|
-
.withDescription("JAVA-AVS-001c")
|
|
117
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
118
|
-
t.truthy(error?.message);
|
|
119
|
-
});
|
|
120
|
-
(0, ava_1.default)("JAVA_AVS_001d", async (t) => {
|
|
121
|
-
t.plan(2);
|
|
122
|
-
// billing address
|
|
123
|
-
const billingAddress = new src_1.Address();
|
|
124
|
-
billingAddress.country = "GB";
|
|
125
|
-
// shipping address
|
|
126
|
-
const shippingAddress = new src_1.Address();
|
|
127
|
-
shippingAddress.country = "FR";
|
|
128
|
-
// create card
|
|
129
|
-
const card = new src_1.CreditCardData();
|
|
130
|
-
card.number = "4263970000005262";
|
|
131
|
-
card.expMonth = "12";
|
|
132
|
-
card.expYear = "2020";
|
|
133
|
-
card.cvn = "4";
|
|
134
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
135
|
-
card.cardHolderName = "James Mason";
|
|
136
|
-
// request
|
|
137
|
-
const error = await t.throwsAsync(async () => await card
|
|
138
|
-
.charge(100.01)
|
|
139
|
-
.withCurrency("GBP")
|
|
140
|
-
.withCustomerId("100")
|
|
141
|
-
.withProductId("999")
|
|
142
|
-
.withClientTransactionId("test")
|
|
143
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
144
|
-
.withAddress(billingAddress)
|
|
145
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
146
|
-
.withDescription("JAVA-AVS-001d")
|
|
147
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
148
|
-
t.truthy(error?.message);
|
|
149
|
-
});
|
|
150
|
-
(0, ava_1.default)("JAVA_AVS_001e", async (t) => {
|
|
151
|
-
t.plan(2);
|
|
152
|
-
// billing address
|
|
153
|
-
const billingAddress = new src_1.Address();
|
|
154
|
-
/* eslint-disable */
|
|
155
|
-
billingAddress.streetAddress1 =
|
|
156
|
-
"Lorem ipsum dolor sit 1amet; consectetur adipiscing elit. Aenean ali2quam tellus in elit hendrerit; non 3porttE77 4QJitor lorem venenatis. Pellentesque dictum eu nunc ac fringilla. In vitae quam eu odio sollicitudin rhoncus. Praesent ullamcorper eros vitae consequat tempus. In gravida viverra iaculis. Morbi dignissim orci et ipsum accumsan";
|
|
157
|
-
billingAddress.postalCode =
|
|
158
|
-
"Lorem ipsum dolo1r sit amet; consectetur adipiscing elit. Aenean aliquam tellus in elit hendrerit; non porttE77 4QJitor lorem venenatis. Pellentesque dictum eu2 nunc ac fringilla. In vitae quam eu 3odio sollicitudin rhoncus. Praesent ullamcorper eros vitae consequat tempus. In gravida viverra iaculis. Morbi dignissim orci et ipsum accumsan";
|
|
159
|
-
/* eslint-enable */
|
|
160
|
-
billingAddress.country = "GB";
|
|
161
|
-
// shipping address
|
|
162
|
-
const shippingAddress = new src_1.Address();
|
|
163
|
-
shippingAddress.country = "FR";
|
|
164
|
-
// create card
|
|
165
|
-
const card = new src_1.CreditCardData();
|
|
166
|
-
card.number = "4263970000005262";
|
|
167
|
-
card.expMonth = "12";
|
|
168
|
-
card.expYear = "2020";
|
|
169
|
-
card.cvn = "5";
|
|
170
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
171
|
-
card.cardHolderName = "James Mason";
|
|
172
|
-
// request
|
|
173
|
-
const error = await t.throwsAsync(async () => await card
|
|
174
|
-
.charge(100.01)
|
|
175
|
-
.withCurrency("GBP")
|
|
176
|
-
.withCustomerId("100")
|
|
177
|
-
.withProductId("999")
|
|
178
|
-
.withClientTransactionId("test")
|
|
179
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
180
|
-
.withAddress(billingAddress)
|
|
181
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
182
|
-
.withDescription("JAVA-AVS-001e")
|
|
183
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
184
|
-
t.truthy(error?.message);
|
|
185
|
-
});
|
|
186
|
-
(0, ava_1.default)("JAVA_AVS_001f", async (t) => {
|
|
187
|
-
t.plan(2);
|
|
188
|
-
// billing address
|
|
189
|
-
const billingAddress = new src_1.Address();
|
|
190
|
-
billingAddress.streetAddress1 = "ABCDEFGHIJ";
|
|
191
|
-
billingAddress.postalCode = "ABCDEFGHIJ";
|
|
192
|
-
billingAddress.country = "GB";
|
|
193
|
-
// shipping address
|
|
194
|
-
const shippingAddress = new src_1.Address();
|
|
195
|
-
shippingAddress.country = "FR";
|
|
196
|
-
// create card
|
|
197
|
-
const card = new src_1.CreditCardData();
|
|
198
|
-
card.number = "4263970000005262";
|
|
199
|
-
card.expMonth = "12";
|
|
200
|
-
card.expYear = "2020";
|
|
201
|
-
card.cvn = "6";
|
|
202
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
203
|
-
card.cardHolderName = "James Mason";
|
|
204
|
-
// request
|
|
205
|
-
const error = await t.throwsAsync(async () => await card
|
|
206
|
-
.charge(100.01)
|
|
207
|
-
.withCurrency("GBP")
|
|
208
|
-
.withCustomerId("100")
|
|
209
|
-
.withProductId("999")
|
|
210
|
-
.withClientTransactionId("test")
|
|
211
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
212
|
-
.withAddress(billingAddress)
|
|
213
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
214
|
-
.withDescription("JAVA-AVS-001f")
|
|
215
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
216
|
-
t.truthy(error?.message);
|
|
217
|
-
});
|
|
218
|
-
(0, ava_1.default)("JAVA_AVS_001g", async (t) => {
|
|
219
|
-
t.plan(2);
|
|
220
|
-
// billing address
|
|
221
|
-
const billingAddress = new src_1.Address();
|
|
222
|
-
/* eslint-disable */
|
|
223
|
-
billingAddress.streetAddress1 =
|
|
224
|
-
"Lorem ipsum dolor sit amet; consectetur adipiscing elit. Aenean aliquam tellus in elit hendrerit; non porttE77 4QJitor lorem venenatis. Pellentesque dictum eu nunc ac fringilla. In vitae quam eu odio sollicitudin rhoncus. Praesent ullamcorper eros vitae consequat tempus. In gravida viverra iaculis. Morbi dignissim orci et ipsum accumsan";
|
|
225
|
-
billingAddress.postalCode =
|
|
226
|
-
"Lorem ipsum dolor sit amet; consectetur adipiscing elit. Aenean aliquam tellus in elit hendrerit; non porttE77 4QJitor lorem venenatis. Pellentesque dictum eu nunc ac fringilla. In vitae quam eu odio sollicitudin rhoncus. Praesent ullamcorper eros vitae consequat tempus. In gravida viverra iaculis. Morbi dignissim orci et ipsum accumsan";
|
|
227
|
-
/* eslint-enable */
|
|
228
|
-
billingAddress.country = "GB";
|
|
229
|
-
// shipping address
|
|
230
|
-
const shippingAddress = new src_1.Address();
|
|
231
|
-
shippingAddress.country = "FR";
|
|
232
|
-
// create card
|
|
233
|
-
const card = new src_1.CreditCardData();
|
|
234
|
-
card.number = "4263970000005262";
|
|
235
|
-
card.expMonth = "12";
|
|
236
|
-
card.expYear = "2020";
|
|
237
|
-
card.cvn = "7";
|
|
238
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
239
|
-
card.cardHolderName = "James Mason";
|
|
240
|
-
// request
|
|
241
|
-
const error = await t.throwsAsync(async () => await card
|
|
242
|
-
.charge(100.01)
|
|
243
|
-
.withCurrency("GBP")
|
|
244
|
-
.withCustomerId("100")
|
|
245
|
-
.withProductId("999")
|
|
246
|
-
.withClientTransactionId("test")
|
|
247
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
248
|
-
.withAddress(billingAddress)
|
|
249
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
250
|
-
.withDescription("JAVA-AVS-001g")
|
|
251
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
252
|
-
t.truthy(error?.message);
|
|
253
|
-
});
|
|
254
|
-
(0, ava_1.default)("JAVA_AVS_003a", async (t) => {
|
|
255
|
-
t.plan(2);
|
|
256
|
-
// billing address
|
|
257
|
-
const billingAddress = new src_1.Address();
|
|
258
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
259
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
260
|
-
billingAddress.country = "GB";
|
|
261
|
-
// shipping address
|
|
262
|
-
const shippingAddress = new src_1.Address();
|
|
263
|
-
shippingAddress.country = "FR";
|
|
264
|
-
// create card
|
|
265
|
-
const card = new src_1.CreditCardData();
|
|
266
|
-
card.number = "4263970000005262";
|
|
267
|
-
card.expMonth = "12";
|
|
268
|
-
card.expYear = "2020";
|
|
269
|
-
card.cvn = "8";
|
|
270
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
271
|
-
card.cardHolderName = "James Mason";
|
|
272
|
-
// request
|
|
273
|
-
const error = await t.throwsAsync(async () => await card
|
|
274
|
-
.charge(100.01)
|
|
275
|
-
.withCurrency("GBP")
|
|
276
|
-
.withCustomerId("100")
|
|
277
|
-
.withProductId("999")
|
|
278
|
-
.withClientTransactionId("test")
|
|
279
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
280
|
-
.withAddress(billingAddress)
|
|
281
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
282
|
-
.withDescription("JAVA-AVS-003a")
|
|
283
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
284
|
-
t.truthy(error?.message);
|
|
285
|
-
});
|
|
286
|
-
(0, ava_1.default)("JAVA_AVS_003b", async (t) => {
|
|
287
|
-
t.plan(2);
|
|
288
|
-
// billing address
|
|
289
|
-
const billingAddress = new src_1.Address();
|
|
290
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
291
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
292
|
-
billingAddress.country = "GB";
|
|
293
|
-
// shipping address
|
|
294
|
-
const shippingAddress = new src_1.Address();
|
|
295
|
-
shippingAddress.country = "FR";
|
|
296
|
-
// create card
|
|
297
|
-
const card = new src_1.CreditCardData();
|
|
298
|
-
card.number = "4263970000005262";
|
|
299
|
-
card.expMonth = "12";
|
|
300
|
-
card.expYear = "2020";
|
|
301
|
-
card.cvn = "9";
|
|
302
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
303
|
-
card.cardHolderName = "James Mason";
|
|
304
|
-
// request
|
|
305
|
-
const error = await t.throwsAsync(async () => await card
|
|
306
|
-
.charge(100.01)
|
|
307
|
-
.withCurrency("GBP")
|
|
308
|
-
.withCustomerId("100")
|
|
309
|
-
.withProductId("999")
|
|
310
|
-
.withClientTransactionId("test")
|
|
311
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
312
|
-
.withAddress(billingAddress)
|
|
313
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
314
|
-
.withDescription("JAVA-AVS-003b")
|
|
315
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
316
|
-
t.truthy(error?.message);
|
|
317
|
-
});
|
|
318
|
-
(0, ava_1.default)("JAVA_AVS_003c", async (t) => {
|
|
319
|
-
t.plan(2);
|
|
320
|
-
// billing address
|
|
321
|
-
const billingAddress = new src_1.Address();
|
|
322
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
323
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
324
|
-
billingAddress.country = "GB";
|
|
325
|
-
// shipping address
|
|
326
|
-
const shippingAddress = new src_1.Address();
|
|
327
|
-
shippingAddress.country = "FR";
|
|
328
|
-
// create card
|
|
329
|
-
const card = new src_1.CreditCardData();
|
|
330
|
-
card.number = "4263970000005262";
|
|
331
|
-
card.expMonth = "12";
|
|
332
|
-
card.expYear = "2020";
|
|
333
|
-
card.cvn = "10";
|
|
334
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
335
|
-
card.cardHolderName = "James Mason";
|
|
336
|
-
// request
|
|
337
|
-
const error = await t.throwsAsync(async () => await card
|
|
338
|
-
.charge(100.01)
|
|
339
|
-
.withCurrency("GBP")
|
|
340
|
-
.withCustomerId("100")
|
|
341
|
-
.withProductId("999")
|
|
342
|
-
.withClientTransactionId("test")
|
|
343
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
344
|
-
.withAddress(billingAddress)
|
|
345
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
346
|
-
.withDescription("JAVA-AVS-003c")
|
|
347
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
348
|
-
t.truthy(error?.message);
|
|
349
|
-
});
|
|
350
|
-
(0, ava_1.default)("JAVA_AVS_003d", async (t) => {
|
|
351
|
-
t.plan(2);
|
|
352
|
-
// billing address
|
|
353
|
-
const billingAddress = new src_1.Address();
|
|
354
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
355
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
356
|
-
billingAddress.country = "GB";
|
|
357
|
-
// shipping address
|
|
358
|
-
const shippingAddress = new src_1.Address();
|
|
359
|
-
shippingAddress.country = "FR";
|
|
360
|
-
// create card
|
|
361
|
-
const card = new src_1.CreditCardData();
|
|
362
|
-
card.number = "4263970000005262";
|
|
363
|
-
card.expMonth = "12";
|
|
364
|
-
card.expYear = "2020";
|
|
365
|
-
card.cvn = "11";
|
|
366
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
367
|
-
card.cardHolderName = "James Mason";
|
|
368
|
-
// request
|
|
369
|
-
const error = await t.throwsAsync(async () => await card
|
|
370
|
-
.charge(100.01)
|
|
371
|
-
.withCurrency("GBP")
|
|
372
|
-
.withCustomerId("100")
|
|
373
|
-
.withProductId("999")
|
|
374
|
-
.withClientTransactionId("test")
|
|
375
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
376
|
-
.withAddress(billingAddress)
|
|
377
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
378
|
-
.withDescription("JAVA-AVS-003d")
|
|
379
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
380
|
-
t.truthy(error?.message);
|
|
381
|
-
});
|
|
382
|
-
(0, ava_1.default)("JAVA_AVS_003e", async (t) => {
|
|
383
|
-
t.plan(2);
|
|
384
|
-
// billing address
|
|
385
|
-
const billingAddress = new src_1.Address();
|
|
386
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
387
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
388
|
-
billingAddress.country = "GB";
|
|
389
|
-
// shipping address
|
|
390
|
-
const shippingAddress = new src_1.Address();
|
|
391
|
-
shippingAddress.country = "FR";
|
|
392
|
-
// create card
|
|
393
|
-
const card = new src_1.CreditCardData();
|
|
394
|
-
card.number = "4263970000005262";
|
|
395
|
-
card.expMonth = "12";
|
|
396
|
-
card.expYear = "2020";
|
|
397
|
-
card.cvn = "12";
|
|
398
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
399
|
-
card.cardHolderName = "James Mason";
|
|
400
|
-
// request
|
|
401
|
-
const error = await t.throwsAsync(async () => await card
|
|
402
|
-
.charge(100.01)
|
|
403
|
-
.withCurrency("GBP")
|
|
404
|
-
.withCustomerId("100")
|
|
405
|
-
.withProductId("999")
|
|
406
|
-
.withClientTransactionId("test")
|
|
407
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
408
|
-
.withAddress(billingAddress)
|
|
409
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
410
|
-
.withDescription("JAVA-AVS-003e")
|
|
411
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
412
|
-
t.truthy(error?.message);
|
|
413
|
-
});
|
|
414
|
-
(0, ava_1.default)("JAVA_AVS_003f", async (t) => {
|
|
415
|
-
t.plan(2);
|
|
416
|
-
// billing address
|
|
417
|
-
const billingAddress = new src_1.Address();
|
|
418
|
-
billingAddress.streetAddress1 = "Flat 123 House 456";
|
|
419
|
-
billingAddress.postalCode = "E77 4QJ";
|
|
420
|
-
billingAddress.country = "GB";
|
|
421
|
-
// shipping address
|
|
422
|
-
const shippingAddress = new src_1.Address();
|
|
423
|
-
shippingAddress.country = "FR";
|
|
424
|
-
// create card
|
|
425
|
-
const card = new src_1.CreditCardData();
|
|
426
|
-
card.number = "4263970000005262";
|
|
427
|
-
card.expMonth = "12";
|
|
428
|
-
card.expYear = "2020";
|
|
429
|
-
card.cvn = "13";
|
|
430
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
431
|
-
card.cardHolderName = "James Mason";
|
|
432
|
-
// request
|
|
433
|
-
const error = await t.throwsAsync(async () => await card
|
|
434
|
-
.charge(100.01)
|
|
435
|
-
.withCurrency("GBP")
|
|
436
|
-
.withCustomerId("100")
|
|
437
|
-
.withProductId("999")
|
|
438
|
-
.withClientTransactionId("test")
|
|
439
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
440
|
-
.withAddress(billingAddress)
|
|
441
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
442
|
-
.withDescription("JAVA-AVS-003f")
|
|
443
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
444
|
-
t.truthy(error?.message);
|
|
445
|
-
});
|
|
446
|
-
(0, ava_1.default)("JAVA_AVS_003g", async (t) => {
|
|
447
|
-
t.plan(2);
|
|
448
|
-
// billing address
|
|
449
|
-
const billingAddress = new src_1.Address();
|
|
450
|
-
billingAddress.country = "GB";
|
|
451
|
-
// shipping address
|
|
452
|
-
const shippingAddress = new src_1.Address();
|
|
453
|
-
shippingAddress.country = "FR";
|
|
454
|
-
// create card
|
|
455
|
-
const card = new src_1.CreditCardData();
|
|
456
|
-
card.number = "4263970000005262";
|
|
457
|
-
card.expMonth = "12";
|
|
458
|
-
card.expYear = "2020";
|
|
459
|
-
card.cvn = "14";
|
|
460
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
461
|
-
card.cardHolderName = "James Mason";
|
|
462
|
-
// request
|
|
463
|
-
const error = await t.throwsAsync(async () => await card
|
|
464
|
-
.charge(100.01)
|
|
465
|
-
.withCurrency("GBP")
|
|
466
|
-
.withCustomerId("100")
|
|
467
|
-
.withProductId("999")
|
|
468
|
-
.withClientTransactionId("test")
|
|
469
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
470
|
-
.withAddress(billingAddress)
|
|
471
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
472
|
-
.withDescription("JAVA-AVS-003e")
|
|
473
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
474
|
-
t.truthy(error?.message);
|
|
475
|
-
});
|
|
476
|
-
(0, ava_1.default)("JAVA_AVS_003h", async (t) => {
|
|
477
|
-
t.plan(2);
|
|
478
|
-
// billing address
|
|
479
|
-
const billingAddress = new src_1.Address();
|
|
480
|
-
billingAddress.country = "GB";
|
|
481
|
-
// shipping address
|
|
482
|
-
const shippingAddress = new src_1.Address();
|
|
483
|
-
shippingAddress.country = "FR";
|
|
484
|
-
// create card
|
|
485
|
-
const card = new src_1.CreditCardData();
|
|
486
|
-
card.number = "4263970000005262";
|
|
487
|
-
card.expMonth = "12";
|
|
488
|
-
card.expYear = "2020";
|
|
489
|
-
card.cvn = "15";
|
|
490
|
-
card.cvnPresenceIndicator = src_1.CvnPresenceIndicator.Present;
|
|
491
|
-
card.cardHolderName = "James Mason";
|
|
492
|
-
// request
|
|
493
|
-
const error = await t.throwsAsync(async () => await card
|
|
494
|
-
.charge(100.01)
|
|
495
|
-
.withCurrency("GBP")
|
|
496
|
-
.withCustomerId("100")
|
|
497
|
-
.withProductId("999")
|
|
498
|
-
.withClientTransactionId("test")
|
|
499
|
-
.withCustomerIpAddress("123.123.123.123")
|
|
500
|
-
.withAddress(billingAddress)
|
|
501
|
-
.withAddress(shippingAddress, src_1.AddressType.Shipping)
|
|
502
|
-
.withDescription("JAVA-AVS-003f")
|
|
503
|
-
.execute(), { instanceOf: src_1.GatewayError });
|
|
504
|
-
t.truthy(error?.message);
|
|
505
|
-
});
|
|
506
|
-
//# sourceMappingURL=AvsTest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AvsTest.js","sourceRoot":"","sources":["../../../../../../test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,6CAO6B;AAC7B,sEAAiE;AAEjE,MAAM,MAAM,GAAG,IAAI,6BAAY,EAAE,CAAC;AAClC,MAAM,CAAC,UAAU,GAAG,oBAAoB,CAAC;AACzC,MAAM,CAAC,SAAS,GAAG,KAAK,CAAC;AACzB,MAAM,CAAC,YAAY,GAAG,QAAQ,CAAC;AAC/B,MAAM,CAAC,cAAc,GAAG,QAAQ,CAAC;AACjC,MAAM,CAAC,cAAc,GAAG,QAAQ,CAAC;AAEjC,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;AACtB,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;AAExB,aAAI,CAAC,MAAM,CAAC,GAAG,EAAE;IACf,uBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,U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