diff --git a/crates/router/src/configs/defaults/payment_connector_required_fields.rs b/crates/router/src/configs/defaults/payment_connector_required_fields.rs index 1d2be85ba174..3885d7060d53 100644 --- a/crates/router/src/configs/defaults/payment_connector_required_fields.rs +++ b/crates/router/src/configs/defaults/payment_connector_required_fields.rs @@ -418,7 +418,8 @@ impl Default for settings::RequiredFields { enums::Connector::Bankofamerica, RequiredFieldFinal { mandate: HashMap::new(), - non_mandate: HashMap::from( + non_mandate: HashMap::new(), + common: HashMap::from( [ ( "payment_method_data.card.card_number".to_string(), @@ -534,7 +535,6 @@ impl Default for settings::RequiredFields { ), ] ), - common: HashMap::new(), } ), ( @@ -8733,7 +8733,8 @@ impl Default for settings::RequiredFields { enums::Connector::Wellsfargo, RequiredFieldFinal { mandate: HashMap::new(), - non_mandate: HashMap::from( + non_mandate: HashMap::new(), + common: HashMap::from( [ ( "email".to_string(), @@ -8880,7 +8881,6 @@ impl Default for settings::RequiredFields { ), ] ), - common: HashMap::new(), } ), @@ -9084,7 +9084,9 @@ impl Default for settings::RequiredFields { enums::Connector::Multisafepay, RequiredFieldFinal { mandate: HashMap::new(), - non_mandate: HashMap::from([ + non_mandate: HashMap::new(), + common: HashMap::from( + [ ( "billing.address.first_name".to_string(), RequiredFieldInfo { @@ -9160,8 +9162,8 @@ impl Default for settings::RequiredFields { field_type: enums::FieldType::UserAddressLine2, value: None, } - )]), - common: HashMap::new(), + )] + ), } ), ( @@ -9287,7 +9289,8 @@ impl Default for settings::RequiredFields { enums::Connector::Wellsfargo, RequiredFieldFinal { mandate: HashMap::new(), - non_mandate: HashMap::from( + non_mandate: HashMap::new(), + common: HashMap::from( [ ( "email".to_string(), @@ -9434,7 +9437,6 @@ impl Default for settings::RequiredFields { ), ] ), - common: HashMap::new(), } ), ]),