Skip to content

Commit

Permalink
feat(connector): [Multisafepay] Use transaction_id as reference to tr…
Browse files Browse the repository at this point in the history
…ansaction (#2451)
  • Loading branch information
nabeel001 authored Oct 7, 2023
1 parent 65ca5f1 commit ba2efac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/router/src/connector/multisafepay/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
})
Expand Down

0 comments on commit ba2efac

Please sign in to comment.