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 the connector cypress test (#12047)
Gnanasundari24af75bcf6d068
diff --git a/.github/data/cards_info.csv b/.github/data/cards_info.csvindex 6788b8363a..623434389e 100644--- a/.github/data/cards_info.csv+++ b/.github/data/cards_info.csv@@ -1,8 +1,8 @@card_iin,card_issuer,card_network,card_type,card_subtype,card_issuing_country,bank_code_id,bank_code,country_code,date_created,last_updated,last_updated_provider111122,,Visa,DEBIT,,,,,,2017-06-18 10:00:39,2025-11-04 15:23:24,-400000,Intl Hdqtrs Center Owned,Visa,CREDIT,,UNITED STATES OF AMERICA,,,US,2015-08-04 08:50:42,2026-01-13 09:58:15,pagos+400000,INTL HDQTRS CENTER OWNED,Visa,CREDIT,,UNITED STATES OF AMERICA,,,US,2015-08-04 08:50:42,2026-01-13 09:58:15,pagos401200,VISA PRODUCTION SUPPORT CLIENT BID 1,Visa,DEBIT,CLASSIC,UNITEDSTATES,,,US,2015-07-27 12:04:10,2025-11-04 15:23:24,Visa-411111,Conotoxia Sp Z Oo,Visa,DEBIT,,POLAND,131,JP_JPM,PL,2015-07-22 23:36:35,2026-01-13 09:33:48,pagos+411111,CONOTOXIA SP Z O.O.,Visa,DEBIT,,POLAND,131,JP_JPM,PL,2015-07-22 23:36:35,2026-01-13 09:33:48,pagos420000,JP Morgan,Visa,CREDIT,,UNITEDSTATES,131,JP_JPM,US,2016-05-12 18:37:38,2025-11-04 15:23:24,424242,STRIPE PAYMENTS UK LIMITED,Visa,CREDIT,,UNITEDKINGDOM,,,GB,2015-07-22 16:41:32,2025-11-04 15:23:24,Visa434994,INTESA SANPAOLO S.P.A.,Visa,CREDIT,CLASSIC,ITALY,,,IT,2015-12-30 17:01:46,2025-11-04 15:23:24,Visa@@ -11,7 +11,7 @@ card_iin,card_issuer,card_network,card_type,card_subtype,card_issuing_country,ba491761,BANKPOLSKAKASAOPIEKIS.A.(BANKPEKAOSA),Visa,CREDIT,BUSINESS,POLAND,,,PL,2015-09-07 12:58:50,2025-11-04 15:23:24,510510,BANKOFHAWAII,Mastercard,CREDIT,,UNITEDSTATES,,,US,2015-07-30 05:18:28,2025-11-04 15:23:24,520474,MASTERCARD INTERNATIONAL,Visa,DEBIT,,UNITEDSTATES,,,US,2016-05-12 18:51:16,2025-11-04 15:23:24,Visa-378282,American Express US Cars,AmericanExpress,CREDIT,SMALLCORPORATE,UNITED STATES OF AMERICA,107,JP_AMEX,US,2015-07-25 06:22:06,2026-01-13 11:36:56,pagos+378282,AMERICAN EXPRESS US CARS,AmericanExpress,CREDIT,SMALLCORPORATE,UNITED STATES OF AMERICA,107,JP_AMEX,US,2015-07-25 06:22:06,2026-01-13 11:36:56,pagos400934,PT BANK HSBC INDONESIA,Visa,CREDIT,CORPORATET&E,INDONESIA,125,JP_HSBC,ID,2016-05-12 18:34:51,2022-12-12 13:15:35,Visa372688,American Express US Consumer,AmericanExpress,CREDIT,,UNITED STATES OF AMERICA,107,JP_AMEX,US,2016-05-12 18:30:42,2026-01-13 11:35:27.20,pagos453211,Banco Bradesco SA,Visa,CREDIT,PREMIER,BRAZIL,,,BR,2015-11-05 16:41:53,2026-01-13 09:14:24.35,pagosdiff --git a/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.js b/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.jsindex 6f33bfa0a8..033799d5a6 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Authorizedotnet.js@@ -37,7 +37,7 @@ const paymentMethodData = {last4: "1111",card_type: "DEBIT",card_network: "Visa",- card_issuer: "Conotoxia Sp Z Oo",+ card_issuer: "CONOTOXIA SP Z O.O.",card_issuing_country: "POLAND",card_isin: "411111",card_extended_bin: null,diff --git a/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js b/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.jsindex a9d82aa9cc..fd65a0fbd4 100644--- a/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js+++ b/cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js@@ -887,7 +887,7 @@ export const connectorDetails = {options: ["ALL"],},},- value: "PL",+ value: "US",},"payment_method_data.card.card_exp_year": {required_field: "payment_method_data.card.card_exp_year",diff --git a/cypress-tests/cypress/e2e/configs/Payment/Bluesnap.js b/cypress-tests/cypress/e2e/configs/Payment/Bluesnap.jsindex eb41b74685..d2ba148a36 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Bluesnap.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Bluesnap.js@@ -36,6 +36,14 @@ const multiUseMandateData = {},};+const failedNo3DSCardDetails = {+ card_number: "378282246310005",+ card_exp_month: "05",+ card_exp_year: "26",+ card_holder_name: "joseph Doe",+ card_cvc: "1234",+};+export const connectorDetails = {card_pm: {PaymentIntent: {@@ -258,6 +266,25 @@ export const connectorDetails = {},},},+ No3DSFailPayment: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: failedNo3DSCardDetails,+ },+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "failed",+ error_code: "14002",+ error_message:+ "Transaction failed because of payment processing failure.: DECLINE - Default BlueSnapTestProcessor [DECLINE] message",+ },+ },+ },SyncRefund: {Response: {status: 200,diff --git a/cypress-tests/cypress/e2e/configs/Payment/Braintree.js b/cypress-tests/cypress/e2e/configs/Payment/Braintree.jsindex 58fb1728c3..1c5fdd807a 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Braintree.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Braintree.js@@ -23,6 +23,14 @@ const singleUseMandateData = {},};+const failedNo3DSCardDetails = {+ card_number: "4000000000000002",+ card_exp_month: "01",+ card_exp_year: "35",+ card_holder_name: "joseph Doe",+ card_cvc: "200",+};+const multiUseMandateData = {customer_acceptance: customerAcceptance,mandate_type: {@@ -264,6 +272,22 @@ export const connectorDetails = {},},},+ No3DSFailPayment: {+ Request: {+ payment_method: "card",+ payment_method_data: {+ card: failedNo3DSCardDetails,+ },+ customer_acceptance: null,+ setup_future_usage: "on_session",+ },+ Response: {+ status: 200,+ body: {+ status: "succeeded", // Braintree returns succeeded status for all failure test cards+ },+ },+ },"3DSManualCapture": {Request: {payment_method: "card",@@ -392,7 +416,6 @@ export const connectorDetails = {status: 200,body: {status: "requires_capture",- payment_method_data: paymentMethodDataNo3DSResponse,},},},diff --git a/cypress-tests/cypress/e2e/configs/Payment/Cybersource.js b/cypress-tests/cypress/e2e/configs/Payment/Cybersource.jsindex b0d31b6c91..55d1cdf149 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Cybersource.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Cybersource.js@@ -70,7 +70,7 @@ const payment_method_data_3ds = {last4: "2701",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,diff --git a/cypress-tests/cypress/e2e/configs/Payment/Finix.js b/cypress-tests/cypress/e2e/configs/Payment/Finix.jsindex efb6a10834..200da8c94f 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Finix.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Finix.js@@ -42,7 +42,7 @@ const payment_method_data_no3ds = {last4: "1111",card_type: "DEBIT",card_network: "Visa",- card_issuer: "Conotoxia Sp Z Oo",+ card_issuer: "CONOTOXIA SP Z O.O.",card_issuing_country: "POLAND",card_isin: "411111",card_extended_bin: null,diff --git a/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js b/cypress-tests/cypress/e2e/configs/Payment/Novalnet.jsindex 885f41a86b..db9728fc33 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Novalnet.js@@ -112,6 +112,7 @@ export const connectorDetails = {},"3DSAutoCapture": {Request: {+ currency: "EUR",payment_method: "card",billing: billingAddress,payment_method_data: {@@ -129,6 +130,7 @@ export const connectorDetails = {},No3DSManualCapture: {Request: {+ currency: "EUR",payment_method: "card",payment_method_data: {card: successfulNo3DSCardDetails,diff --git a/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js b/cypress-tests/cypress/e2e/configs/Payment/Nuvei.jsindex 959dc9c296..99e5bd4822 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js@@ -1021,9 +1021,9 @@ export const connectorDetails = {Response: {status: 200,body: {- status: "requires_customer_action",- error_code: null,- error_message: null,+ status: "failed",+ error_code: "9999",+ error_message: "Default",},},},diff --git a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js b/cypress-tests/cypress/e2e/configs/Payment/Stripe.jsindex 46e5f9bc89..fd27756f9d 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Stripe.js@@ -62,7 +62,7 @@ const payment_method_data_3ds = {last4: "3155",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,@@ -81,7 +81,7 @@ const payment_method_data_no3ds = {last4: "0005",card_type: "CREDIT",card_network: "AmericanExpress",- card_issuer: "American Express US Cars",+ card_issuer: "AMERICAN EXPRESS US CARS",card_issuing_country: "UNITED STATES OF AMERICA",card_isin: "378282",card_extended_bin: null,diff --git a/cypress-tests/cypress/e2e/configs/Payment/Utils.js b/cypress-tests/cypress/e2e/configs/Payment/Utils.jsindex 29ece4c089..6bd1089f2d 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Utils.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Utils.js@@ -532,7 +532,6 @@ export const CONNECTOR_LISTS = {"globalpay","nexinets","nmi",- "nuvei","paypal","powertranz","shift4",diff --git a/cypress-tests/cypress/e2e/configs/Payment/Zift.js b/cypress-tests/cypress/e2e/configs/Payment/Zift.jsindex 80223d9b35..1d295b2ab5 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Zift.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Zift.js@@ -54,7 +54,7 @@ const payment_method_data_no3ds = {last4: "1111",card_type: "DEBIT",card_network: "Visa",- card_issuer: "Conotoxia Sp Z Oo",+ card_issuer: "CONOTOXIA SP Z O.O.",card_issuing_country: "POLAND",card_isin: "411111",card_extended_bin: null,