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): [Dlocal] Implement feature to use connector_request_reference_id as reference to the connector (#2704)
Mohammed Shakeelaf90089010e0
diff --git a/crates/router/src/connector/dlocal/transformers.rs b/crates/router/src/connector/dlocal/transformers.rsindex 5146dd0ea0..668a335cce 100644--- a/crates/router/src/connector/dlocal/transformers.rs+++ b/crates/router/src/connector/dlocal/transformers.rs@@ -145,7 +145,7 @@ impl TryFrom<&DlocalRouterData<&types::PaymentsAuthorizeRouterData>> for DlocalP.clone().map(|_| "1".to_string()),}),- order_id: item.router_data.payment_id.clone(),+ order_id: item.router_data.connector_request_reference_id.clone(),three_dsecure: match item.router_data.auth_type {diesel_models::enums::AuthenticationType::ThreeDs => {Some(ThreeDSecureReqData { force: true })@@ -237,7 +237,7 @@ impl TryFrom<&types::PaymentsCaptureRouterData> for DlocalPaymentsCaptureRequestauthorization_id: item.request.connector_transaction_id.clone(),amount: item.request.amount_to_capture,currency: item.request.currency.to_string(),- order_id: item.payment_id.clone(),+ order_id: item.connector_request_reference_id.clone(),})}}