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(payments): correct installment payment routing check to use selected installment data (#11441)

Ayush Anand92f957f6ba1a
diff --git a/crates/router/src/core/payments/routing.rs b/crates/router/src/core/payments/routing.rs
index ddc737e2a9..2b451a6268 100644
--- a/crates/router/src/core/payments/routing.rs
+++ b/crates/router/src/core/payments/routing.rs
@@ -2145,7 +2145,7 @@ pub async fn perform_cgraph_filtering(
#[cfg(feature = "v1")]
fn is_installment_payment(payment_data: &routing::PaymentsDslInput<'_>) -> bool {
- payment_data.payment_intent.installment_options.is_some()
+ payment_data.payment_attempt.installment_data.is_some()
}
#[cfg(feature = "v1")]