Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

test(cypress): add bank debit ACH coverage for payload connector (#12253)

HS-QUALIBOT53989bba6067
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Commons.js b/cypress-tests/cypress/e2e/configs/Payment/Commons.js
index e704c9b46c..b03a5675cf 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Commons.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Commons.js
@@ -967,7 +967,7 @@ export const connectorDetails = {
},
});
},
- SepaDebit: getCustomExchange({
+ Sepa: getCustomExchange({
Request: {
payment_method: "bank_debit",
payment_method_type: "sepa",
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Payload.js b/cypress-tests/cypress/e2e/configs/Payment/Payload.js
index 647a2d4569..728e686685 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Payload.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Payload.js
@@ -686,6 +686,41 @@ export const connectorDetails = {
},
},
},
+ bank_debit_pm: {
+ Ach: getCustomExchange({
+ Request: {
+ payment_method: "bank_debit",
+ payment_method_type: "ach",
+ payment_method_data: {
+ bank_debit: {
+ ach_bank_debit: {
+ account_number: "000123456789",
+ routing_number: "110000000",
+ bank_account_holder_name: "John Doe",
+ bank_type: "checking",
+ },
+ },
+ },
+ billing: {
+ address: {
+ first_name: "John",
+ last_name: "Doe",
+ line1: "123 Main St",
+ city: "San Francisco",
+ state: "California",
+ zip: "94122",
+ country: "US",
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ }),
+ },
webhook: {
TransactionIdConfig: {
path: "triggered_on.id",
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.js
index 2d9f7895e3..8114a6ebd3 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js
@@ -510,7 +510,7 @@ export const CONNECTOR_LISTS = {
"paypal",
"stripe",
],
- BANK_DEBIT: ["adyen", "novalnet"],
+ BANK_DEBIT: ["adyen", "novalnet", "payload"], // payload verified as working
CARD_INSTALLMENTS: ["adyen"],
BILLING_DESCRIPTOR: [
"adyen",