How to prevent order recreation by user if it doesn’t get paid?
when a user creates an order I store it in a database and redirect user to payment platform, but if user doesn’t complete purchase and returns to the the website and creates a new order it gets stored as well. So in theory 100 unpaid orders could get stored.