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

refactor: Remove unwanted commented lines (#5851)

Arun Raj M4a9fd7e0bf46
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs
index 4eedb52c99..390ea8e017 100644
--- a/crates/router/src/core/payments.rs
+++ b/crates/router/src/core/payments.rs
@@ -3659,8 +3659,6 @@ where
.attach_printable("Failed execution of straight through routing")?;
if check_eligibility {
- // let setup_mandate = payment_data.get_setup_mandate();
- // let payment_method_data = payment_data.get_payment_method_data();
let transaction_data = core_routing::PaymentsDslInput::new(
payment_data.get_setup_mandate(),
payment_data.get_payment_attempt(),
@@ -3718,14 +3716,10 @@ where
.attach_printable("Failed execution of straight through routing")?;
if check_eligibility {
- // let setup_mandate = payment_data.get_setup_mandate();
- // let payment_method_data = payment_data.get_payment_method_data();
let transaction_data = core_routing::PaymentsDslInput::new(
- // setup_mandate,
payment_data.get_setup_mandate(),
payment_data.get_payment_attempt(),
payment_data.get_payment_intent(),
- // payment_method_data,
payment_data.get_payment_method_data(),
payment_data.get_address(),
payment_data.get_recurring_details(),