From 4afe552563c6a0cb9544a9a2f870bb9d07d7cf18 Mon Sep 17 00:00:00 2001 From: Dmitriy Danilov Date: Sat, 28 Oct 2023 20:46:17 +0300 Subject: [PATCH] refactor(connector): Use connector_request_reference_id for Iatapay (#2692) --- crates/router/src/connector/iatapay/transformers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/connector/iatapay/transformers.rs b/crates/router/src/connector/iatapay/transformers.rs index f98798fe5be4..d4731b024c86 100644 --- a/crates/router/src/connector/iatapay/transformers.rs +++ b/crates/router/src/connector/iatapay/transformers.rs @@ -110,7 +110,7 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for IatapayPaymentsRequest { utils::to_currency_base_unit_asf64(item.request.amount, item.request.currency)?; let payload = Self { merchant_id: IatapayAuthType::try_from(&item.connector_auth_type)?.merchant_id, - merchant_payment_id: Some(item.payment_id.clone()), + merchant_payment_id: Some(item.connector_request_reference_id.clone()), amount, currency: item.request.currency.to_string(), country: country.clone(),