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,