From 49130bcbe49eb7ea96d0192f581e35485680ac6c Mon Sep 17 00:00:00 2001 From: Sk Sakil Mostak Date: Thu, 15 Feb 2024 19:39:06 +0530 Subject: [PATCH] feat: add zip code as dynamic fields --- 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 71cd61ffa807..9d852d8105e2 100644 --- a/crates/router/src/configs/defaults.rs +++ b/crates/router/src/configs/defaults.rs @@ -1485,6 +1485,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(), @@ -3534,6 +3543,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(),