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
fix(worldpayxml): allow hyphenated ids in DDC redirect regex (#13217)
Abhishek chorotiyad738889b43e7
diff --git a/crates/router/src/services/api.rs b/crates/router/src/services/api.rsindex 15f05ba461..178d84fa02 100644--- a/crates/router/src/services/api.rs+++ b/crates/router/src/services/api.rs@@ -1694,7 +1694,7 @@ pub fn build_redirection_form(var data = JSON.parse(event.data);var responseForm = document.createElement('form');responseForm.action=window.location.pathname.replace(- new RegExp("payments/redirect/(\\w+)/(\\w+)/\\w+"),+ new RegExp("payments/redirect/([^/]+)/([^/]+)/[^/]+"),"payments/$1/$2/redirect/complete/worldpayxml");responseForm.method='POST';@@ -1716,7 +1716,7 @@ pub fn build_redirection_form(}} catch (e) {{var responseForm = document.createElement('form');responseForm.action=window.location.pathname.replace(- new RegExp("payments/redirect/(\\w+)/(\\w+)/\\w+"),+ new RegExp("payments/redirect/([^/]+)/([^/]+)/[^/]+"),"payments/$1/$2/redirect/complete/worldpayxml");responseForm.method='POST';