From c2eecce1e803de308dcfcf774aa8aa2323cc96ec Mon Sep 17 00:00:00 2001 From: Swangi Kumari <85639103+swangi-kumari@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:03:19 +0530 Subject: [PATCH] feat(connector): [Adyen] Use connector_request_reference_id as reference to Payments (#3547) --- crates/router/src/connector/adyen/transformers.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs index b141634d46..c228bfffe6 100644 --- a/crates/router/src/connector/adyen/transformers.rs +++ b/crates/router/src/connector/adyen/transformers.rs @@ -2541,7 +2541,7 @@ impl<'a> amount, merchant_account: auth_type.merchant_account, payment_method, - reference: item.router_data.payment_id.to_string(), + reference: item.router_data.connector_request_reference_id.to_string(), return_url, browser_info, shopper_interaction, @@ -2588,7 +2588,7 @@ impl<'a> amount, merchant_account: auth_type.merchant_account, payment_method, - reference: item.router_data.payment_id.to_string(), + reference: item.router_data.connector_request_reference_id.to_string(), return_url, browser_info: None, shopper_interaction, @@ -2635,7 +2635,7 @@ impl<'a> amount, merchant_account: auth_type.merchant_account, payment_method, - reference: item.router_data.payment_id.to_string(), + reference: item.router_data.connector_request_reference_id.to_string(), return_url, browser_info: None, shopper_interaction, @@ -2894,7 +2894,7 @@ impl<'a> amount, merchant_account: auth_type.merchant_account, payment_method, - reference: item.router_data.payment_id.to_string(), + reference: item.router_data.connector_request_reference_id.to_string(), return_url, shopper_interaction, recurring_processing_model: None,