• Resolved ariserise

    (@ariserise)


    Hello, I’m use checkout_error event in custom theme js for error handling, but with paypal trigger on this event not work.

    Does this plugin have some kind of js event that I can bind to to get a list of errors?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ariserise

    I had a little chat with our developers, and it seems that our custom validation does not provide any event that can be triggered externally.

    checkout_error?is triggered by WooCommerce JavaScript in the Ajax handler, but we don’t do it. It seems the timing of this event does not line up with ours. A solution for this would be for us to trigger the same event in our AJAX handlers to match WooCommerce behavior.

    I will open a bug to have this investigated and link this thread to it, so you can get updated once we have any update or fix available for you.

    Kind regards,
    Joost

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    The checkout_error event mentioned above will be included in one of the next updates, probably sometime in June. If you are interested, you could give it a try with the changes from this PR: https://github.com/woocommerce/woocommerce-paypal-payments/pull/1384
    If you give it a try, feedback is much appreciated.
    Thanks!

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘checkout_error event’ is closed to new replies.