Wrong Return URL after Payment Due to the "Hyyan WooCommerce Polylang" Plugin
-
I am using this plugin together with the “PostFinance E-Payment Gateway for WooCommerce” by mame dev. After finalizing a payment I got to see the “Oops, this page cannot be found” every time. I went through lengthy trouble shooting sessions with the developer mame dev until he found out that it is actually this “Hyyan WooCommerce Polylang Integration” plugin causing the return URL to be:
https://www.[domain].com/en/checkout//1769/order-received/1769/?key=wc_order_56212c7e09a10&v=d1a0eba20b32
instead of
https://www.[domain].com/en/checkout/order-received/1769/?key=wc_order_56212c7e09a10&v=d1a0eba20b32
The PostFinance plugin gets its return URL through the WooCommerce function “get_return_url()“, which is apparently modified by this plugin in some mysterious way.
Can you please fix this bug so that this WooCommerce Polylang Integration plugin works seamlessly with all payment gateways? Thanks very much!
- The topic ‘Wrong Return URL after Payment Due to the "Hyyan WooCommerce Polylang" Plugin’ is closed to new replies.