The user enters their data in the shopping cart, then clicks the continue checkout button and a very long loading takes place, which ends with a crash or time out message
If you do it again, or refresh the page, everything loads normally and takes you to the payment page, as it should be. The long loading time and the error occurs somewhere at the moment of checking a new customer in the database and creating a new order, I think. What could be the problem?