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): Enable manual retry tests for other connectors (#11265)
likhinbopanna3ed036ddf64d
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Adyen.js b/cypress-tests/cypress/e2e/configs/Payment/Adyen.jsindex 34e5ab5a19..b0ac112637 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Adyen.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Adyen.js@@ -687,6 +687,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},bank_transfer_pm: {Pix: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Airwallex.js b/cypress-tests/cypress/e2e/configs/Payment/Airwallex.jsindex c21fb72ea3..a7a579e1b0 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Airwallex.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Airwallex.js@@ -786,6 +786,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},bank_redirect_pm: {Trustly: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.js b/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.jsindex a45584c2ad..6f33bfa0a8 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.js@@ -54,6 +54,20 @@ const paymentMethodData = {billing: null,};+const billingAddress = {+ address: {+ line1: "1467",+ line2: "Harrison Street",+ line3: "Harrison Street",+ city: "San Fransico",+ state: "California",+ zip: "94122",+ country: "US",+ first_name: "PiX",+ last_name: "ss",+ },+};+export const connectorDetails = {card_pm: {PaymentIntent: {@@ -211,13 +225,28 @@ export const connectorDetails = {card: failedNo3DSCardDetails,},customer_acceptance: null,+ billing: {+ address: {+ line1: "1467",+ line2: "Harrison Street",+ line3: "Harrison Street",+ city: "San Fransico",+ state: "California",+ zip: "46282",+ country: "US",+ first_name: "PiX",+ last_name: "ss",+ },+ },setup_future_usage: "on_session",email: generateRandomEmail(),},Response: {status: 200,body: {- status: "succeeded", // No Test card for failed payment in Authorizedotnet+ status: "failed",+ error_code: "2",+ error_message: "This transaction has been declined.",},},},@@ -745,6 +774,67 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billingAddress,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billingAddress,+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},webhook: {TransactionIdConfig: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js b/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.jsindex 07eff80169..a9d82aa9cc 100644--- a/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js+++ b/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js@@ -17,6 +17,24 @@ const successfulThreeDSTestCardDetails = {card_cvc: "123",};+const billing_with_newline = {+ address: {+ line1: "1467",+ line2: "Harrison Street\nApt 101",+ line3: "Harrison Street\nApt 101",+ city: "San Fransico\n city",+ state: "California",+ zip: "94122",+ country: "NL",+ first_name: "joseph",+ last_name: "Doe",+ },+ phone: {+ number: "9123456789",+ country_code: "+91",+ },+};+const singleUseMandateData = {customer_acceptance: customerAcceptance,mandate_type: {@@ -575,6 +593,161 @@ export const connectorDetails = {customer_acceptance: customerAcceptance,},}),+ No3DSFailPayment: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ billing: {+ address: {+ city: "sakilmostak",+ country: "US",+ line1: "here",+ line2: "there",+ line3: "anywhere",+ zip: "560090",+ state: "Washingtonr",+ first_name: "One",+ last_name: "Two",+ },+ phone: {+ number: "1234567890",+ country_code: "+1",+ },+ email: "[email protected]",+ },+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billing_with_newline,+ },+ Response: {+ status: 200,+ body: {+ status: "failed",+ error_message:+ "Declined - One or more fields in the request contains invalid data, detailed_error_information: orderInformation.billTo.administrativeArea : INVALID_DATA",+ attempt_count: 1,+ },+ },+ },+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ billing: {+ address: {+ city: "sakilmostak",+ country: "US",+ line1: "here",+ line2: "there",+ line3: "anywhere",+ zip: "560090",+ state: "Washingtonr",+ first_name: "One",+ last_name: "Two",+ },+ phone: {+ number: "1234567890",+ country_code: "+1",+ },+ email: "[email protected]",+ },+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billing_with_newline,+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ billing: {+ address: {+ city: "sakilmostak",+ country: "US",+ line1: "here",+ line2: "there",+ line3: "anywhere",+ zip: "560090",+ state: "Washington",+ first_name: "One",+ last_name: "Two",+ },+ phone: {+ number: "1234567890",+ country_code: "+1",+ },+ email: "[email protected]",+ },+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billing_with_newline,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ billing: {+ address: {+ city: "sakilmostak",+ country: "US",+ line1: "here",+ line2: "there",+ line3: "anywhere",+ zip: "560090",+ state: "Washington",+ first_name: "One",+ last_name: "Two",+ },+ phone: {+ number: "1234567890",+ country_code: "+1",+ },+ email: "[email protected]",+ },+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billing_with_newline,+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},pm_list: {PmListResponse: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Datatrans.js b/cypress-tests/cypress/e2e/configs/Payment/Datatrans.jsindex ec34fbc058..9b562522e9 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Datatrans.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Datatrans.js@@ -46,10 +46,10 @@ const multiUseMandateData = {const paymentMethodData3Ds = {card: {last4: "1111",- card_type: "DEBIT",+ card_type: "CREDIT",card_network: "Visa",- card_issuer: "Conotoxia Sp Z Oo",- card_issuing_country: "POLAND",+ card_issuer: "JP Morgan",+ card_issuing_country: "INDIA",card_isin: "411111",card_extended_bin: null,card_exp_month: "06",@@ -57,7 +57,6 @@ const paymentMethodData3Ds = {card_holder_name: "joseph Doe",payment_checks: null,authentication_data: null,- auth_code: null,},billing: null,};@@ -68,7 +67,7 @@ const paymentMethodDataNo3Ds = {card_type: "CREDIT",card_network: "Visa",card_issuer: "Intl Hdqtrs Center Owned",- card_issuing_country: "UNITEDSTATES",+ card_issuing_country: "UNITED STATES OF AMERICA",card_isin: "400000",card_extended_bin: null,card_exp_month: "06",@@ -577,6 +576,7 @@ export const connectorDetails = {},customer_acceptance: null,setup_future_usage: "on_session",+ billing: billingWithNewline,},Response: {status: 200,@@ -676,5 +676,67 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billingWithNewline,+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billingWithNewline,+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ billing: billingWithNewline,+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},};diff --git a/cypress-tests/cypress/e2e/configs/Payment/Finix.js b/cypress-tests/cypress/e2e/configs/Payment/Finix.jsindex 7ccc89803e..c0463b56a6 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Finix.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Finix.js@@ -636,6 +636,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},pm_list: {PmListResponse: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Fiuu.js b/cypress-tests/cypress/e2e/configs/Payment/Fiuu.jsindex a9e245f538..8a9f5b9e3e 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Fiuu.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Fiuu.js@@ -902,6 +902,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},pm_list: {PmListResponse: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Globalpay.js b/cypress-tests/cypress/e2e/configs/Payment/Globalpay.jsindex f0ac7d481a..90ae72322f 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Globalpay.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Globalpay.js@@ -825,6 +825,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},pm_list: {PmListResponse: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Nexinets.js b/cypress-tests/cypress/e2e/configs/Payment/Nexinets.jsindex 126153f2c3..5599316259 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Nexinets.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Nexinets.js@@ -210,7 +210,7 @@ export const connectorDetails = {status: "failed",error_code: "12000",error_message:- "reason : Error while creating order. , message : There was an error during communication with Bindb",+ "reason : Error while creating order. , message : Could not process request",unified_code: "UE_9000",unified_message: "Something went wrong",},@@ -782,6 +782,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},bank_redirect_pm: {Ideal: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/PowerTranz.js b/cypress-tests/cypress/e2e/configs/Payment/PowerTranz.jsindex 6f150d3623..b3267a166a 100644--- a/cypress-tests/cypress/e2e/configs/Payment/PowerTranz.js+++ b/cypress-tests/cypress/e2e/configs/Payment/PowerTranz.js@@ -778,5 +778,64 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},};diff --git a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js b/cypress-tests/cypress/e2e/configs/Payment/Stripe.jsindex f5670a0035..5f20853eef 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Stripe.js@@ -813,6 +813,65 @@ export const connectorDetails = {},},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNo3DSCardDetails,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},bank_transfer_pm: {Ach: {diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.jsindex 9553590d75..155c4828f3 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js@@ -444,7 +444,23 @@ export const CONNECTOR_LISTS = {// ucs connectorsUCS_CONNECTORS: ["authorizedotnet"],OVERCAPTURE: ["adyen"],- MANUAL_RETRY: ["cybersource"],+ MANUAL_RETRY: [+ "cybersource",+ "stripe",+ "adyen",+ "airwallex",+ "authorizedotnet",+ "bankofamerica",+ "datatrans",+ "finix",+ "fiuu",+ "globalpay",+ "nexinets",+ "powertranz",+ "shift4",+ "worldpay",+ "worldpayvantiv",+ ],PAYMENTS_WEBHOOK: ["noon", "stripe", "authorizedotnet"],// Add more inclusion lists},diff --git a/cypress-tests/cypress/e2e/configs/Payment/WorldPay.js b/cypress-tests/cypress/e2e/configs/Payment/WorldPay.jsindex 960126d9aa..747515e2a4 100644--- a/cypress-tests/cypress/e2e/configs/Payment/WorldPay.js+++ b/cypress-tests/cypress/e2e/configs/Payment/WorldPay.js@@ -853,6 +853,65 @@ export const connectorDetails = {`,},},+ ManualRetryPaymentDisabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNoThreeDsCardDetailsRequest,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment because it has status failed, you can enable `manual_retry` in profile to try this payment again",+ code: "IR_16",+ },+ },+ },+ ManualRetryPaymentEnabled: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNoThreeDsCardDetailsRequest,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded",+ payment_method: "card",+ attempt_count: 2,+ },+ },+ },+ ManualRetryPaymentCutoffExpired: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: successfulNoThreeDsCardDetailsRequest,+ },+ currency: "USD",+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 400,+ body: {+ type: "invalid_request",+ message:+ "You cannot confirm this payment using `manual_retry` because the allowed duration has expired",+ code: "IR_16",+ },+ },+ },},pm_list: {PmListResponse: {