diff --git a/crates/router/src/core/payments/operations/payment_response.rs b/crates/router/src/core/payments/operations/payment_response.rs index 45a4eacfc276..427a406dbf59 100644 --- a/crates/router/src/core/payments/operations/payment_response.rs +++ b/crates/router/src/core/payments/operations/payment_response.rs @@ -1259,6 +1259,7 @@ async fn payment_response_update_tracker( #[cfg(all(feature = "v1", feature = "dynamic_routing"))] business_profile: &domain::Profile, ) -> RouterResult> { // Update additional payment data with the payment method response that we received from connector + let additional_payment_method_data = match payment_data.payment_method_data.clone() { Some(payment_method_data) => match payment_method_data { hyperswitch_domain_models::payment_method_data::PaymentMethodData::Card(_)