diff --git a/crates/router/src/core/payments/routing.rs b/crates/router/src/core/payments/routing.rs index d1a5441d958e..d6904e09a3d5 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); + } } }