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

test(cypress): add novalnet Paypal wallet Mandate coverage (#13067)

HS-QUALIBOT51624c8ea02f
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js b/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js
index 6461c18c06..d639e79f47 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js
@@ -72,6 +72,15 @@ const billingAddress = {
},
};
+const paypalMandateCustomerAcceptance = {
+ acceptance_type: "online",
+ accepted_at: "2026-06-29T12:00:00Z",
+ online: {
+ ip_address: "192.168.1.1",
+ user_agent: "Mozilla/5.0",
+ },
+};
+
export const connectorDetails = {
card_pm: {
PaymentIntent: {
@@ -841,6 +850,35 @@ export const connectorDetails = {
},
},
}),
+ PaypalRedirectMandateCIT: getCustomExchange({
+ Request: {
+ payment_method: "wallet",
+ payment_method_type: "paypal",
+ authentication_type: "no_three_ds",
+ billing: billingAddress,
+ payment_method_data: {
+ wallet: {
+ paypal_redirect: {},
+ },
+ },
+ setup_future_usage: "off_session",
+ mandate_data: {
+ customer_acceptance: paypalMandateCustomerAcceptance,
+ mandate_type: {
+ single_use: {
+ amount: 6000,
+ currency: "EUR",
+ },
+ },
+ },
+ },
+ Response: {
+ status: 200,
+ body: {
+ status: "requires_customer_action",
+ },
+ },
+ }),
},
webhook: {
TransactionIdConfig: {
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.js
index 2ca093a96d..d7b771be1c 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js
@@ -564,7 +564,7 @@ export const CONNECTOR_LISTS = {
MBWAY_WALLET: ["multisafepay"],
SKRILL_WALLET: ["paysafe"],
PAYSAFECARD_GIFT_CARD: ["paysafe"],
- PAYPAL_MANDATE: ["globalpay", "paypal"],
+ PAYPAL_MANDATE: ["globalpay", "novalnet", "paypal"],
PAYPAL_WALLET_MANDATE: ["adyen"],
KAKAO_PAY_WALLET_MANDATE: ["adyen"],
GCASH_WALLET_MANDATE: ["adyen"],