Hello, we are experiencing an issue with WooCommerce order payment links while using WPML. When we send customers the direct order-pay URL (e.g., /checkout-2/order-pay/ORDER_ID/?pay_for_order=true&key=ORDER_KEY), it redirects non-logged-in users to an empty cart page. However, the exact same link works correctly and shows the payment page when accessed while logged in as an admin.
- Please backup the site files and database before providing us access.
- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.
I have checked this further and can confirm that the first issue also occurs in the default language.
Regarding the second issue, I tested with WPML disabled and the same problem still happens.
Based on my testing, the issue appears both in the default language and even when WPML is not active. I recommend that you verify and confirm whether the problem persists with WPML disabled and enabled. If the issue still occurs when WPML is disabled and in the default language, I’m afraid this indicates that it is not related to WPML. Please make sure everything works correctly without WPML first, then enable WPML, translate the content, and let us know if any WPML-specific issues appear.
Also, when using WPML with WooCommerce, please ensure that all related pages and URLs are properly translated so everything functions correctly: hidden link