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): [Mifinity]dynamic fields for mifinity (#5056)

Swangi Kumari6f58b4efbd11
diff --git a/crates/router/src/configs/defaults.rs b/crates/router/src/configs/defaults.rs
index 02ba8c8bd0..35bfbc88f6 100644
--- a/crates/router/src/configs/defaults.rs
+++ b/crates/router/src/configs/defaults.rs
@@ -8117,18 +8117,18 @@ impl Default for super::settings::RequiredFields {
}
),
(
- "billing.first_name".to_string(),
+ "billing.address.first_name".to_string(),
RequiredFieldInfo {
- required_field: "payment_method_data.billing.first_name".to_string(),
+ required_field: "payment_method_data.billing.address.first_name".to_string(),
display_name: "first_name".to_string(),
field_type: enums::FieldType::UserFullName,
value: None,
}
),
(
- "billing.last_name".to_string(),
+ "billing.address.last_name".to_string(),
RequiredFieldInfo {
- required_field: "payment_method_data.billing.last_name".to_string(),
+ required_field: "payment_method_data.billing.address.last_name".to_string(),
display_name: "last_name".to_string(),
field_type: enums::FieldType::UserFullName,
value: None,
@@ -8153,9 +8153,9 @@ impl Default for super::settings::RequiredFields {
}
),
(
- "billing.country".to_string(),
+ "billing.address.country".to_string(),
RequiredFieldInfo {
- required_field: "payment_method_data.billing.country".to_string(),
+ required_field: "payment_method_data.billing.address.country".to_string(),
display_name: "nationality".to_string(),
field_type: enums::FieldType::UserCountry{
options: vec![