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

ci(cypress): fix adyen sofort in cypress (#6984)

likhinbopanna8c4cd07ea693
diff --git a/cypress-tests/cypress/e2e/PaymentUtils/Adyen.js b/cypress-tests/cypress/e2e/PaymentUtils/Adyen.js
index 56efbf1f6f..95fa82f967 100644
--- a/cypress-tests/cypress/e2e/PaymentUtils/Adyen.js
+++ b/cypress-tests/cypress/e2e/PaymentUtils/Adyen.js
@@ -909,7 +909,9 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
- status: "requires_customer_action",
+ status: "failed",
+ error_code: "14_006",
+ error_message: "Required object 'paymentMethod' is not provided.",
},
},
},
diff --git a/cypress-tests/cypress/e2e/PaymentUtils/Iatapay.js b/cypress-tests/cypress/e2e/PaymentUtils/Iatapay.js
index faa810e7ba..4777289695 100644
--- a/cypress-tests/cypress/e2e/PaymentUtils/Iatapay.js
+++ b/cypress-tests/cypress/e2e/PaymentUtils/Iatapay.js
@@ -88,6 +88,27 @@ export const connectorDetails = {
},
},
},
+ No3DSFailPayment: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ Response: {
+ status: 400,
+ body: {
+ error: {
+ type: "invalid_request",
+ message:
+ "Selected payment method through iatapay is not implemented",
+ code: "IR_00",
+ },
+ },
+ },
+ },
},
upi_pm: {
PaymentIntent: {