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): Revert Remove card holder name as required field for adyen (#10353)

Gnanasundari24496b3e03808b
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Adyen.js b/cypress-tests/cypress/e2e/configs/Payment/Adyen.js
index 250909f986..a02e58fb8c 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Adyen.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Adyen.js
@@ -933,6 +933,20 @@ export const connectorDetails = {
field_type: "user_card_cvc",
value: null,
},
+ "billing.address.first_name": {
+ required_field:
+ "payment_method_data.billing.address.first_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: null,
+ },
+ "billing.address.last_name": {
+ required_field:
+ "payment_method_data.billing.address.last_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: null,
+ },
},
},
],
@@ -976,6 +990,20 @@ export const connectorDetails = {
field_type: "user_card_expiry_year",
value: null,
},
+ "billing.address.first_name": {
+ required_field:
+ "payment_method_data.billing.address.first_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: "joseph",
+ },
+ "billing.address.last_name": {
+ required_field:
+ "payment_method_data.billing.address.last_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: "Doe",
+ },
},
},
],
@@ -994,7 +1022,22 @@ export const connectorDetails = {
eligible_connectors: ["adyen"],
},
],
- required_fields: {},
+ required_fields: {
+ "billing.address.last_name": {
+ required_field:
+ "payment_method_data.billing.address.last_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: "Doe",
+ },
+ "billing.address.first_name": {
+ required_field:
+ "payment_method_data.billing.address.first_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: "joseph",
+ },
+ },
},
],
},
@@ -1037,6 +1080,20 @@ export const connectorDetails = {
field_type: "user_card_expiry_year",
value: null,
},
+ "billing.address.first_name": {
+ required_field:
+ "payment_method_data.billing.address.first_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: "joseph",
+ },
+ "billing.address.last_name": {
+ required_field:
+ "payment_method_data.billing.address.last_name",
+ display_name: "card_holder_name",
+ field_type: "user_full_name",
+ value: "Doe",
+ },
},
},
],