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): [OpenNode] Use connector_request_reference_id as referemce to connector (#2596)

Mohammed Shakeel96b790cb4b44
diff --git a/crates/router/src/connector/opennode/transformers.rs b/crates/router/src/connector/opennode/transformers.rs
index aa3fae3a51..b367012ca7 100644
--- a/crates/router/src/connector/opennode/transformers.rs
+++ b/crates/router/src/connector/opennode/transformers.rs
@@ -19,6 +19,7 @@ pub struct OpennodePaymentsRequest {
auto_settle: bool,
success_url: String,
callback_url: String,
+ order_id: String,
}
impl TryFrom<&types::PaymentsAuthorizeRouterData> for OpennodePaymentsRequest {
@@ -237,6 +238,7 @@ fn get_crypto_specific_payment_data(
auto_settle,
success_url,
callback_url,
+ order_id: item.connector_request_reference_id.clone(),
})
}