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
ci(cypress): fix adyenplatform, noon , peach connectors (#12058)
likhinbopanna9d9d6780ba1d
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Noon.js b/cypress-tests/cypress/e2e/configs/Payment/Noon.jsindex c191050de1..6bd8894b87 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Noon.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Noon.js@@ -47,7 +47,7 @@ const payment_method_data_3ds = {last4: "1091",card_type: "CREDIT",card_network: "Visa",- card_issuer: "Intl Hdqtrs Center Owned",+ card_issuer: "INTL HDQTRS CENTER OWNED",card_issuing_country: "UNITED STATES OF AMERICA",card_isin: "400000",card_extended_bin: null,@@ -732,6 +732,22 @@ export const connectorDetails = {},},},+ No3DSFailPayment: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulThreeDSTestCardDetails,+ },+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "requires_customer_action", // Noon doesn't have fail scenario for card payments, it goes to requires_customer_action.+ },+ },+ },},webhook: {TransactionIdConfig: {diff --git a/cypress-tests/cypress/e2e/configs/Payout/AdyenPlatform.js b/cypress-tests/cypress/e2e/configs/Payout/AdyenPlatform.jsindex d8839f5d53..d59c50f076 100644--- a/cypress-tests/cypress/e2e/configs/Payout/AdyenPlatform.js+++ b/cypress-tests/cypress/e2e/configs/Payout/AdyenPlatform.js@@ -31,7 +31,7 @@ const billing = {const PaymentMethodData = {card: {- card_issuer: "Conotoxia Sp Z Oo",+ card_issuer: "CONOTOXIA SP Z O.O.",card_network: "Visa",card_type: "DEBIT",card_issuing_country: "POLAND",diff --git a/cypress-tests/cypress/support/commands.js b/cypress-tests/cypress/support/commands.jsindex ef2e2fa08e..8730ae43d8 100644--- a/cypress-tests/cypress/support/commands.js+++ b/cypress-tests/cypress/support/commands.js@@ -3705,7 +3705,8 @@ Cypress.Commands.add(response.body.setup_future_usage === "off_session" &&//Added this check to ensure mandate_id is null so that will get connector_mandate_idresponse.body.mandate_id === null &&- response.body.status === "succeeded"+ response.body.status === "succeeded" &&+ globalState.get("connectorId") !== "peachpayments" // Peach Payments does not support psp mandate flow) {expect(response.body.connector_mandate_id,