have a checkout method for the cart