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(router): add `email` in `billing` and `shipping` address of merchant payment method list (#5981)
Shankar Singh C37925626e644
diff --git a/crates/router/src/configs/defaults.rs b/crates/router/src/configs/defaults.rsindex 41efc6e4c3..5719e11175 100644--- a/crates/router/src/configs/defaults.rs+++ b/crates/router/src/configs/defaults.rs@@ -12353,6 +12353,15 @@ pub fn get_billing_required_fields() -> HashMap<String, RequiredFieldInfo> {value: None,},),+ (+ "billing.email".to_string(),+ RequiredFieldInfo {+ required_field: "payment_method_data.billing.email".to_string(),+ display_name: "email".to_string(),+ field_type: enums::FieldType::UserEmailAddress,+ value: None,+ },+ ),])}@@ -12441,6 +12450,15 @@ pub fn get_shipping_required_fields() -> HashMap<String, RequiredFieldInfo> {value: None,},),+ (+ "shipping.email".to_string(),+ RequiredFieldInfo {+ required_field: "shipping.email".to_string(),+ display_name: "email".to_string(),+ field_type: enums::FieldType::UserEmailAddress,+ value: None,+ },+ ),])}