Hi @e222w,
Preventing those PayPal cookies would require you to block the sources/scripts that set them.
Under Complianz > Integrations > Script Center > Block a script, iFrame or plugin, you will be able to define URL’s/sources, or a unique term in the script that you want to block, before obtaining consent (see: https://complianz.io/integrating-plugins/).
Therefore the answer to your question might vary, depending on how you integrated PayPal on your website. For example, entering paypal.com as the URL to block in the Script Center, means that the script sources containing that URL would be blocked.
But you can imagine that the impact of doing so would greatly differ between websites. Let’s say you only have a “Pay Now” button iFrame from PayPal, this would be relatively straightforward to block and not that likely to cause issues.
But let’s say that your site uses the PayPal SDK and there are several items on your website that depend on the PayPal SDK being loaded; in this case, the impact of blocking all scripts containing paypal.com may be more significant.
Hope it helps/clarifies! Kind regards, Jarno
Thread Starter
e222w
(@e222w)
Hello Jarnovos,
thank you very much for your detailed help. I deactivated these two PayPal scripts in the script center:
That also worked, the scripts are no longer loaded, the placeholder is displayed and the PayPal cookies are no longer set.
However, now another javascript (woocommerce-paypal-payments/modules/ppcp-button/assets/js) stops the complete website with a javascript error.
/*
if(“undefined”==typeof PayPalCommerceGateway||Ie(PayPalCommerceGateway)){if(“checkout”===PayPalCommerceGateway.context|
*/
My second try:
I looked at which cookies are set by Paypal in the browser and tried to add them manually to the other cookies. Unfortunately, that doesn’t work either, the cookies are set anyway.
Is there another way to prevent PayPal cookies from being set or to get consent for this? I use WordPress & Woocommerce & PayPal …
Thank you and have a nice weekend…
Hi @e222w,
That’s what I meant by my previous response, blocking PayPal sources will also stop other plugins and scripts that are dependent on PayPal from working correctly. The question might arise if this is really what you want (and whether there is a need from a legal perspective) to do.
The only real ‘solution’ is to block every script that is dependent on PayPal being present, which depending on your website, might be quite a lot. I’m afraid I can’t really provide exact guidance on how to do this; it really depends on your website.
Kind regards, Jarno
-
This reply was modified 3 years ago by
Jarno Vos.
Thread Starter
e222w
(@e222w)
Hello Jarnovos,
Thank you for your feedback; Unfortunately, in Germany these Paypal Cookies are not optional and require the user’s consent. It’s a shame there isn’t a simple solution for this.
Best regards…