Skip to content

Commit

Permalink
fix(connector): fix incorrect mapping of attempt status in NMI connec…
Browse files Browse the repository at this point in the history
…tor (#7200)

Co-authored-by: Anurag Singh <[email protected]>
  • Loading branch information
Anurag-05-prog and Anurag Singh authored Feb 10, 2025
1 parent 647e163 commit 76c3459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/connector/nmi/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ impl TryFrom<types::PaymentsResponseRouterData<StandardResponse>>
{
enums::AttemptStatus::CaptureInitiated
} else {
enums::AttemptStatus::Authorizing
enums::AttemptStatus::Authorized
},
),
Response::Declined | Response::Error => (
Expand Down

0 comments on commit 76c3459

Please sign in to comment.