Checkout steps
1. Set fulfillment method
Update the cart with the customer’s preferred fulfillment method.2. Set order time
3. Collect customer details
Validate and save the customer’s name and contact information.4. Set gratuity (optional)
If the location has tipping enabled, set a tip amount or percentage.WaiterTipConfigResponse tells you:
| Field | Description |
|---|---|
enabled | Whether tipping is turned on for this location |
tipPercentage | Array of suggested percentages (e.g., ["15", "18", "20"]) |
defaultTipPercentage | The pre-selected percentage |
shouldAllowCustomTip | Whether to show a custom amount input |
5. Create a payment intent
Create a Stripe PaymentIntent to securely collect payment on the client.6. Confirm payment with Stripe.js
Use theclientSecret to complete the payment on the frontend.
Track analytics events
Fire analytics events at key checkout milestones.Complete checkout example
Next steps
Fulfillment Methods
Configure delivery, table-side, and room service.
Accept Payments
In-depth Stripe setup and testing guide.
Order Tracking
Poll order status after checkout.
Error Codes
Handle checkout errors gracefully.