From 4408149f51c73b5f86e77d21a590fd18a09dba80 Mon Sep 17 00:00:00 2001 From: sai-harsha-vardhan Date: Mon, 4 Dec 2023 17:43:12 +0530 Subject: [PATCH] resolve comments --- .../src/core/payments/operations/payment_response.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/crates/router/src/core/payments/operations/payment_response.rs b/crates/router/src/core/payments/operations/payment_response.rs index eacdd8236635..f92487d74a7b 100644 --- a/crates/router/src/core/payments/operations/payment_response.rs +++ b/crates/router/src/core/payments/operations/payment_response.rs @@ -772,14 +772,7 @@ async fn payment_response_update_tracker( ), updated_by: storage_scheme.to_string(), // make this false only if initial payment fails, if incremental authorization call fails don't make it false - incremental_authorization_allowed: if payment_data - .incremental_authorization_details - .is_none() - { - Some(false) - } else { - None - }, + incremental_authorization_allowed: Some(false), }, Ok(_) => storage::PaymentIntentUpdate::ResponseUpdate { status: api_models::enums::IntentStatus::foreign_from(