automate-sales / automate-commerce

next js ecommerce
MIT License
0 stars 0 forks source link

Some action must be taken to rate limit failed orders #81

Open gkpty opened 2 months ago

gkpty commented 2 months ago

on the submit checkout, it must check if the last creation date of an order form the given user it atleast more than one minute old.

also add a lag on the submit button disable after a failed order (so that user doesnt just click the thing many times)

if it is a clicked again before one minute, display a notification: please correct your payment information of wait a few a seconds before trying again