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

fix: send customer_name to ucs during customer create (#10561)

Hrithikesheb6080fe1a60
diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rs
index 4ff0da8496..f03a4d3260 100644
--- a/crates/router/src/core/unified_connector_service/transformers.rs
+++ b/crates/router/src/core/unified_connector_service/transformers.rs
@@ -431,7 +431,11 @@ impl
id_type: Some(payments_grpc::identifier::IdType::Id(request_ref_id)),
}),
merchant_account_metadata: HashMap::new(),
- customer_name: router_data.request.description.clone(),
+ customer_name: router_data
+ .request
+ .name
+ .clone()
+ .map(ExposeInterface::expose),
email: router_data
.request
.email