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(routing): do not update `perform_session_flow_routing` output if the `SessionRoutingChoice` is none (#5336)
Shankar Singh Cf07689e75b8b
diff --git a/crates/router/src/core/payments/routing.rs b/crates/router/src/core/payments/routing.rsindex d1a5441d95..d6904e09a3 100644--- a/crates/router/src/core/payments/routing.rs+++ b/crates/router/src/core/payments/routing.rs@@ -1009,7 +1009,9 @@ pub async fn perform_session_flow_routing(});}}- result.insert(pm_type, session_routing_choice);+ if !session_routing_choice.is_empty() {+ result.insert(pm_type, session_routing_choice);+ }}}