Order overwrite the previous order in the Database
I have already applied the necessary scripts (which got even this forum) in the checkout success page after the closing html tag to destroy a session of the user and the cart but the new order continues overwrite the previous order. I think the problem is in the user session because if I insert new order but with another user, eCart can write the new order in the database.
Could someone help me? Thanks