You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
darkopetreski
changed the title
Wrong return_url in multisite setup when using subdomains
Wrong return_url in multisite setup when using subdomains with place order button
Sep 17, 2024
Describe the Bug
I am using a subdomain for the wordpress, domain.com/shop.
Due GDPR and requiremens of the client I am disabling the smart button and use the paypal redirect, with the following code as described here https://github.com/woocommerce/woocommerce-paypal-payments/wiki/Actions-and-Filters#disable-checkout-smart-buttons
When the user pays the order a redirect is made back to the shop. But the redirect is wrong.
To Reproduce
Screenshots
Expected Behavior
The return url should be domain.com/shop?....
Actual Behavior
The return url is: domain.com/shop/shop?....
Environment
Additional info
There is a fix for a similar bug here #2157
The text was updated successfully, but these errors were encountered: