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(router): handle connector authentication technical failures and skip confirm in authorize flow only when authentication_type is not challenge (#4667)

Sai Harsha Vardhan842728ef9324
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs
index 76cd1307d8..0bff5ff72e 100644
--- a/crates/router/src/core/payments.rs
+++ b/crates/router/src/core/payments.rs
@@ -1210,7 +1210,7 @@ impl PaymentRedirectFlow for PaymentAuthenticateCompleteAuthorize {
);
let response = if is_pull_mechanism_enabled
|| authentication.authentication_type
- == Some(common_enums::DecoupledAuthenticationType::Frictionless)
+ != Some(common_enums::DecoupledAuthenticationType::Challenge)
{
let payment_confirm_req = api::PaymentsRequest {
payment_id: Some(req.resource_id.clone()),