• Resolved marcroo

    (@marcroo)


    Sometimes I get this error: OrderEndpoint.php:339

    I have to fix it ASAP to not lose money. What I can do to be sure this error will not show up?

    I read could be a problem of cache JS file, could someone provide the correct setup to avoid this error?

    I’m using W3TC at the moment, but any solution will be very appreciated.

    Thnak you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @marcroo,

    What I can do to be sure this error will not show up?

    It’s impossible to rule out this error as it could occur when the buyer uses an unsupported browser or has JavaScript disabled.
    If you are experiencing more failed orders than usual, you could try downgrading to a previous plugin version like 1.9.1.

    The team is working to improve the compatibility with older browsers for the next update.
    But caching should generally be disabled on the Checkout page, and when in doubt, it may be good to whitelist the scripts mentioned in the documentation here: https://woocommerce.com/document/woocommerce-paypal-payments/#faq-paypal-smart-buttons-not-loading

    Kind regards,
    Niklas

    Thread Starter marcroo

    (@marcroo)

    Thank you.
    I currently have the 1.9.3, and I had this problem again yesterday, I am trying to figure out how I can not minify or caching anything of the checkout page with W3TC. I already choose the low minfy setup, and works better, but if the error is in the compatibility with browsers I can’t do nothing more. Hope the team find a solution soon, every payment with error are sale and client lost.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @marcroo,

    Usually, caching or site optimizations should be avoided on the Checkout page as various payment integrations could be negatively impacted by it.
    That being said, the next plugin update improves the compatibility with older browsers and should also better handle eventual site optimizations such as JavaScript minification.
    There are still some tests left to perform with this version, but if you want to give it a try, you can download it from here: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/1.9.4-rc1
    We recommend trying it in a staging environment first, and feedback about how this works for you would be appreciated in any case.
    Thanks!

    Kind regards,
    Niklas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello,

    It has been quite some time since our last communication, so we will mark this thread as resolved. Please open a new thread if you are still facing issues or have questions that you need us to answer.

    Kind regards,
    Andreas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error OrderEndpoint.php:339 with w3tc’ is closed to new replies.