Skip to content

Commit

Permalink
feat(connector): [Airwallex] Use connector_response_reference_id as r…
Browse files Browse the repository at this point in the history
…eference to merchant (#2747)

Co-authored-by: swangi-kumari <[email protected]>
Co-authored-by: Sakil Mostak <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2024
1 parent c3b0f7c commit 4b569c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/router/src/connector/airwallex/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,12 +569,12 @@ impl<F, T>
status,
reference_id: Some(item.response.id.clone()),
response: Ok(types::PaymentsResponseData::TransactionResponse {
resource_id: types::ResponseId::ConnectorTransactionId(item.response.id),
resource_id: types::ResponseId::ConnectorTransactionId(item.response.id.clone()),
redirection_data,
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(item.response.id),
incremental_authorization_allowed: None,
charge_id: None,
}),
Expand Down Expand Up @@ -612,12 +612,12 @@ impl
status,
reference_id: Some(item.response.id.clone()),
response: Ok(types::PaymentsResponseData::TransactionResponse {
resource_id: types::ResponseId::ConnectorTransactionId(item.response.id),
resource_id: types::ResponseId::ConnectorTransactionId(item.response.id.clone()),
redirection_data,
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(item.response.id),
incremental_authorization_allowed: None,
charge_id: None,
}),
Expand Down

0 comments on commit 4b569c9

Please sign in to comment.