From a96662b1364739c8f566147ef3956dbf546be09e Mon Sep 17 00:00:00 2001 From: Shankar Singh C Date: Thu, 17 Oct 2024 13:19:30 +0530 Subject: [PATCH] fix(router): set the eligible connector in the payment attempt for nti based mit flow --- crates/router/src/core/payments.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index 68f318958a2c..a6ddc2e21806 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -4193,6 +4193,10 @@ where } }; + // Set the eligible connector in the attempt + payment_data + .set_connector_in_payment_attempt(Some(eligible_connector_data.connector_name.to_string())); + // Set `NetworkMandateId` as the MandateId payment_data.set_mandate_id(payments_api::MandateIds { mandate_id: None,