Closed CodyTVWeber closed 2 months ago
My solution is to redirect the user back to the insect shopping view and clear the cart. An integrated checkout API would be the ideal page to navigate to next in a future version. I also included messages about the order if it is not successful and if it is a duplicate order that has been denied.
Would it be easy to add a success alert/notification if the order is created?
I added an alert call that pauses execution and notifies user that their order was successful. When they click ok it continues to redirect them to the store like before.
Looks fixed!
When submitting the checkout, the page goes to loading. This seems to be an undesirable state. The users will likely be confused and may even believe the order was not made.