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(ucs): map an empty connector_transaction_id to NoResponseId on PSync (#13276)
10X-GRACE924a6732bdbf
diff --git a/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs b/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rsindex dfabfb6ece..25a07b216b 100644--- a/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs+++ b/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs@@ -420,10 +420,13 @@ impl ForeignTryFrom<(payments_grpc::PaymentServiceGetResponse, AttemptStatus)>) -> Result<Self, Self::Error> {let status_code = convert_connector_service_status_code(response.status_code)?;- let connector_transaction_id =+ let connector_transaction_id = if response.connector_transaction_id.is_empty() {+ hyperswitch_domain_models::router_request_types::ResponseId::NoResponseId+ } else {hyperswitch_domain_models::router_request_types::ResponseId::ConnectorTransactionId(response.connector_transaction_id.clone(),- );+ )+ };let connector_details = response.error