Skip to content

Commit

Permalink
refactor(connector): Use connector_request_reference_id for Iatapay (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloff200 authored Oct 28, 2023
1 parent 2815443 commit 4afe552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/connector/iatapay/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for IatapayPaymentsRequest {
utils::to_currency_base_unit_asf64(item.request.amount, item.request.currency)?;
let payload = Self {
merchant_id: IatapayAuthType::try_from(&item.connector_auth_type)?.merchant_id,
merchant_payment_id: Some(item.payment_id.clone()),
merchant_payment_id: Some(item.connector_request_reference_id.clone()),
amount,
currency: item.request.currency.to_string(),
country: country.clone(),
Expand Down

0 comments on commit 4afe552

Please sign in to comment.