Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

feat(connector): [NexiNets] Update connector_response_reference_id as reference to merchant (#2537)

Rutam Prita Mishra2f6c00a1fd85
diff --git a/crates/router/src/connector/nexinets/transformers.rs b/crates/router/src/connector/nexinets/transformers.rs
index 5949e48ae1..7b2a41cfb0 100644
--- a/crates/router/src/connector/nexinets/transformers.rs
+++ b/crates/router/src/connector/nexinets/transformers.rs
@@ -364,7 +364,7 @@ impl<F, T>
mandate_reference,
connector_metadata: Some(connector_metadata),
network_txn_id: None,
- connector_response_reference_id: None,
+ connector_response_reference_id: Some(item.response.order_id),
}),
..item.data
})
@@ -425,7 +425,7 @@ impl<F, T>
let transaction_id = Some(item.response.transaction_id.clone());
let connector_metadata = serde_json::to_value(NexinetsPaymentsMetadata {
transaction_id,
- order_id: Some(item.response.order.order_id),
+ order_id: Some(item.response.order.order_id.clone()),
psync_flow: item.response.transaction_type.clone(),
})
.into_report()
@@ -447,7 +447,7 @@ impl<F, T>
mandate_reference: None,
connector_metadata: Some(connector_metadata),
network_txn_id: None,
- connector_response_reference_id: None,
+ connector_response_reference_id: Some(item.response.order.order_id),
}),
..item.data
})