The Checkout Flow
The checkout flow has to follow a certain order to occur successfully:
- Create a Cart and make sure all relevant details and products are added - see previous section
- Fetch the Delivery Quote (if a delivery order)
- Apply Discounts or rewards
- Validate cart - See Validate Cart page
- Call Payment endpoint
- Serve appropriate payment module or details (handled by Stripe)
- Get Order Details for confirmation page