Using ‘order-pay’ query on url causes to turn page into 404
-
Hello!
I’m developing a custom plugin with a custom page for checkout, created with URL rewriting and the usual shortcode. Since this is a custom page, I made the changes required for the Customer Payment page. with that, I noticed whenever I use ‘?order-pay’ on any page, I mean any WordPress installation with WooCommerce, which can turn into a 404 page.
The issue is happening everywhere even with the home page, cart page, or any page.
Even when I try to assign a value to an order-pay query manually like$wp->query_vars['order-pay'] = '100';
by assigning it to the ‘wp’ hook, it also turns the pages into “Page not found.”
What can I do at this stage?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.