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 stripe blik (#11529)

likhinbopannaccfcfe394f85
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js b/cypress-tests/cypress/e2e/configs/Payment/Stripe.js
index 5f20853eef..2539a9557b 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Stripe.js
@@ -1030,8 +1030,7 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
- status: "failed",
- error_code: "payment_intent_invalid_parameter",
+ status: "requires_customer_action",
},
},
},
diff --git a/cypress-tests/cypress/support/commands.js b/cypress-tests/cypress/support/commands.js
index a9b2e00a60..8efe6adcd7 100644
--- a/cypress-tests/cypress/support/commands.js
+++ b/cypress-tests/cypress/support/commands.js
@@ -2220,6 +2220,12 @@ Cypress.Commands.add(
.to.have.property("next_action")
.to.have.property("type")
.to.equal("wait_screen_information");
+ } else if (
+ connectorId === "stripe" &&
+ response.body.payment_method_type === "blik"
+ ) {
+ expect(response.body).to.have.property("next_action").to
+ .be.null;
} else {
expect(response.body)
.to.have.property("next_action")