Hi @perlfan ,
Thanks for reaching out!
A 404 error on the Thank You page usually means the page isn’t properly published or the permalink isn’t being recognized.
Could you please double-check the following:
1. Make sure the Thank You page is published (not set to draft or private).
2. Go to Settings > Permalinks in WordPress and click Save Changes (this refreshes the permalink structure).
3. Confirm that you’ve selected the correct Thank You page inside our plugin settings.
After doing these steps, try running a test checkout again.
If the issue persists, please let us know and share your site URL (or staging site) so we can investigate further.
Thanks
Thank you for your prompt reply. I have tried the proposed steps but nothing worked. Then I deactivated WPML and voilà it works. So somehow WPML is interfering here – you said that your plugin / redirect is WPML compatbile. Do you have an idea what the problem is? https://snipboard.io/gimKG7.jpg
Unfortunately I can’t give you access due to confidential data … thx anyway. Frank
Hi @perlfan It’s working fine on my sites, but you can try adding this snippet to your functions.php to bypass WPML processing on the thank you page:
add_filter('wpml_filter_link', function($url) {
if (strpos($url, 'order=') !== false && strpos($url, 'key=') !== false) { return $url; } return $url; }, 1);
If it’s still not working, please let me know. Thanks
It now works, thank you! Frank