Redirect url broken
-
Hi Nick,
I’m working with Stable tag: 0.5.0 of Mollie Forms.
It’s all working nicely except I got a 404 after the payment.
The redirect url was set to:
test-bestelformulier/payment=rfmp-957-59a448fc06f67
Instead of
test-bestelformulier?payment=rfmp-957-59a448fc06f67I changed: /wp-content/plugins/mollie-forms/includes/class-start.php
line: 422 -> $redirect = get_home_url(null, $_SERVER['REQUEST_URI'] . (strstr($_SERVER['REQUEST_URI'], '?') ? '&' : '?')); to: -> $redirect = get_home_url(null, $_SERVER['REQUEST_URI']); $redirect .= strstr($redirect, '?') ? '&' : '?';This fixes this issue for me for now, but I guess you’ll want to fix it in your plugin.
Greetings,
Kees
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Redirect url broken’ is closed to new replies.