Skip to content

Commit

Permalink
fix(pm_list): [Trustpay]Update dynamic fields for trustpay blik (#3042)
Browse files Browse the repository at this point in the history
  • Loading branch information
prasunna09 authored Dec 4, 2023
1 parent 57591f8 commit 9274cef
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions crates/router/src/configs/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4293,24 +4293,6 @@ impl Default for super::settings::RequiredFields {
mandate: HashMap::new(),
non_mandate: HashMap::new(),
common: HashMap::from([
(
"billing.address.first_name".to_string(),
RequiredFieldInfo {
required_field: "billing.address.first_name".to_string(),
display_name: "billing_first_name".to_string(),
field_type: enums::FieldType::UserBillingName,
value: None,
}
),
(
"billing.address.last_name".to_string(),
RequiredFieldInfo {
required_field: "billing.address.last_name".to_string(),
display_name: "billing_last_name".to_string(),
field_type: enums::FieldType::UserBillingName,
value: None,
}
),
(
"email".to_string(),
RequiredFieldInfo {
Expand All @@ -4324,7 +4306,7 @@ impl Default for super::settings::RequiredFields {
"billing.address.first_name".to_string(),
RequiredFieldInfo {
required_field: "billing.address.first_name".to_string(),
display_name: "card_holder_name".to_string(),
display_name: "billing_first_name".to_string(),
field_type: enums::FieldType::UserBillingName,
value: None,
}
Expand All @@ -4333,7 +4315,7 @@ impl Default for super::settings::RequiredFields {
"billing.address.last_name".to_string(),
RequiredFieldInfo {
required_field: "billing.address.last_name".to_string(),
display_name: "card_holder_name".to_string(),
display_name: "billing_last_name".to_string(),
field_type: enums::FieldType::UserBillingName,
value: None,
}
Expand Down

0 comments on commit 9274cef

Please sign in to comment.