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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
test(cypress): add ACH bank debit payment coverage for Stax connector (#12619)
HS-QUALIBOTeed169226a1b
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Stax.js b/cypress-tests/cypress/e2e/configs/Payment/Stax.jsindex 4b6f070e0f..3b9522606f 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Stax.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Stax.js@@ -897,6 +897,84 @@ export const connectorDetails = {},},+ bank_debit_pm: {+ PaymentIntent: (paymentMethodType) => {+ if (paymentMethodType !== "Ach") {+ return {+ Configs: {+ TRIGGER_SKIP: true,+ },+ Request: {+ currency: "USD",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_payment_method",+ },+ },+ };+ }+ return {+ Request: {+ currency: "USD",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_payment_method",+ },+ },+ };+ },+ Ach: {+ Request: {+ payment_method: "bank_debit",+ payment_method_type: "ach",+ payment_method_data: {+ bank_debit: {+ ach_bank_debit: {+ billing_details: {+ name: "Venkata Karthik",+ email: "[email protected]",+ },+ account_number: "9876543210",+ routing_number: "021000021",+ card_holder_name: "Steven Smith",+ bank_account_holder_name: "Steven Smith",+ bank_name: "bank_of_america",+ bank_type: "savings",+ bank_holder_type: "personal",+ },+ },+ },+ billing: {+ address: {+ first_name: "Venkat",+ last_name: "Mariserla",+ line1: "123 Main St",+ city: "San Francisco",+ state: "California",+ zip: "94122",+ country: "US",+ },+ phone: {+ number: "4155551234",+ country_code: "+1",+ },+ email: "[email protected]",+ },+ email: "[email protected]",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ },+ },+ },+ },+pm_list: {PmListResponse: {PmListNull: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.jsindex fe86e404fc..0957aa143a 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js@@ -532,7 +532,7 @@ export const CONNECTOR_LISTS = {"paypal","stripe",],- BANK_DEBIT: ["adyen", "novalnet", "payload", "wellsfargo"], // payload verified as working+ BANK_DEBIT: ["adyen", "novalnet", "payload", "wellsfargo", "stax"], // payload verified as workingBANK_REDIRECT_BANCONTACT: ["adyen", "stripe"],BANK_REDIRECT_MANDATE: ["adyen"],BLUECODE_WALLET: ["calida"],