Stay organized with collections
Save and categorize content based on your preferences.
When a customer checks out, Ordering End-to-End displays a tip selector. This lets
the customer choose the amount of gratuity to include with their order.
You can hide the tip selector for a restaurant service by using the
ServingConfig.disableTipWidget
in your inventory data feeds.
How to set a default gratuity amount
You can set a default gratuity amount or refuse to accept gratuity for a
restaurant during checkout. The following use cases can be supported in the
CheckoutResponseMessage:
A restaurant requires a fixed gratuity amount
In the ProposedOrder.otherItems within CheckoutResponseMessage, add
a line item of type GRATUITY with a fixed amount inside.
A restaurant suggests a gratuity and gives the customer the option to
modify the amount
In the ProposedOrder.otherItems within CheckoutResponseMessage, add
a line item of type GRATUITY with a fixed amount. Be sure to also add
gratuityExtension with a gratuityType value of USER_MODIFIABLE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["Ordering End-to-End displays a tip selector during checkout, allowing customers to add gratuity to their order, which is sent within the `SubmitOrderRequestMessage`."],["Restaurants can hide the tip selector using the `ServingConfig.disableTipWidget` in their inventory data feeds."],["Restaurants can set a fixed gratuity amount or a suggested gratuity amount that users can modify through `CheckoutResponseMessage`."],["Restaurants can refuse gratuity altogether by including a `GRATUITY` line item with a blank amount in the `CheckoutResponseMessage`."]]],[]]