Skip to content

Commit

Permalink
feat(connector): [PayU] Use connector_response_response_id as reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmibharambe authored Oct 5, 2023
1 parent 0b2061d commit 7ff9e74
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/router/src/connector/cybersource/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ impl<F, T>
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,
Expand Down Expand Up @@ -390,7 +392,9 @@ impl<F, T>
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,
Expand Down

0 comments on commit 7ff9e74

Please sign in to comment.