chore(dynamic-fields): remove billing details as required fields for Worldpay connector (#7853)

This commit is contained in:
Kashif
2025-04-22 13:36:33 +05:30
committed by GitHub
parent 82bc46166b
commit 8a68cc7c6b

View File

@ -1450,23 +1450,6 @@ fn get_cards_required_fields() -> HashMap<Connector, RequiredFieldFinal> {
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,
],
),
),