order generation from cart done, destroying pending orders when new order is created in same cart