• Hello everyone. I noticed that the PayPal email of the customers appears in the order details in addition to the one used for registration. Is it possible to hide this email? Can you tell me if it is possible to not receive it at all to avoid any issues with privacy regulations? Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @mrx123456

    Legally, there are no issues with displaying this information as it is part of the data returned by PayPal after a payment. However, if you prefer not to display this email for privacy reasons, you can easily hide it using a filter.

    You can add the following code to your site using a code snippets plugin:

    /**
     * Disables the display of the PayPal email address in the order details.
     *
     * @param $show
     * @return bool
     */
    add_filter( 'woocommerce_paypal_payments_order_details_show_paypal_email', function ( bool $show ) {
        return false;
    });
    

    For more details on how to implement this, you can refer to the guide on our GitHub page.

    Please let me know if you need further assistance.

    Kind Regards,

    Krystian

Viewing 1 replies (of 1 total)
  • The topic ‘Hide the customer’s PayPal email on the order details’ is closed to new replies.