From 1ddaee44df6eca0f1068f41f82c57f80511b436b Mon Sep 17 00:00:00 2001 From: Sakil Mostak <73734619+Sakilmostak@users.noreply.github.com> Date: Thu, 15 Feb 2024 21:53:03 +0530 Subject: [PATCH] refactor(connector): [NMI] Add Zip code as mandatory field for 3DS (#3666) --- crates/router/src/configs/defaults.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/crates/router/src/configs/defaults.rs b/crates/router/src/configs/defaults.rs index cafaf8f2abfa..e56acde78c2b 100644 --- a/crates/router/src/configs/defaults.rs +++ b/crates/router/src/configs/defaults.rs @@ -1499,6 +1499,15 @@ impl Default for super::settings::RequiredFields { value: None, } ), + ( + "billing.address.zip".to_string(), + RequiredFieldInfo { + required_field: "billing.address.zip".to_string(), + display_name: "billing_zip".to_string(), + field_type: enums::FieldType::UserAddressPincode, + value: None, + } + ), ] ), common: HashMap::new(), @@ -3548,6 +3557,15 @@ impl Default for super::settings::RequiredFields { value: None, } ), + ( + "billing.address.zip".to_string(), + RequiredFieldInfo { + required_field: "billing.address.zip".to_string(), + display_name: "billing_zip".to_string(), + field_type: enums::FieldType::UserAddressPincode, + value: None, + } + ), ] ), common: HashMap::new(),