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): accept connector_transaction_id in 4xx error_response of connector (#4720)
Swangi Kumari2ad7fc0cd6c1
diff --git a/crates/router/src/connector/paypal.rs b/crates/router/src/connector/paypal.rsindex cf81fec634..f82317b5af 100644--- a/crates/router/src/connector/paypal.rs+++ b/crates/router/src/connector/paypal.rs@@ -120,7 +120,7 @@ impl Paypal {.unwrap_or(consts::NO_ERROR_MESSAGE.to_string()),reason: error_reason.or(Some(response.message)),attempt_status: None,- connector_transaction_id: None,+ connector_transaction_id: response.debug_id,})}}@@ -292,7 +292,7 @@ impl ConnectorCommon for Paypal {.unwrap_or(consts::NO_ERROR_MESSAGE.to_string()),reason,attempt_status: None,- connector_transaction_id: None,+ connector_transaction_id: response.debug_id,})}}