Product Icon

Stripe for WooCommerce

Trending
Maximize revenue with the new checkout from Stripe.

Trigger `checkout_error` when incorrect credit cart is entered

Hi,

We are authors of Flux Checkout, and we have added some improved UI elements to the Checkout page. We would like to update the HTML of the submit button when there is any kind of error. We can capture all errors with checkout_error event but it’s not triggered when there is an error with the credit card being empty https://prnt.sc/dDBVtlSAqeuq

We have inspected your source code and found that if you could trigger `checkout_error` JS event within the `onError` function of `assets/js/stripe.js` file, it could solve our problem.

Is this something you can do?

Screenshots

Author

Pramod

Current Status

Open

Last updated: October 30, 2025

0 comments

Log in to comment on this feature request.