feat(connector): [Multisafepay] Use transaction_id as reference to transaction (#2451)

This commit is contained in:
Nabeel Hussain M N
2023-10-07 23:26:28 +05:30
committed by GitHub
parent 65ca5f12da
commit ba2efac4fa

View File

@ -530,7 +530,9 @@ impl<F, T>
Ok(Self {
status: enums::AttemptStatus::from(status),
response: Ok(types::PaymentsResponseData::TransactionResponse {
resource_id: types::ResponseId::ConnectorTransactionId(item.response.data.order_id),
resource_id: types::ResponseId::ConnectorTransactionId(
item.response.data.order_id.clone(),
),
redirection_data,
mandate_reference: item
.response
@ -543,7 +545,7 @@ impl<F, T>
}),
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(item.response.data.order_id.clone()),
}),
..item.data
})