CheckoutComponent
The main checkout container that orchestrates the multi-step checkout flow — customer details, fulfillment selection, payment, and order confirmation.Preview
View in StorybookImport
Usage
Props
The finalized cart to check out.
The location ID for this order.
Callback fired when the order is successfully placed.
Behavior
- Multi-step flow: Customer Details → Fulfillment → Payment → Confirmation
- Progress indicator at the top showing current step
- Validates each step before allowing progression
- Handles payment processing errors with retry
- Displays order summary sidebar on desktop