Hello @thewebmonk
Yes, the linked wp.org thread is correct. The woocommerce_recently_viewed cookie and the PayPal buttons are two separate things. The script wp-content/plugins/woocommerce/ is actually the correct script for the woocommerce_recently_viewed cookie – that cookie is set by WooCommerce itself, not PayPal.
The reason your PayPal buttons broke is that CookieYes is blocking the PayPal SDK script from loading entirely. The SDK loads from an external domain (paypal.com), and CookieYes may be treating it as unconsented.
What to do in CookieYes:
- Find or add the PayPal SDK script entry and set its URL to:
https://www.paypal.com/sdk/js
- Categorize it as Functional (or Necessary, depending on your legal interpretation – payment processing is often considered strictly necessary).
- If CookieYes has a domain-level blocking option, make sure
paypal.com is not being blocked before consent.
Additional PayPal domains that may need to be allowed:
https://www.paypal.com — main SDK and API calls
https://www.sandbox.paypal.com — if you use sandbox mode
https://www.paypalobjects.com — PayPal static assets (images, etc.)
We are already in contact with the CookieYes developers regarding this behavior to make the integration simpler and avoid these conflicts in the future, so hopefully this process will improve soon.
Kind Regards
Krystian
Hello Krystian,
thank you for the reply.
I don’t see any cookies mentioning PayPal following the scan. So I need to add the manually?
I guess I will open a ticket with CookieYes for them to help me add each cookie you mention manually.
Meanwhile, I removed the script I had added for woocommerce_recently_viewed and republished the Cookie banner, now the payment buttons are showing again.
One last question: I have tested on my mobile and desktop if the Paypal buttons load either accepting or rejecting the cookies, and they do on my devices. Is there a chance that users around the world do not see the buttons? Might it depend from the device?
Thank you
Hello @thewebmonk
One last question: I have tested on my mobile and desktop if the Paypal buttons load either accepting or rejecting the cookies, and they do on my devices. Is there a chance that users around the world do not see the buttons? Might it depend from the device?
Please follow these steps to share your system status report with us so we’ll check it out.
- Navigate to the
WooCommerce / Status section in your site’s admin panel.
- Click on the
Get system report button and then click Copy for support.
- Paste the report into our PrivateBin.
- After uploading, please share the link here so we can review the details thoroughly.
Kind regards,
Krystian
Hello @thewebmonk
I checked it on my side and everything appears to be working correctly, regardless of whether cookies are accepted or not, so it looks good from my tests.
Kind Regards
Krystian