From a9b5dc9ab767eb54a95bcebc4fd5a7b00dbf65f6 Mon Sep 17 00:00:00 2001 From: Rutam Prita Mishra Date: Thu, 19 Oct 2023 19:43:42 +0530 Subject: [PATCH] feat(connector): [Bambora] Use connector_response_reference_id as reference to the connector (#2635) --- crates/router/src/connector/bambora/transformers.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/router/src/connector/bambora/transformers.rs b/crates/router/src/connector/bambora/transformers.rs index bfcd984629..e686186c90 100644 --- a/crates/router/src/connector/bambora/transformers.rs +++ b/crates/router/src/connector/bambora/transformers.rs @@ -214,7 +214,7 @@ impl mandate_reference: None, connector_metadata: None, network_txn_id: None, - connector_response_reference_id: None, + connector_response_reference_id: Some(pg_response.order_number.to_string()), }), ..item.data }), @@ -238,7 +238,9 @@ impl .change_context(errors::ConnectorError::ResponseHandlingFailed)?, ), network_txn_id: None, - connector_response_reference_id: None, + connector_response_reference_id: Some( + item.data.connector_request_reference_id.to_string(), + ), }), ..item.data })