Skip to content

Commit 1ebd494

Browse files
srujanchikkeChikke Srujan
and
Chikke Srujan
authored
fix(connector): [Cybersource] fix the required fields for wallet mandate payments (#6921)
Co-authored-by: Chikke Srujan <[email protected]>
1 parent 2606083 commit 1ebd494

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

crates/router/src/configs/defaults/payment_connector_required_fields.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -8142,7 +8142,8 @@ impl Default for settings::RequiredFields {
81428142
enums::Connector::Bankofamerica,
81438143
RequiredFieldFinal {
81448144
mandate: HashMap::new(),
8145-
non_mandate: HashMap::from(
8145+
non_mandate: HashMap::new(),
8146+
common: HashMap::from(
81468147
[
81478148
(
81488149
"email".to_string(),
@@ -8222,14 +8223,14 @@ impl Default for settings::RequiredFields {
82228223
)
82238224
]
82248225
),
8225-
common: HashMap::new(),
82268226
}
82278227
),
82288228
(
82298229
enums::Connector::Cybersource,
82308230
RequiredFieldFinal {
82318231
mandate: HashMap::new(),
8232-
non_mandate: HashMap::from(
8232+
non_mandate: HashMap::new(),
8233+
common: HashMap::from(
82338234
[
82348235
(
82358236
"billing.email".to_string(),
@@ -8309,7 +8310,6 @@ impl Default for settings::RequiredFields {
83098310
)
83108311
]
83118312
),
8312-
common: HashMap::new(),
83138313
}
83148314
),
83158315
(
@@ -8524,7 +8524,8 @@ impl Default for settings::RequiredFields {
85248524
enums::Connector::Bankofamerica,
85258525
RequiredFieldFinal {
85268526
mandate: HashMap::new(),
8527-
non_mandate: HashMap::from(
8527+
non_mandate: HashMap::new(),
8528+
common: HashMap::from(
85288529
[
85298530
(
85308531
"email".to_string(),
@@ -8604,7 +8605,6 @@ impl Default for settings::RequiredFields {
86048605
)
86058606
]
86068607
),
8607-
common: HashMap::new(),
86088608
}
86098609
),
86108610
(
@@ -8789,7 +8789,8 @@ impl Default for settings::RequiredFields {
87898789
enums::Connector::Cybersource,
87908790
RequiredFieldFinal {
87918791
mandate: HashMap::new(),
8792-
non_mandate: HashMap::from(
8792+
non_mandate: HashMap::new(),
8793+
common: HashMap::from(
87938794
[
87948795
(
87958796
"billing.email".to_string(),
@@ -8869,7 +8870,6 @@ impl Default for settings::RequiredFields {
88698870
)
88708871
]
88718872
),
8872-
common: HashMap::new(),
88738873
}
88748874
),
88758875
(

0 commit comments

Comments
 (0)