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
feat(pm_list): Add required field for Boleto Payment Method (#3619)
Swangi Kumari4d805f616411
diff --git a/config/config.example.toml b/config/config.example.tomlindex 9551fe4f7a..4dc950d74d 100644--- a/config/config.example.toml+++ b/config/config.example.toml@@ -436,6 +436,7 @@ mini_stop = { country = "JP", currency = "JPY" }family_mart = { country = "JP", currency = "JPY" }seicomart = { country = "JP", currency = "JPY" }pay_easy = { country = "JP", currency = "JPY" }+boleto = { country = "BR", currency = "BRL" }[pm_filters.volt]open_banking_uk = {country = "DE,GB", currency = "EUR,GBP"}diff --git a/config/development.toml b/config/development.tomlindex 1bff54d8f4..34acb9ce48 100644--- a/config/development.toml+++ b/config/development.toml@@ -357,6 +357,7 @@ family_mart = {country = "JP", currency = "JPY"}seicomart = {country = "JP", currency = "JPY"}pay_easy = {country = "JP", currency = "JPY"}pix = { country = "BR", currency = "BRL" }+boleto = { country = "BR", currency = "BRL" }[pm_filters.braintree]paypal = { currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY,MYR,MXN,TWD,NZD,NOK,PHP,PLN,GBP,RUB,SGD,SEK,CHF,THB,USD" }diff --git a/config/docker_compose.toml b/config/docker_compose.tomlindex 7aabf3bb56..fa5c3bf5e6 100644--- a/config/docker_compose.toml+++ b/config/docker_compose.toml@@ -299,6 +299,7 @@ mini_stop = {country = "JP", currency = "JPY"}family_mart = {country = "JP", currency = "JPY"}seicomart = {country = "JP", currency = "JPY"}pay_easy = {country = "JP", currency = "JPY"}+boleto = { country = "BR", currency = "BRL" }[pm_filters.volt]open_banking_uk = {country = "DE,GB", currency = "EUR,GBP"}diff --git a/crates/router/src/configs/defaults.rs b/crates/router/src/configs/defaults.rsindex e9b4de40d2..73985b2d57 100644--- a/crates/router/src/configs/defaults.rs+++ b/crates/router/src/configs/defaults.rs@@ -6355,6 +6355,44 @@ impl Default for super::settings::RequiredFields {),])),),+ (+ enums::PaymentMethod::Voucher,+ PaymentMethodType(HashMap::from([+ (+ enums::PaymentMethodType::Boleto,+ ConnectorFields {+ fields: HashMap::from([+ (+ enums::Connector::Adyen,+ RequiredFieldFinal {+ mandate : HashMap::new(),+ non_mandate : HashMap::from([+ (+ "payment_method_data.voucher.boleto.social_security_number".to_string(),+ RequiredFieldInfo {+ required_field: "payment_method_data.voucher.boleto.social_security_number".to_string(),+ display_name: "social_security_number".to_string(),+ field_type: enums::FieldType::Text,+ value: None,+ }+ ),+ ]),+ common : HashMap::new(),+ }+ ),+ (+ enums::Connector::Zen,+ RequiredFieldFinal {+ mandate: HashMap::new(),+ non_mandate: HashMap::new(),+ common: HashMap::new(),+ }+ )+ ]),+ },+ ),+ ])),+ ),(enums::PaymentMethod::BankDebit,PaymentMethodType(HashMap::from([(diff --git a/loadtest/config/development.toml b/loadtest/config/development.tomlindex 85dfec5232..b480f27b3d 100644--- a/loadtest/config/development.toml+++ b/loadtest/config/development.toml@@ -189,6 +189,9 @@ cards = [[pm_filters.volt]open_banking_uk = {country = "DE,GB", currency = "EUR,GBP"}+[pm_filters.adyen]+boleto = { country = "BR", currency = "BRL" }+[pm_filters.zen]credit = { not_available_flows = { capture_method = "manual" } }debit = { not_available_flows = { capture_method = "manual" } }