mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +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,
|
enums::Connector::Bankofamerica,
|
||||||
RequiredFieldFinal {
|
RequiredFieldFinal {
|
||||||
mandate: HashMap::new(),
|
mandate: HashMap::new(),
|
||||||
non_mandate: HashMap::from(
|
non_mandate: HashMap::new(),
|
||||||
|
common: HashMap::from(
|
||||||
[
|
[
|
||||||
(
|
(
|
||||||
"payment_method_data.card.card_number".to_string(),
|
"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,
|
enums::Connector::Wellsfargo,
|
||||||
RequiredFieldFinal {
|
RequiredFieldFinal {
|
||||||
mandate: HashMap::new(),
|
mandate: HashMap::new(),
|
||||||
non_mandate: HashMap::from(
|
non_mandate: HashMap::new(),
|
||||||
|
common: HashMap::from(
|
||||||
[
|
[
|
||||||
(
|
(
|
||||||
"email".to_string(),
|
"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,
|
enums::Connector::Multisafepay,
|
||||||
RequiredFieldFinal {
|
RequiredFieldFinal {
|
||||||
mandate: HashMap::new(),
|
mandate: HashMap::new(),
|
||||||
non_mandate: HashMap::from([
|
non_mandate: HashMap::new(),
|
||||||
|
common: HashMap::from(
|
||||||
|
[
|
||||||
(
|
(
|
||||||
"billing.address.first_name".to_string(),
|
"billing.address.first_name".to_string(),
|
||||||
RequiredFieldInfo {
|
RequiredFieldInfo {
|
||||||
@ -9676,8 +9678,8 @@ impl Default for settings::RequiredFields {
|
|||||||
field_type: enums::FieldType::UserAddressLine2,
|
field_type: enums::FieldType::UserAddressLine2,
|
||||||
value: None,
|
value: None,
|
||||||
}
|
}
|
||||||
)]),
|
)]
|
||||||
common: HashMap::new(),
|
),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
@ -9803,7 +9805,8 @@ impl Default for settings::RequiredFields {
|
|||||||
enums::Connector::Wellsfargo,
|
enums::Connector::Wellsfargo,
|
||||||
RequiredFieldFinal {
|
RequiredFieldFinal {
|
||||||
mandate: HashMap::new(),
|
mandate: HashMap::new(),
|
||||||
non_mandate: HashMap::from(
|
non_mandate: HashMap::new(),
|
||||||
|
common: HashMap::from(
|
||||||
[
|
[
|
||||||
(
|
(
|
||||||
"email".to_string(),
|
"email".to_string(),
|
||||||
@ -9950,7 +9953,6 @@ impl Default for settings::RequiredFields {
|
|||||||
),
|
),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
common: HashMap::new(),
|
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
|
|||||||
Reference in New Issue
Block a user