2 e-mails when submitting twice
When submitting the Checkout page, the order is stored in the database, the customer receives an e-mail (confirmation) and an e-mail (with the order) is sent to myself.
But when the customer clicks twice the submit button, the e-mails are also sent twice.
I added the orderID in the subject. The second e-mail counts one number more than the first e-mail. This is very confusing because the next customer will have the same OrderId as that second mail.
The order is stored in the database only once and correct.
Is there a way to solve this ?
Universal Email 3.0.7