From f0cd5ee20d6f8a836f7b1f7117c2d0e43014eaba Mon Sep 17 00:00:00 2001 From: SamraatBansal <55536657+SamraatBansal@users.noreply.github.com> Date: Wed, 7 Jun 2023 13:34:05 +0530 Subject: [PATCH] feat(Connector): [Noon] Add reference id in Order Struct (#1371) --- crates/router/src/connector/noon/transformers.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/router/src/connector/noon/transformers.rs b/crates/router/src/connector/noon/transformers.rs index 83ef89bac8..666713d97f 100644 --- a/crates/router/src/connector/noon/transformers.rs +++ b/crates/router/src/connector/noon/transformers.rs @@ -37,6 +37,7 @@ pub struct NoonOrder { currency: Option, channel: NoonChannels, category: Option, + reference: String, //Short description of the order. name: String, } @@ -142,6 +143,7 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for NoonPaymentsRequest { currency, channel: NoonChannels::Web, category, + reference: item.payment_id.clone(), name, }; let payment_action = if item.request.is_auto_capture()? {