Orders can be marked as purchased

* allowing for cart clearing and order history
Cart is emptied if order is purchased