From 8a68cc7c6bd8f6f98fbe22a6940ef6b45f562874 Mon Sep 17 00:00:00 2001 From: Kashif Date: Tue, 22 Apr 2025 13:36:33 +0530 Subject: [PATCH] chore(dynamic-fields): remove billing details as required fields for Worldpay connector (#7853) --- .../payment_connector_required_fields.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs index 175b82192b..2f4fb7a801 100644 --- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs +++ b/crates/payment_methods/src/configs/payment_connector_required_fields.rs @@ -1450,23 +1450,6 @@ fn get_cards_required_fields() -> HashMap { RequiredField::CardNumber, RequiredField::CardExpMonth, RequiredField::CardExpYear, - RequiredField::BillingAddressLine1, - RequiredField::BillingAddressCountries(vec![ - "AF", "AU", "AW", "AZ", "BS", "BH", "BD", "BB", "BZ", "BM", "BT", "BO", - "BA", "BW", "BR", "BN", "BG", "BI", "KH", "CA", "CV", "KY", "CL", "CO", - "KM", "CD", "CR", "CZ", "DZ", "DK", "DJ", "ST", "DO", "EC", "EG", "SV", - "ER", "ET", "FK", "FJ", "GM", "GE", "GH", "GI", "GT", "GN", "GY", "HT", - "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", - "JP", "JO", "KZ", "KE", "KW", "LA", "LB", "LS", "LR", "LY", "LT", "MO", - "MK", "MG", "MW", "MY", "MV", "MR", "MU", "MX", "MD", "MN", "MA", "MZ", - "MM", "NA", "NZ", "NI", "NG", "KP", "NO", "AR", "PK", "PG", "PY", "PE", - "UY", "PH", "PL", "GB", "QA", "OM", "RO", "RU", "RW", "WS", "SG", "ST", - "ZA", "KR", "LK", "SH", "SD", "SR", "SZ", "SE", "CH", "SY", "TW", "TJ", - "TZ", "TH", "TT", "TN", "TR", "UG", "UA", "US", "UZ", "VU", "VE", "VN", - "ZM", "ZW", - ]), - RequiredField::BillingAddressCity, - RequiredField::BillingAddressZip, ], ), ),