Skip to content

Commit

Permalink
fix(router): set the eligible connector in the payment attempt for nt…
Browse files Browse the repository at this point in the history
…i based mit flow
  • Loading branch information
ShankarSinghC committed Oct 17, 2024
1 parent 19a8474 commit 6dd39b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/router/src/core/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4190,6 +4190,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,
Expand Down

0 comments on commit 6dd39b3

Please sign in to comment.