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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
feat(connector): [PayU] Use connector_response_response_id as reference to merchant (#2452)
Harshale24897cd5d38
diff --git a/crates/router/src/connector/payu/transformers.rs b/crates/router/src/connector/payu/transformers.rsindex c43e59ac76..9a2e14215c 100644--- a/crates/router/src/connector/payu/transformers.rs+++ b/crates/router/src/connector/payu/transformers.rs@@ -194,12 +194,17 @@ impl<F, T>Ok(Self {status: enums::AttemptStatus::from(item.response.status.status_code),response: Ok(types::PaymentsResponseData::TransactionResponse {- resource_id: types::ResponseId::ConnectorTransactionId(item.response.order_id),+ resource_id: types::ResponseId::ConnectorTransactionId(+ item.response.order_id.clone(),+ ),redirection_data: None,mandate_reference: None,connector_metadata: None,network_txn_id: None,- connector_response_reference_id: None,+ connector_response_reference_id: item+ .response+ .ext_order_id+ .or(Some(item.response.order_id)),}),amount_captured: None,..item.data@@ -326,12 +331,17 @@ impl<F, T>Ok(Self {status: enums::AttemptStatus::from(item.response.status.status_code.clone()),response: Ok(types::PaymentsResponseData::TransactionResponse {- resource_id: types::ResponseId::ConnectorTransactionId(item.response.order_id),+ resource_id: types::ResponseId::ConnectorTransactionId(+ item.response.order_id.clone(),+ ),redirection_data: None,mandate_reference: None,connector_metadata: None,network_txn_id: None,- connector_response_reference_id: None,+ connector_response_reference_id: item+ .response+ .ext_order_id+ .or(Some(item.response.order_id)),}),amount_captured: None,..item.data@@ -461,7 +471,10 @@ impl<F, T>mandate_reference: None,connector_metadata: None,network_txn_id: None,- connector_response_reference_id: None,+ connector_response_reference_id: order+ .ext_order_id+ .clone()+ .or(Some(order.order_id.clone())),}),amount_captured: Some(order