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

fix(novalnet): add No3DSFailPayment test configuration (#12289)

HS-QUALIBOT3a24c0b61feb
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js b/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js
index ce5b2303f4..6461c18c06 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js
@@ -16,6 +16,14 @@ const successfulNo3DSCardDetails = {
card_cvc: "123",
};
+const failedNo3DSCardDetails = {
+ card_number: "4000000000000002",
+ card_exp_month: "03",
+ card_exp_year: "30",
+ card_holder_name: "joseph Doe",
+ card_cvc: "123",
+};
+
const customerAcceptance = {
acceptance_type: "offline",
accepted_at: "1963-05-03T04:07:52.723Z",
@@ -163,6 +171,22 @@ export const connectorDetails = {
},
},
},
+ No3DSFailPayment: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: failedNo3DSCardDetails,
+ },
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "failed",
+ },
+ },
+ },
Capture: {
Request: {
amount_to_capture: 6000,