• Ciao,
    sul mio sito ho installato il plugin WooCommerce PayPal Payments che all’apertura del sito installa dei cookies.
    Ho trovato nella sorgente della pagina questi 2 script relativi a paypal:
    1)

    <script type='text/javascript' id='ppcp-smart-button-js-extra'>
    /* <![CDATA[ */
    var PayPalCommerceGateway = {"script_attributes":{"data-partner-attribution-id":"Woo_PPCP"},"data_client_id":{"set_attribute":false,"endpoint":"https:\/\/www.....com\/?wc-ajax=ppc-data-client-id","nonce":"78c3afa7ca","user":0},"redirect":"https:\/\/www.....com\/pagamento\/","context":"mini-cart","ajax":{"change_cart":{"endpoint":"https:\/\/www.....com\/?wc-ajax=ppc-change-cart","nonce":"d0448490ac"},"create_order":{"endpoint":"https:\/\/www.....com\/?wc-ajax=ppc-create-order","nonce":"8f50c60ee4"},"approve_order":{"endpoint":"https:\/\/www.....com\/?wc-ajax=ppc-approve-order","nonce":"82208ab5f5"}},"enforce_vault":"","save_card":"","bn_codes":{"checkout":"Woo_PPCP","cart":"Woo_PPCP","mini-cart":"Woo_PPCP","product":"Woo_PPCP"},"payer":null,"button":{"wrapper":"#ppc-button","mini_cart_wrapper":"#ppc-button-minicart","cancel_wrapper":"#ppcp-cancel","url":"https:\/\/www.paypal.com\/sdk\/js?client-id=...&currency=EUR&integration-date=2021-09-17&components=buttons&vault=false&commit=false&intent=capture&disable-funding=card&enable-funding=venmo,paylater","mini_cart_style":{"layout":"horizontal","color":"gold","shape":"rect","label":"paypal","tagline":"false","height":35},"style":{"layout":"horizontal","color":"gold","shape":"rect","label":"paypal","tagline":"false"}},"hosted_fields":{"wrapper":"#ppcp-hosted-fields","mini_cart_wrapper":"#ppcp-hosted-fields-mini-cart","labels":{"credit_card_number":"","cvv":"","mm_yy":"MM\/YY","fields_not_valid":"Unfortunately, your credit card details are not valid.","card_not_supported":"Unfortunately, we do not support your credit card.","cardholder_name_required":"Cardholder's first and last name are required, please fill the checkout form required fields."},"valid_cards":["mastercard","visa","amex","american-express","master-card"],"contingency":"SCA_WHEN_REQUIRED"},"messages":[],"labels":{"error":{"generic":"Something went wrong. Please try again or choose another payment source."}},"order_id":"0","single_product_buttons_enabled":"","mini_cart_buttons_enabled":"1"};
    /* ]]> */
    </script>

    2)
    <script type='text/javascript' src='https://www.....com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button//assets/js/button.js?ver=1.3.2' id='ppcp-smart-button-js'></script>

    Ho provato ad inserire nella texarea (che blocca gli script) del tuo plugin, questo codice (e anche in altri modi simili), ma non riesco a bloccare il caricamento di questi cookies

    <script <---------SOMETHING--------->PayPalCommerceGateway<---------SOMETHING--------->
    </script>
    <---------SEP--------->
    <script <---------SOMETHING--------->woocommerce-paypal-payments<---------SOMETHING--------->></script>

    Cosa sbaglio?

  • The topic ‘Cookies Paypal’ is closed to new replies.