Checkout ​
Recipes for the cart and checkout flows, from the first line item to a placed order and its payment.
CartStart hereAdd, change and remove line items, and keep one shared cart in sync with every response.Cart ErrorsTurn the errors a successful cart response carries into messages a customer can act on.Checkout and Order PlacementSelect shipping and payment methods as context changes, then turn the cart into an order.PaymentHand a placed order to the payment provider and read the real payment state on the return page.