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): add nexinets connector (#8510)

likhinbopanna2b1ff4b88a4f
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Nexinets.js b/cypress-tests/cypress/e2e/configs/Payment/Nexinets.js
new file mode 100644
index 0000000000..d832991b55
--- /dev/null
+++ b/cypress-tests/cypress/e2e/configs/Payment/Nexinets.js
@@ -0,0 +1,934 @@
+import { customerAcceptance } from "./Commons";
+import { getCustomExchange } from "./Modifiers";
+
+const successfulNo3DSCardDetails = {
+ card_number: "4012001038443335",
+ card_exp_month: "12",
+ card_exp_year: "30",
+ card_holder_name: "John Doe",
+ card_cvc: "123",
+};
+
+const successfulThreeDSTestCardDetails = {
+ ...successfulNo3DSCardDetails,
+ card_number: "4000000000000002",
+};
+
+const failedNo3DSCardDetails = {
+ ...successfulNo3DSCardDetails,
+ card_number: "4925000000000087",
+};
+
+const singleUseMandateData = {
+ customer_acceptance: customerAcceptance,
+ mandate_type: {
+ single_use: {
+ amount: 8000,
+ currency: "EUR",
+ },
+ },
+};
+
+const multiUseMandateData = {
+ customer_acceptance: customerAcceptance,
+ mandate_type: {
+ multi_use: {
+ amount: 8000,
+ currency: "EUR",
+ },
+ },
+};
+
+const germanBillingAddress = {
+ address: {
+ line1: "Musterstraße 123",
+ line2: "Apt 4B",
+ line3: "Near City Center",
+ city: "Berlin",
+ state: "Berlin",
+ zip: "10115",
+ country: "DE",
+ first_name: "John",
+ last_name: "Doe",
+ },
+ phone: {
+ number: "9123456789",
+ country_code: "+49",
+ },
+};
+
+export const connectorDetails = {
+ card_pm: {
+ PaymentIntent: {
+ Request: {
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ },
+ PaymentIntentOffSession: {
+ Request: {
+ amount: 6000,
+ authentication_type: "no_three_ds",
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "off_session",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ },
+ PaymentIntentWithShippingCost: {
+ Request: {
+ currency: "EUR",
+ shipping_cost: 50,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ shipping_cost: 50,
+ amount: 6000,
+ },
+ },
+ },
+ PaymentConfirmWithShippingCost: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ shipping_cost: 50,
+ amount_received: 6050,
+ amount: 6000,
+ net_amount: 6050,
+ },
+ },
+ },
+ "3DSManualCapture": {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ "3DSAutoCapture": {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ No3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_capture",
+ },
+ },
+ },
+ No3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ No3DSFailPayment: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: failedNo3DSCardDetails,
+ },
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "failed",
+ error_code: "12000",
+ error_message:
+ "reason : Error while creating order. , message : There was an error during communication with Bindb",
+ unified_code: "UE_9000",
+ unified_message: "Something went wrong",
+ },
+ },
+ },
+ Capture: {
+ Request: {
+ amount_to_capture: 6000,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ amount: 6000,
+ amount_capturable: 0,
+ amount_received: 6000,
+ },
+ },
+ },
+ PartialCapture: {
+ Request: {
+ amount_to_capture: 2000,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "partially_captured",
+ amount: 6000,
+ amount_capturable: 0,
+ amount_received: 2000,
+ },
+ },
+ },
+ VoidAfterConfirm: {
+ Request: {},
+ Response: {
+ status: 200,
+ body: {
+ status: "cancelled",
+ },
+ },
+ },
+ Refund: {
+ Request: {
+ amount: 6000,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ PartialRefund: {
+ Request: {
+ amount: 2000,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ manualPaymentRefund: {
+ Request: {
+ amount: 6000,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ manualPaymentPartialRefund: {
+ Request: {
+ amount: 2000,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ SyncRefund: {
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ MandateSingleUse3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: singleUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ MandateSingleUse3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: singleUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ MandateSingleUseNo3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: singleUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ MandateSingleUseNo3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: singleUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_capture",
+ },
+ },
+ },
+ MandateMultiUseNo3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: multiUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ MandateMultiUseNo3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: multiUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_capture",
+ },
+ },
+ },
+ MandateMultiUse3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: multiUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ MandateMultiUse3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: multiUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ MITAutoCapture: getCustomExchange({
+ //MIT is not implemented for Nexinets
+ Request: {
+ currency: "EUR",
+ billing: germanBillingAddress,
+ },
+ }),
+ MITManualCapture: getCustomExchange({
+ //MIT is not implemented for Nexinets
+ Request: {
+ currency: "EUR",
+ billing: germanBillingAddress,
+ },
+ }),
+ MITWithoutBillingAddress: getCustomExchange({
+ //MIT is not implemented for Nexinets
+ Request: {
+ billing: null,
+ currency: "EUR",
+ },
+ }),
+ ZeroAuthMandate: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: singleUseMandateData,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 501,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "Setup Mandate flow for Nexinets is not implemented",
+ code: "IR_00",
+ },
+ },
+ },
+ },
+ ZeroAuthPaymentIntent: {
+ Request: {
+ amount: 0,
+ setup_future_usage: "off_session",
+ currency: "EUR",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ setup_future_usage: "off_session",
+ },
+ },
+ },
+ ZeroAuthConfirmPayment: {
+ Request: {
+ payment_type: "setup_mandate",
+ payment_method: "card",
+ payment_method_type: "credit",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 501,
+ body: {
+ error: {
+ type: "invalid_request",
+ message: "Setup Mandate flow for Nexinets is not implemented",
+ code: "IR_00",
+ },
+ },
+ },
+ },
+ SaveCardUseNo3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ setup_future_usage: "on_session",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ SaveCardUseNo3DSAutoCaptureOffSession: {
+ Request: {
+ payment_method: "card",
+ payment_method_type: "debit",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ setup_future_usage: "off_session",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ SaveCardUse3DSAutoCaptureOffSession: {
+ Request: {
+ payment_method: "card",
+ payment_method_type: "debit",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ setup_future_usage: "off_session",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ SaveCardUseNo3DSManualCaptureOffSession: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ setup_future_usage: "off_session",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_capture",
+ },
+ },
+ },
+ SaveCardConfirmAutoCaptureOffSession: getCustomExchange({
+ //MIT is not implemented for Nexinets
+ Request: {
+ setup_future_usage: "off_session",
+ currency: "EUR",
+ billing: germanBillingAddress,
+ },
+ }),
+ SaveCardConfirmManualCaptureOffSession: getCustomExchange({
+ //MIT is not implemented for Nexinets
+ Request: {
+ setup_future_usage: "off_session",
+ currency: "EUR",
+ billing: germanBillingAddress,
+ },
+ }),
+ SaveCardConfirmAutoCaptureOffSessionWithoutBilling: getCustomExchange({
+ //MIT is not implemented for Nexinets
+ Request: {
+ setup_future_usage: "off_session",
+ currency: "EUR",
+ billing: germanBillingAddress,
+ },
+ }),
+ SaveCardUseNo3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ setup_future_usage: "on_session",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_capture",
+ },
+ },
+ },
+ PaymentMethodIdMandateNo3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: null,
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "succeeded",
+ },
+ },
+ },
+ PaymentMethodIdMandateNo3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulNo3DSCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: null,
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_capture",
+ },
+ },
+ },
+ PaymentMethodIdMandate3DSAutoCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: null,
+ authentication_type: "three_ds",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ PaymentMethodIdMandate3DSManualCapture: {
+ Request: {
+ payment_method: "card",
+ payment_method_data: {
+ card: successfulThreeDSTestCardDetails,
+ },
+ currency: "EUR",
+ mandate_data: null,
+ authentication_type: "three_ds",
+ customer_acceptance: customerAcceptance,
+ billing: germanBillingAddress,
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ PaymentWithoutBilling: {
+ Request: {
+ currency: "EUR",
+ customer_acceptance: null,
+ setup_future_usage: "on_session",
+ authentication_type: "no_three_ds",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ },
+ PaymentWithBilling: {
+ Request: {
+ currency: "EUR",
+ setup_future_usage: "on_session",
+ billing: germanBillingAddress,
+ email: "[email protected]",
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ },
+ PaymentWithFullName: {
+ Request: {
+ currency: "EUR",
+ setup_future_usage: "on_session",
+ billing: {
+ address: {
+ first_name: "joseph",
+ last_name: "Doe",
+ },
+ phone: {
+ number: "9111222333",
+ country_code: "+91",
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ },
+ PaymentWithBillingEmail: {
+ Request: {
+ currency: "EUR",
+ setup_future_usage: "on_session",
+ email: "[email protected]",
+ billing: {
+ address: {
+ first_name: "joseph",
+ last_name: "Doe",
+ },
+ phone: {
+ number: "9111222333",
+ country_code: "+91",
+ },
+ email: "[email protected]",
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_payment_method",
+ },
+ },
+ },
+ },
+ bank_redirect_pm: {
+ Ideal: {
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "ideal",
+ payment_method_data: {
+ bank_redirect: {
+ ideal: {
+ bank_name: "ing",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "Amsterdam",
+ state: "North Holland",
+ zip: "1000",
+ country: "NL",
+ first_name: "john",
+ last_name: "doe",
+ },
+ phone: {
+ number: "9123456789",
+ country_code: "+31",
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ Eps: {
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "eps",
+ payment_method_data: {
+ bank_redirect: {
+ eps: {
+ bank_name: "ing",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "Vienna",
+ state: "Vienna",
+ zip: "1010",
+ country: "AT",
+ first_name: "john",
+ last_name: "doe",
+ },
+ phone: {
+ number: "9123456789",
+ country_code: "+43",
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "failed",
+ error_code: "12000",
+ error_message:
+ "reason : Error while creating order. , message : No service provider found for the specified product!",
+ },
+ },
+ },
+ Giropay: {
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "giropay",
+ payment_method_data: {
+ bank_redirect: {
+ giropay: {},
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "Berlin",
+ state: "Berlin",
+ zip: "10115",
+ country: "DE",
+ first_name: "john",
+ last_name: "doe",
+ },
+ phone: {
+ number: "9123456789",
+ country_code: "+49",
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ },
+ Sofort: {
+ Request: {
+ payment_method: "bank_redirect",
+ payment_method_type: "sofort",
+ payment_method_data: {
+ bank_redirect: {
+ sofort: {
+ country: "DE",
+ },
+ },
+ },
+ billing: {
+ address: {
+ line1: "1467",
+ line2: "Harrison Street",
+ line3: "Harrison Street",
+ city: "Berlin",
+ state: "Berlin",
+ zip: "10115",
+ country: "DE",
+ first_name: "john",
+ last_name: "doe",
+ },
+ phone: {
+ number: "9123456789",
+ country_code: "+49",
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "failed",
+ error_code: "12000",
+ error_message:
+ "reason : Error while creating order. , message : No service provider found for the specified product!",
+ },
+ },
+ },
+ },
+};
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.js
index 4adac28ba9..4da45cc512 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js
@@ -31,6 +31,7 @@ import { connectorDetails as itaubankConnectorDetails } from "./ItauBank.js";
import { connectorDetails as jpmorganConnectorDetails } from "./Jpmorgan.js";
import { connectorDetails as monerisConnectorDetails } from "./Moneris.js";
import { connectorDetails as multisafepayConnectorDetails } from "./Multisafepay.js";
+import { connectorDetails as nexinetsConnectorDetails } from "./Nexinets.js";
import { connectorDetails as nexixpayConnectorDetails } from "./Nexixpay.js";
import { connectorDetails as nmiConnectorDetails } from "./Nmi.js";
import { connectorDetails as noonConnectorDetails } from "./Noon.js";
@@ -39,8 +40,8 @@ import { connectorDetails as payboxConnectorDetails } from "./Paybox.js";
import { connectorDetails as paypalConnectorDetails } from "./Paypal.js";
import { connectorDetails as powertranzConnectorDetails } from "./PowerTranz.js";
import { connectorDetails as redsysConnectorDetails } from "./Redsys.js";
-import { connectorDetails as staxConnectorDetails } from "./Stax.js";
import { connectorDetails as shift4ConnectorDetails } from "./Shift4.js";
+import { connectorDetails as staxConnectorDetails } from "./Stax.js";
import { connectorDetails as stripeConnectorDetails } from "./Stripe.js";
import { connectorDetails as trustpayConnectorDetails } from "./Trustpay.js";
import { connectorDetails as wellsfargoConnectorDetails } from "./WellsFargo.js";
@@ -78,6 +79,7 @@ const connectorDetails = {
jpmorgan: jpmorganConnectorDetails,
moneris: monerisConnectorDetails,
multisafepay: multisafepayConnectorDetails,
+ nexinets: nexinetsConnectorDetails,
nexixpay: nexixpayConnectorDetails,
nmi: nmiConnectorDetails,
noon: noonConnectorDetails,
@@ -361,6 +363,7 @@ export const CONNECTOR_LISTS = {
"fiuu",
"fiserv",
"jpmorgan",
+ "nexinets",
"paypal",
"stax",
],
diff --git a/cypress-tests/cypress/support/redirectionHandler.js b/cypress-tests/cypress/support/redirectionHandler.js
index 4832729ee6..9771880329 100644
--- a/cypress-tests/cypress/support/redirectionHandler.js
+++ b/cypress-tests/cypress/support/redirectionHandler.js
@@ -386,6 +386,24 @@ function bankRedirectRedirection(
}
verifyUrl = false;
break;
+
+ case "nexinets":
+ switch (paymentMethodType) {
+ case "ideal":
+ // Nexinets iDEAL specific selector - click the Success link
+ cy.get("a.btn.btn-primary.btn-block")
+ .contains("Success")
+ .click();
+
+ verifyUrl = true;
+ break;
+ default:
+ throw new Error(
+ `Unsupported Nexinets payment method type: ${paymentMethodType}`
+ );
+ }
+ break;
+
default:
throw new Error(
`Unsupported connector in handleFlow: ${connectorId}`
@@ -701,6 +719,12 @@ function threeDsRedirection(redirectionUrl, expectedUrl, connectorId) {
});
break;
+ case "nexinets":
+ cy.wait(constants.TIMEOUT / 10); // Wait for the page to load
+ // Nexinets iDEAL specific selector - click the Success link
+ cy.get("a.btn.btn-primary.btn-block").contains("Success").click();
+
+ break;
case "nmi":
case "noon":
case "xendit":