Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connector): fix incorrect mapping of attempt status in NMI connector (#7200)

Anurag76c34595ef61
diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs
index e99549893b..e70813216d 100644
--- a/crates/router/src/connector/nmi/transformers.rs
+++ b/crates/router/src/connector/nmi/transformers.rs
@@ -910,7 +910,7 @@ impl TryFrom<types::PaymentsResponseRouterData<StandardResponse>>
{
enums::AttemptStatus::CaptureInitiated
} else {
- enums::AttemptStatus::Authorizing
+ enums::AttemptStatus::Authorized
},
),
Response::Declined | Response::Error => (