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
fix(connector): Add required fields for Trustly (#12182)
Vani Gupta0dde472f9d93
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rsindex 306473018b..b73df00d49 100644--- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs+++ b/crates/payment_methods/src/configs/payment_connector_required_fields.rs@@ -1859,8 +1859,14 @@ fn get_bank_redirect_required_fields(vec![],vec![RequiredField::Email,- RequiredField::BillingUserFirstName,- RequiredField::BillingUserLastName,+ RequiredField::BillingFirstName(+ "billing_first_name",+ FieldType::UserBillingName,+ ),+ RequiredField::BillingLastName(+ "billing_last_name",+ FieldType::UserBillingName,+ ),],vec![],),@@ -1894,6 +1900,14 @@ fn get_bank_redirect_required_fields(vec![RequiredField::BillingAddressCountries(vec!["ALL"]),RequiredField::Email,+ RequiredField::BillingFirstName(+ "billing_first_name",+ FieldType::UserBillingName,+ ),+ RequiredField::BillingLastName(+ "billing_last_name",+ FieldType::UserBillingName,+ ),],vec![],),