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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor(dynamic_fields): rename fields like ach, bacs and becs for bank debit payment method (#6678)
AmeyWale-HSc2646d749c1e
diff --git a/crates/router/src/configs/defaults/payment_connector_required_fields.rs b/crates/router/src/configs/defaults/payment_connector_required_fields.rsindex d359335bf1..3e6675fd48 100644--- a/crates/router/src/configs/defaults/payment_connector_required_fields.rs+++ b/crates/router/src/configs/defaults/payment_connector_required_fields.rs@@ -11529,18 +11529,18 @@ impl Default for settings::RequiredFields {}),(- "payment_method_data.bank_debit.ach.account_number".to_string(),+ "payment_method_data.bank_debit.ach_bank_debit.account_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.ach.account_number".to_string(),+ required_field: "payment_method_data.bank_debit.ach_bank_debit.account_number".to_string(),display_name: "bank_account_number".to_string(),field_type: enums::FieldType::UserBankAccountNumber,value: None,}),(- "payment_method_data.bank_debit.ach.routing_number".to_string(),+ "payment_method_data.bank_debit.ach_bank_debit.routing_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.ach.routing_number".to_string(),+ required_field: "payment_method_data.bank_debit.ach_bank_debit.routing_number".to_string(),display_name: "bank_routing_number".to_string(),field_type: enums::FieldType::Text,value: None,@@ -11571,18 +11571,18 @@ impl Default for settings::RequiredFields {}),(- "payment_method_data.bank_debit.ach.account_number".to_string(),+ "payment_method_data.bank_debit.ach_bank_debit.account_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.ach.account_number".to_string(),+ required_field: "payment_method_data.bank_debit.ach_bank_debit.account_number".to_string(),display_name: "bank_account_number".to_string(),field_type: enums::FieldType::UserBankAccountNumber,value: None,}),(- "payment_method_data.bank_debit.ach.routing_number".to_string(),+ "payment_method_data.bank_debit.ach_bank_debit.routing_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.ach.routing_number".to_string(),+ required_field: "payment_method_data.bank_debit.ach_bank_debit.routing_number".to_string(),display_name: "bank_routing_number".to_string(),field_type: enums::FieldType::Text,value: None,@@ -11740,18 +11740,18 @@ impl Default for settings::RequiredFields {}),(- "payment_method_data.bank_debit.bacs.account_number".to_string(),+ "payment_method_data.bank_debit.bacs_bank_debit.account_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.bacs.account_number".to_string(),+ required_field: "payment_method_data.bank_debit.bacs_bank_debit.account_number".to_string(),display_name: "bank_account_number".to_string(),field_type: enums::FieldType::UserBankAccountNumber,value: None,}),(- "payment_method_data.bank_debit.bacs.sort_code".to_string(),+ "payment_method_data.bank_debit.bacs_bank_debit.sort_code".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.bacs.sort_code".to_string(),+ required_field: "payment_method_data.bank_debit.bacs_bank_debit.sort_code".to_string(),display_name: "bank_sort_code".to_string(),field_type: enums::FieldType::Text,value: None,@@ -11812,18 +11812,18 @@ impl Default for settings::RequiredFields {}),(- "payment_method_data.bank_debit.bacs.account_number".to_string(),+ "payment_method_data.bank_debit.bacs_bank_debit.account_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.bacs.account_number".to_string(),+ required_field: "payment_method_data.bank_debit.bacs_bank_debit.account_number".to_string(),display_name: "bank_account_number".to_string(),field_type: enums::FieldType::UserBankAccountNumber,value: None,}),(- "payment_method_data.bank_debit.bacs.sort_code".to_string(),+ "payment_method_data.bank_debit.bacs_bank_debit.sort_code".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.bacs.sort_code".to_string(),+ required_field: "payment_method_data.bank_debit.bacs_bank_debit.sort_code".to_string(),display_name: "bank_sort_code".to_string(),field_type: enums::FieldType::Text,value: None,@@ -11862,18 +11862,18 @@ impl Default for settings::RequiredFields {}),(- "payment_method_data.bank_debit.becs.account_number".to_string(),+ "payment_method_data.bank_debit.becs_bank_debit.account_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.becs.account_number".to_string(),+ required_field: "payment_method_data.bank_debit.becs_bank_debit.account_number".to_string(),display_name: "bank_account_number".to_string(),field_type: enums::FieldType::UserBankAccountNumber,value: None,}),(- "payment_method_data.bank_debit.becs.bsb_number".to_string(),+ "payment_method_data.bank_debit.becs_bank_debit.bsb_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.becs.bsb_number".to_string(),+ required_field: "payment_method_data.bank_debit.becs_bank_debit.bsb_number".to_string(),display_name: "bsb_number".to_string(),field_type: enums::FieldType::Text,value: None,@@ -11914,18 +11914,18 @@ impl Default for settings::RequiredFields {}),(- "payment_method_data.bank_debit.bacs.account_number".to_string(),+ "payment_method_data.bank_debit.becs_bank_debit.account_number".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.bacs.account_number".to_string(),+ required_field: "payment_method_data.bank_debit.becs_bank_debit.account_number".to_string(),display_name: "bank_account_number".to_string(),field_type: enums::FieldType::UserBankAccountNumber,value: None,}),(- "payment_method_data.bank_debit.bacs.sort_code".to_string(),+ "payment_method_data.bank_debit.becs_bank_debit.sort_code".to_string(),RequiredFieldInfo {- required_field: "payment_method_data.bank_debit.bacs.sort_code".to_string(),+ required_field: "payment_method_data.bank_debit.becs_bank_debit.sort_code".to_string(),display_name: "bank_sort_code".to_string(),field_type: enums::FieldType::Text,value: None,