Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(pm_list): [Trustpay]Update dynamic fields for trustpay blik (#3042)

Prasunna Soppa9274cefbdd29
diff --git a/crates/router/src/configs/defaults.rs b/crates/router/src/configs/defaults.rs
index db29e81800..d529ae034a 100644
--- a/crates/router/src/configs/defaults.rs
+++ b/crates/router/src/configs/defaults.rs
@@ -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 {
@@ -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,
}
@@ -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,
}