Skip to content

Commit

Permalink
fix(mandates): Allow connector_mandate_detail updation in case of 'Au…
Browse files Browse the repository at this point in the history
…thorized' Payments (#6383)
  • Loading branch information
awasthi21 authored Oct 21, 2024
1 parent 9597215 commit eb0461c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1556,8 +1556,11 @@ async fn payment_response_update_tracker<F: Clone, T: types::Capturable>(
} else {
None
};

if router_data.status == enums::AttemptStatus::Charged {
// update connector_mandate_details in case of Authorized/Charged Payment Status
if matches!(
router_data.status,
enums::AttemptStatus::Charged | enums::AttemptStatus::Authorized
) {
payment_data
.payment_intent
.fingerprint_id
Expand Down

0 comments on commit eb0461c

Please sign in to comment.