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

refactor(connector): [NMI] Add Zip code as mandatory field for 3DS (#3666)

Sakil Mostak1ddaee44df6e
diff --git a/crates/router/src/configs/defaults.rs b/crates/router/src/configs/defaults.rs
index cafaf8f2ab..e56acde78c 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(),