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 (#6379)
  • Loading branch information
awasthi21 authored Oct 21, 2024
1 parent b93c849 commit d09a805
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 d09a805

Please sign in to comment.