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-09 UTC."],[[["Ordering End-to-End displays a tip selector during checkout, allowing customers to add gratuity to their orders."],["Restaurants can hide the tip selector using `ServingConfig.disableTipWidget` in their inventory data feeds."],["Restaurants can set a fixed gratuity amount, suggest a modifiable gratuity amount, or refuse gratuity altogether using the `CheckoutResponseMessage` and specifying the `GRATUITY` line item with appropriate settings."],["Different gratuity options, such as mandatory, suggested, or no tip, are handled through specific configurations within the `GRATUITY` line item in the `CheckoutResponseMessage`."]]],[]]