mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(connector): fix required fields for mandates supported connectors (#6930)
Co-authored-by: Debarshi Gupta <debarshi.gupta@Debarshi-Gupta-CM92YWDXFD.local>
This commit is contained in:
@ -426,7 +426,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(),
|
||||
@ -542,7 +543,6 @@ impl Default for settings::RequiredFields {
|
||||
),
|
||||
]
|
||||
),
|
||||
common: HashMap::new(),
|
||||
}
|
||||
),
|
||||
(
|
||||
@ -9173,7 +9173,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(),
|
||||
@ -9320,7 +9321,6 @@ impl Default for settings::RequiredFields {
|
||||
),
|
||||
]
|
||||
),
|
||||
common: HashMap::new(),
|
||||
}
|
||||
),
|
||||
|
||||
@ -9600,7 +9600,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 {
|
||||
@ -9676,8 +9678,8 @@ impl Default for settings::RequiredFields {
|
||||
field_type: enums::FieldType::UserAddressLine2,
|
||||
value: None,
|
||||
}
|
||||
)]),
|
||||
common: HashMap::new(),
|
||||
)]
|
||||
),
|
||||
}
|
||||
),
|
||||
(
|
||||
@ -9803,7 +9805,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(),
|
||||
@ -9950,7 +9953,6 @@ impl Default for settings::RequiredFields {
|
||||
),
|
||||
]
|
||||
),
|
||||
common: HashMap::new(),
|
||||
}
|
||||
),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user