“Place order” button actually cancels the order. (WooCommerce, Paypal)
-
On my WordPress site, I am using WooCommerce along with the plugin “WooCommerce PayPal Checkout Gateway”. Currently I am using the PayPal sandbox mode to test payments.
When I attempt to purchase something on my site via any PayPal method, it will function correctly, allowing me to successfully pay with the pop-up PayPal window. It then sends me back to the checkout page. Everything acts normally up to this point.
On the checkout page, the url shows as follows:
https://mywebsite.com/checkout/?woo-paypal-return=true&token=%5Btoken removed]&PayerID=[payer ID removed]At this point, I’m presented with two buttons. “Cancel” and “PLACE ORDER”. “Cancel” does what I expect it to do and cancels the order. “PLACE ORDER”, however, also cancels the order.
Upon investigation, they both redirect to the exact same url, https://mywebsite.com/cart/?wc-gateway-ppec-clear-session=1
How can I fix this? Should the “PLACE ORDER” button really be sending the user to the same place that the “Cancel” button sends them? Any help is appreciated, I have been attempting to fix this for days now. Thanks!
- The topic ‘“Place order” button actually cancels the order. (WooCommerce, Paypal)’ is closed to new replies.