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(novalnet): carry connector_transaction_id through on setup_mandate decline (#13235)
Amitsingh Tanwarbb924e543ccf
diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rsindex 4c7bce75cb..e5d12eeb11 100644--- a/crates/router/src/core/unified_connector_service/transformers.rs+++ b/crates/router/src/core/unified_connector_service/transformers.rs@@ -3119,7 +3119,11 @@ impl.and_then(|cd| cd.reason.clone()),status_code,attempt_status,- connector_transaction_id: connector_transaction_id.get_optional_response_id(),+ connector_transaction_id: error_info+ .connector_details+ .as_ref()+ .and_then(|cd| cd.connector_transaction_id.clone())+ .or_else(|| connector_transaction_id.get_optional_response_id()),connector_response_reference_id: connector_response_reference_id.clone(),network_decline_code: error_info.issuer_details.as_ref().and_then(|id| {id.network_details