I am customizing Magento's native one page checkout (ee 1.13). We have been modifying it so that customers could order without authentication (but without guests orders). I'm having an issue with quotes. The flow of my checkout is :
- Shipping Method
- Order Review
The whole flow works well except for one case. If the customer enters his email, goes to the second step, then goes back to the first step and changes his email, the quote is flushed and the shopping cart is empty. Please note that it bugs only when the second mail entered already exists on the DB (so, in a case we would have to force the authentication).
I've been debugging from index.php and I have no clue on which request could empty the cart.
Any clue that could help me ?