Hi @rabbit83,
PayPal Payments by itself does not set any cookies.
On all pages where the PayPal smart buttons are enabled, the required PayPal scripts will be loaded.
PayPal may load additional scripts or sets cookies, but these are all technically required for the PayPal functionality to work.
Is there maybe a way, that all the scripts and cookies get loaded dynamically only when the customer selects paypal as the chosen payment method?
If you don’t want any PayPal scripts to be loaded on your site, then you could not implement PayPal features directly on your site.
So the only way I am seeing to have no scripts loaded at all until the user selects the PayPal option would be by using a PayPal integration like the old PayPal Standard.
This integration is no longer supported, but it would only forward your buyers to the PayPal website after selecting PayPal as a payment option, without loading any scripts on your site (as the payment happens on the PayPal site).
Kind regards,
Niklas
Hi Niklas,
thanks for your reply.
We don’t need to use any smart buttons, we just want paypal in our payment gateway list on the checkout page. Just the way it was with the old paypal integration. And therefore not just us, but all Europeen users would need an option to pay with for example prepayment, without paypal loading all the scripts.
Even if I build a second checkout page without paypal
unset($gateways[‘ppcp-gateway’]);
still scripts from paypal get loaded. And I guess this gets triggered by your plugin.
The solution can’t be that paypal says it wants to sniff on us, so we accept it. And then the new official paypal plugin from woocommerce just plays by it not considering gdpr.
I know, most users don’t care about gdpr either, but think of the one client, that just doesn’t want to use paypal and doesn’t want to be sniffed on, how can they use our shop in the future, if we integrate your plugin.
Sorry, if this sounds a bit arsy, but I think it’s a bit too easy to just say it’s paypals fault.
Best regards
Axel
Hi @rabbit83
We understand your concerns and would first like to clarify that we cannot provide legal assistance.
We don’t need to use any smart buttons, we just want PayPal in our payment gateway list on the checkout page. Just the way it was with the old PayPal integration.
PayPal aims to provide users with a uniform checkout experience across all platforms using the PayPal smart buttons. This is partly why older integrations such as PayPal Standard are no longer maintained. PayPal Payments implements the PayPal smart buttons on your site, and they require PayPal scripts to work on a technical level.
The scripts would still be loaded on the Checkout page when only unsetting the gateway while the Checkout buttons are enabled. To dequeue the scripts, you could use something like this:
wp_dequeue_script( 'ppcp-smart-button' );
wp_dequeue_script( 'ppcp-fraudnet' );
If you create, for example, a multi-step checkout or a second checkout page, it should be possible to dequeue the scripts on non-relevant pages. However, this most likely requires a custom solution built to your specific needs.
And then the new official PayPal plugin from WooCommerce just plays by it, not considering GDPR.
We strive to ensure that the PayPal Payments plugin is compliant with GDPR; however, we cannot provide legal advice. We recommend consulting a legal professional to ensure your site meets all necessary regulations.
PayPal Payments is a popular integration, including merchants in Germany. At this time, neither PayPal nor our team have identified any aspects of the plugin that would directly violate GDPR.
Kind regards,
Niklas