This repository was archived by the owner on Jan 4, 2023. It is now read-only.
Correctly handle failed payments #20
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently if a payment fails, the order will still be successfully created and the form doesn't show any error.
This leads to duplicate orders and a fragmented UX.
We should show an error that the payment has failed, along with locking/hiding the checkout form and only allowing the payment form to continue to be updated.
The text was updated successfully, but these errors were encountered: