to a .js file of course, but in that case do not forget to pass the url parameter correctly .
My custom thank you page has both parameters, key and order id in URL and ... I passed the key and order_id as a parameter in URL and the key parameter ...
On top of picking your custom redirect URL, you can also define a different thank you page by
Ensure that your new order-details.php has a URL and that that URL is added inside of WooCommerce > Settings > Advanced > Order ...
You may have a 'my account' page shown at URL yoursite.com/my-account.
you can edit the return url woocommerce provides to gateways by using the filter woocommerce_get_return_url. some gateway plugins use a different method to ...
Get and update the order being processed; Return success and redirect URL (in this case the thanks page). Cheque gives the order On-Hold status since the payment cannot be verified
The advantage of this is that the URL stays shorter. Some WordPress ...
... the address information would be displayed), or Order detail pages (which includes any pages displaying order information, such as the Thank You page and ...
It redirects you to a simple Thank You page (or “Order received” page how