• Resolved thewebmonk

    (@thewebmonk)


    Hello,

    I use CookieYes for GDPR. 

    During its last scan, it found a cookie that was not categorised and had the script missing (it was the woocommerce_recently_viewed cookie which I categorised as Functional, as Script I put wp-content/plugins/woocommerce/)

    After publishing changes, I tested the checkout page and it would not load the Payment buttons. I tried both on mobile and desktop.

    For now I have deactivated the CookieYes plugin.

    I believe it’s because of the wrong Script? What should I put? Frank from Woocommerce Support said: “PayPal’s SDK loads from paypal.com/sdk/js (an external domain), not from within the WooCommerce plugin directory, so the plugins/woocommerce pattern wouldn’t cover it.”

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Krystian Syde

    (@inpsydekrystian)

    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:

    1. Find or add the PayPal SDK script entry and set its URL to:https://www.paypal.com/sdk/js
    2. Categorize it as Functional (or Necessary, depending on your legal interpretation – payment processing is often considered strictly necessary).
    3. 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

    Thread Starter thewebmonk

    (@thewebmonk)

    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

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    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.

    1. Navigate to the WooCommerce / Status section in your site’s admin panel.
    2. Click on the Get system report button and then click Copy for support.
    3. Paste the report into our PrivateBin.
    4. After uploading, please share the link here so we can review the details thoroughly.

    Kind regards,
    Krystian

    Thread Starter thewebmonk

    (@thewebmonk)

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    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

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.