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

refactor(connector): rename field in required field for Loonio and Gigadat (#10516)

Swangi Kumari51705b7b5836
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs
index 2c74d61d4f..90ab3703c2 100644
--- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs
+++ b/crates/payment_methods/src/configs/payment_connector_required_fields.rs
@@ -2355,8 +2355,14 @@ fn get_bank_redirect_required_fields(
vec![],
vec![
RequiredField::BillingEmail,
- RequiredField::BillingUserFirstName,
- RequiredField::BillingUserLastName,
+ RequiredField::BillingFirstName(
+ "billing_first_name",
+ FieldType::UserBillingName,
+ ),
+ RequiredField::BillingLastName(
+ "billing_last_name",
+ FieldType::UserBillingName,
+ ),
RequiredField::BillingPhone,
RequiredField::BillingPhoneCountryCode,
],
@@ -2369,8 +2375,14 @@ fn get_bank_redirect_required_fields(
vec![],
vec![
RequiredField::BillingEmail,
- RequiredField::BillingUserFirstName,
- RequiredField::BillingUserLastName,
+ RequiredField::BillingFirstName(
+ "billing_first_name",
+ FieldType::UserBillingName,
+ ),
+ RequiredField::BillingLastName(
+ "billing_last_name",
+ FieldType::UserBillingName,
+ ),
],
vec![],
),