Skip to content

Commit

Permalink
feat(connector): [PayU] Use connector_request_reference_id (#6360)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeel001 authored Oct 25, 2024
1 parent 1d24b04 commit acd1530
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub struct PayuPaymentsRequest {
description: String,
pay_methods: PayuPaymentMethod,
continue_url: Option<String>,
ext_order_id: Option<String>,
}

#[derive(Debug, Eq, PartialEq, Serialize)]
Expand Down Expand Up @@ -133,6 +134,7 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for PayuPaymentsRequest {
.to_string(),
),
merchant_pos_id: auth_type.merchant_pos_id,
ext_order_id: Some(item.connector_request_reference_id.clone()),
total_amount: item.request.amount,
currency_code: item.request.currency,
description: item.description.clone().ok_or(
Expand Down

0 comments on commit acd1530

Please sign in to comment.