• Resolved vagu71

    (@vagu71)


    The paypal express checkout button does not render at all on the cart page. It loads first and then immediately disappears.

    The browser console shows the following errors:

    checkout.js:254 ppxo_xc_ppbutton_error Object 
    
     Error: No handler found for post message: zoid_init from https://www.paypal.com in https://www.aircompressorcfm.com/cart/
        at https://www.paypalobjects.com/api/checkout.js:4537:37
        at Function.ZalgoPromise.try (https://www.paypalobjects.com/api/checkout.js:5660:37)
        at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_request] (https://www.paypalobjects.com/api/checkout.js:4536:40)
        at receiveMessage (https://www.paypalobjects.com/api/checkout.js:4612:60)
        at messageListener (https://www.paypalobjects.com/api/checkout.js:4633:13)
        at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:4570:31)
        at receiveMessage (https://www.paypalobjects.com/api/checkout.js:4612:60)
        at messageListener (https://www.paypalobjects.com/api/checkout.js:4633:13)
    print @ checkout.js:254
    checkout.js:254 ppxo_unhandled_error Object
    print @ checkout.js:254
    checkout.js:5497 Uncaught Error: No handler found for post message: zoid_init from https://www.paypal.com in https://www.aircompressorcfm.com/cart/
        at checkout.js:4537
        at Function.ZalgoPromise.try (checkout.js:5660)
        at Object._RECEIVE_MESSAGE_TYPE.(www.paypal.com/webapps/hermes/anonymous function) [as postrobot_message_request] (https://www.paypalobjects.com/api/checkout.js:4536:40)
        at receiveMessage (checkout.js:4612)
        at messageListener (checkout.js:4633)
        at Object._RECEIVE_MESSAGE_TYPE.(www.paypal.com/webapps/hermes/anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:4570:31)
        at receiveMessage (checkout.js:4612)
        at messageListener (checkout.js:4633)
    checkout.js:254 ppxo_unhandled_error Object
    print @ checkout.js:254
    checkout.js:5497 Uncaught Error: No handler found for post message: zoid_error from https://www.paypal.com in https://www.aircompressorcfm.com/cart/
        at checkout.js:4537
        at Function.ZalgoPromise.try (checkout.js:5660)
        at Object._RECEIVE_MESSAGE_TYPE.(www.paypal.com/webapps/hermes/anonymous function) [as postrobot_message_request] (https://www.paypalobjects.com/api/checkout.js:4536:40)
        at receiveMessage (checkout.js:4612)
        at messageListener (checkout.js:4633)
        at Object._RECEIVE_MESSAGE_TYPE.(www.paypal.com/webapps/hermes/anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js:4570:31)
        at receiveMessage (checkout.js:4612)
        at messageListener (checkout.js:4633)

    Also, strangely, when the checkbox for “Use Smart Payment Buttons” is unchecked in the backend settings, the two buttons start showing up ok on the cart page frontend.

    Is this an error with the implementation of checkout.js, maybe? Thoughts?

    The paypal documentation for express checkout says that post February 2019, there is a change in the way the express checkout buttons need to be implemented. Is this related to that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    A similar issue with Use Smart Payment Buttons was fixed here https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/527

    Please double check and make sure you’re using the latest version 1.6.11 of WooCommerce PayPal Checkout Payment Gateway.

    —-

    If you’ve already used 1.6.11 and the issue is still there, it may be caused by either a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:
    ?

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Express Checkout Button not Showing on Cart Page’ is closed to new replies.