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(core): Fix step-up retries when authentication_type is not passed (#11181)

Vani Guptae2480528a44e
diff --git a/crates/router/src/core/payments/retry.rs b/crates/router/src/core/payments/retry.rs
index b1709029b2..e873cc0586 100644
--- a/crates/router/src/core/payments/retry.rs
+++ b/crates/router/src/core/payments/retry.rs
@@ -79,8 +79,8 @@ where
#[cfg(feature = "v1")]
let is_no_three_ds_payment = matches!(
- payment_data.get_payment_attempt().authentication_type,
- Some(storage_enums::AuthenticationType::NoThreeDs)
+ router_data.auth_type,
+ storage_enums::AuthenticationType::NoThreeDs
);
#[cfg(feature = "v2")]