• Resolved marinaa

    (@marinaa)


    I’m using the Smart Payment Buttons. Google Chrome DevTools is showing two warnings – one of which has 5 instances.

    The warning with the 5 instances is on the cart page and is as follows:

    (one instance:)
    A cookie associated with a cross-site resource at http://paypalobjects.com/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

    The remaining 4 instances are exactly as the one above except the cross-site resource URL is different for each one – as follows:
    http://paypal.com/
    http://www.paypal.com/
    https://paypal.com/
    http://www.sandbox.paypal.com/

    The second warning shows on the product page, cart page and order received page and is as follows:

    [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ jQuery-1.7.1.js:10
    ajax @ jQuery-1.7.1.js:10
    (anonymous) @ toolbarLib.js:3
    getCurrentLocale @ toolbarLib.js:3
    getLocaleResource @ toolbarLib.js:4
    (anonymous) @ toolbarOnPGScriptLoaded.js:21
    (anonymous) @ toolbarOnPGScriptLoaded.js:22
    toolbarOnPGScriptLoaded.js:21 Use Pay Guard to Protect Your Online Transactions

    I couldn’t find any information as to how PayPal is handling the SameSite attribute issue. But I did find this thread regarding Square – though it’s not helpful to my situation:

    https://wordpress.org/support/topic/cookie-associated-with-cross-site-resource-was-set-without-the-samesite-atribu/

    Regarding the deprecation of Synchronous XMLHttpRequest – I wasn’t able to find any information that I could understand.

    I’m testing the cart in the sandbox and it works beautifully. WordPress is up to date and so are all the plugins. My concern with these warnings is that they may cause a problem and break the cart in the future. I’d greatly appreciate any input.

    Thank you,
    Marina

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warnings: “Deprecation Synchronous XMLHttpRequest” and “SameSite attribute”’ is closed to new replies.