Skip to content

Commit a96662b

Browse files
committed
fix(router): set the eligible connector in the payment attempt for nti based mit flow
1 parent 881f5fd commit a96662b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/router/src/core/payments.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4193,6 +4193,10 @@ where
41934193
}
41944194
};
41954195

4196+
// Set the eligible connector in the attempt
4197+
payment_data
4198+
.set_connector_in_payment_attempt(Some(eligible_connector_data.connector_name.to_string()));
4199+
41964200
// Set `NetworkMandateId` as the MandateId
41974201
payment_data.set_mandate_id(payments_api::MandateIds {
41984202
mandate_id: None,

0 commit comments

Comments
 (0)