automate-sales / automate-commerce

next js ecommerce
MIT License
0 stars 0 forks source link

improve error handling in checkout process #40

Open gkpty opened 6 months ago

gkpty commented 6 months ago

when the order is being sumitted add a toastify promise thaty displays 'submitting order' and return 'Success' or some human friendly error.

this requires that all functions called inside of createORder action throw human-redable errors.