• Resolved m0n0mind

    (@m0n0mind)


    Hey guys,

    we found that something is not playing nice with the paypal express checkout feature. We noticed this behaviour in Safari 11 & 12 (dunno if it’s really a browser issue though):

    Clicking on the express checkout button, the overlay is loading but then closes again, so it’s not usable for safari users.
    unfortunately, i have not copied the output in the JS console on this incident, since disabling the page cache plugin “Cache Enabler” helps but is not really an long-term option. Re-enableing and thus clearing the cache helped for now, so I could not trigger the error again (it’s on a production site).

    But I wanted to let you know about it, maybe you have some recommendations regarding caching and paypal plus/express here.
    I lowered the cache duration from 24 to 12h now and will see how this will go, I assume the error might be due to some invalid nonce or something?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter m0n0mind

    (@m0n0mind)

    Hey,

    I just found a screenshot of a corresponding error message in the JS console when the above mentioned error happened:

    Failed to load resource: Der Vorgang konnte nicht abgeschlossen werden. Verbindung wurde von der Gegenstelle zurückgesetzt (https://www.paypal.com/xoplatform/logger/api/logger)
    and
    XMLHttpRequest cannot load https://www.paypal.com/xoplatform/logger/api/logger due to access control checks.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @m0n0mind

    I would recommend not to use any cache plugins on the checkout page or payment option because this will cause errors. For e.g. when a cache session is transferred twice instead of a new one.

    I don’t know what caching plugin you are using but not to cache the checkout page.

    Thread Starter m0n0mind

    (@m0n0mind)

    Hi Andreas,

    thanks for your response and your recommendation. The problem is that the paypal express feature adds the checkout feature to product details views (and minicart) as well, so we would need to disable caching for those pages as well (which is not desirable).

    This caching plugin is used here:
    Cache Enabler

    and it’s configured (cookie based) to not cache woocommerce cart and checkout sessions.

    That brings an idea to my attention: Maybe we could add some exclusion rule to the caching plugin to not cache paypal express requests? Do you know how this could be done with cache enabler?

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @m0n0mind

    unfortunately, I don’t know this plugin. Maybe you can contact the developer of this plugin but no files of the PayPal Plus plugin should be cached. Also no Iframes etc. PayPal doesn’t allow this.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Wegen Inaktivit?t geschlossen

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Paypal Express Failure in Safari (maybe due to caching)’ is closed to new replies.