From 7ff9e74ede0a75a399b8fc81e3b28ea72feed3d9 Mon Sep 17 00:00:00 2001 From: rashmibharambe <93034034+rashmibharambe@users.noreply.github.com> Date: Fri, 6 Oct 2023 02:11:52 +0530 Subject: [PATCH] feat(connector): [PayU] Use connector_response_response_id as reference --- crates/router/src/connector/cybersource/transformers.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/router/src/connector/cybersource/transformers.rs b/crates/router/src/connector/cybersource/transformers.rs index 141ab603eba4..397db3d5a941 100644 --- a/crates/router/src/connector/cybersource/transformers.rs +++ b/crates/router/src/connector/cybersource/transformers.rs @@ -320,7 +320,9 @@ impl status_code: item.http_code, }), _ => Ok(types::PaymentsResponseData::TransactionResponse { - resource_id: types::ResponseId::ConnectorTransactionId(item.response.id), + resource_id: types::ResponseId::ConnectorTransactionId( + item.response.id.clone(), + ), redirection_data: None, mandate_reference: None, connector_metadata: None, @@ -390,7 +392,9 @@ impl item.response.application_information.status.into(), ), response: Ok(types::PaymentsResponseData::TransactionResponse { - resource_id: types::ResponseId::ConnectorTransactionId(item.response.id), + resource_id: types::ResponseId::ConnectorTransactionId( + item.response.id.clone(), + ), redirection_data: None, mandate_reference: None, connector_metadata: None,