Skip to content

Commit

Permalink
add re field for stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayaFoiger committed Jan 18, 2024
1 parent ea7eb37 commit 9c0af54
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions crates/router/src/configs/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4953,8 +4953,26 @@ impl Default for super::settings::RequiredFields {
}
)
]),
non_mandate: HashMap::new(),
common: HashMap::new(),
non_mandate : HashMap::from([
("payment_method_data.bank_redirect.sofort.country".to_string(),
RequiredFieldInfo {
required_field: "payment_method_data.bank_redirect.sofort.country".to_string(),
display_name: "country".to_string(),
field_type: enums::FieldType::UserCountry {
options: vec![
"ES".to_string(),
"AT".to_string(),
"NL".to_string(),
"DE".to_string(),
"BE".to_string(),
]
},
value: None,
}
)]),
common: HashMap::new(

),
}
),
(
Expand Down

0 comments on commit 9c0af54

Please sign in to comment.