mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(Connector): [Noon] Add reference id in Order Struct (#1371)
This commit is contained in:
@ -37,6 +37,7 @@ pub struct NoonOrder {
|
||||
currency: Option<storage_models::enums::Currency>,
|
||||
channel: NoonChannels,
|
||||
category: Option<String>,
|
||||
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()? {
|
||||
|
||||
Reference in New Issue
Block a user