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 (#6347)
  • Loading branch information
ShankarSinghC authored Oct 17, 2024
1 parent 962afbd commit 1a3d0a6
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 @@ -4318,6 +4318,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 1a3d0a6

Please # to comment.