🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 20, 2026

How to Add a Tip or Gratuity Option to a Gravity Forms Payment Form

GravityExtra
How to Add a Tip or Gratuity Option to a Gravity Forms Payment Form

Tips are easy to give and easy to forget. A restaurant takeout form, a car wash booking, a salon deposit or a donation page all have the same moment at the end: the customer is happy, the total is on screen, and a small extra would be welcome. If that extra is a text box labelled Other amount, most people skip it. If it is three buttons that say 10, 15 and 20 percent, with the dollar amount next to each, many people tap one. This tutorial shows how to add that moment to a Gravity Forms payment form with the Gravity Forms Tip Field add-on, and how to make sure the tip ends up in the payment, not only on the screen.

A takeout order form with a pasta and a dessert, a tip field with the buttons 10 percent equals 5 dollars 10, 15 percent equals 7 dollars 65 selected and 20 percent equals 10 dollars 20, a custom amount and no tip, a note that the tip goes to the kitchen team and a total of 58 dollars 65
The buttons show what each tip comes to, and the Total follows the choice.

Why Percentage Buttons Work

People are used to tipping at a counter. The screen asks a question, offers three suggestions and a way to type your own, and one of the choices is no tip. A form that copies that pattern feels familiar, so visitors do not stop to think about how much is reasonable. The dollar amount next to each percentage removes the last bit of arithmetic: 15% = $7.65 is easier to say yes to than 15 percent of an order total.

Three details make the difference. The suggestions are in the middle of what people expect, usually between ten and twenty percent. One of them is already selected, so the default is a decision and not an empty field. And there is an honest no tip choice, so the visitor never feels trapped.

Step 1: Build the Order

Create the form with the fields that make up the order. For a takeout restaurant that is a name, the dishes as product fields with a quantity, and a delivery charge as a shipping field. For a donation page it is a name, an email address and a product field with a user defined price for the amount. Add a Total field at the end, because visitors like to see it, and Gravity Forms can then check it when the form is sent.

Step 2: Add the Tip Field

Add the field Tip from the Pricing Fields group, after the products and the delivery, and before the Total. A new field starts with three percentage presets, a custom amount, a no tip choice, and 15 percent selected. Give it a label that your visitors understand, such as Add a tip for the team. The label is also the name of the line in the order summary.

Step 3: Choose the Presets

Each preset is either a percentage of the order or a fixed amount. Percentages suit orders of different sizes. Fixed amounts suit a single price, such as a coffee for the cooks at two dollars. You can mix them, up to six in all. Every preset can have its own label and a short description. Great service under 15 percent is a gentle hint; a label such as Pizza night for a five dollar preset makes a tip feel like a gift.

Which numbers should you pick? Look at your own orders. If the average order is twenty dollars, a ten percent tip is two dollars and a twenty percent tip is four, which are comfortable amounts. On a catering order of three hundred dollars the same percentages become thirty and sixty, which is where a custom amount helps. Offer it, and set a maximum that protects you from a typing slip: someone who types 500 instead of 5.00 should see a message, not a payment.

Step 4: Decide What the Percentage Is Based On

This is the question people forget. The percentage can be taken from the products only, or from everything before the tip, including delivery. The add-on uses the form total before the tip as its base, after discounts, and gives you a switch to leave shipping out. For a restaurant that delivers, tipping on the food only is the common choice, so tick Do not count shipping in the percentage.

A short example with numbers. A visitor orders two plates of pasta at $18.00 and one dessert at $9.00, and the delivery is $6.00. The products come to $45.00 and the total before the tip to $51.00. At 15 percent the tip is $7.65 with shipping in the base, and $6.75 without it. The buttons show the right amount in each case, and so does the Total.

Step 5: Round the Way You Want

Percentages produce odd fractions of a cent. The add-on rounds to the nearest cent by default, with halves going up. You can also always round up or down to the cent, or round to whole currency units. Whole units are popular for tips: a tip of $7.00 looks tidier on a receipt than $6.38, and rounding up to the next whole unit is a friendly default for a small team. Whatever you choose, the page and the server use the same arithmetic.

The Tip in the Payment

This is the heart of the matter. A tip that is only shown on the screen is worth nothing. The Tip field adds its amount to the order as a product line, in the same place as the delivery, before a payment add-on builds its request. That means the Total includes it, and a payment add-on that charges the Gravity Forms total charges the tip with the rest. One that sends the order lines to its provider sends the tip as a line too.

We tested exactly that with the Gravity Forms payment framework, without a real payment: the payment amount equals the Total, and the line items are the dishes, the delivery and a line named Tip. The order summary in the entry and in your notifications shows the same lines.

The entry detail of a takeout order with the order summary listing the pasta, the dessert, the delivery and a Tip line of 7 dollars 65 and a total of 58 dollars 65
In the entry the tip is a line of the order summary, like shipping.

What Happens When the Cart Changes

The buttons are live. When the visitor changes a quantity or removes a dish, the amount on every button follows and the Total updates. A custom amount is checked as it is typed: a message appears under the box when the amount is below the minimum, above the maximum, or not a number, and the box is marked invalid for screen readers. The server checks it again when the form is sent, so a hand made request cannot slip past the limits.

The tip field with the custom amount selected, the amount 60 typed in the box, the hint Between 1 dollar and 50 dollars and a message that the tip can be at most 50 dollars
A custom amount has its own minimum and maximum, and the visitor is told at once.

The same holds on a form with several pages. Put the products on the first page and the tip on the last, and the buttons on the last page are based on what was chosen on the first. If the visitor goes back and changes the quantity, the buttons follow. Conditional logic works as usual: show the tip only for dining in and leave it out for pickup, and the line is not in the order when the field is hidden.

Tell People Where the Tip Goes

Trust is part of tipping. The field has a Tip goes to line that appears under the choices, for example Tip goes to: the kitchen team. For a donation page you can describe the use of the money. The same text is available as a merge tag for your confirmation message, so the thank you can say where the money goes.

<p>New order from {Your name:1}</p>
{all_fields}
<p>Tip: {tip_amount} ({tip_choice})</p>
<p>Tip goes to: {tip_goes_to}</p>
<p>Tip as a number: {tip_amount:price}</p>
<p>The Tip field itself: {Tip:5}</p>

The tags give the amount as money or as a plain number, the choice the visitor made, such as 15%, Custom amount or No tip, and the recipient. In the entries list you can add two columns, Tip total and Tip choice, and filter by them.

Reporting on Tips

The saved value of the field is the tip amount as a plain number, and an entry without a tip has an empty value. That makes reports simple. Export the entries, add up the column, and divide by the number of entries to see the average. The Tip choice column tells you which button is the most popular, and whether your no tip count is climbing. If one preset is never used, replace it.

Phones and Accessibility

Most tips are given on a phone, so the buttons stack at full width with large tap targets, and the page never scrolls sideways. The choices are native radio buttons in a fieldset with a legend, so a screen reader announces the name of the group and the number of choices, and the arrow keys move between them. The selected choice is shown by a border and a tint, not only by colour, and the hint and the message of the custom box are tied to its input.

Tips for a Better Tip Field

  • Select the middle preset by default. It is the choice most visitors accept.
  • Keep to three or four presets. More choices slow people down.
  • Always offer a custom amount and a no tip choice. Both build trust.
  • Set a maximum for the custom amount that fits your orders.
  • Say who receives the tip. People give more when they know.
  • Round to whole currency units if your receipts look tidier that way.
  • Test with a real card in your payment add-on test mode before you go live.

A Note on Rules

Rules for tips, service charges and donations differ between countries, states and payment providers. Some providers ask you to describe what a tip is in your terms, and some countries treat a tip differently from a service charge for tax. The add-on adds an amount to the order. Check your provider and your local rules, and tell your visitors who receives the money.

Frequently Asked Questions

Do I need a developer?

No. Everything is set in the form editor. Two filters exist for developers who want a special rule.

Does it work with my payment add-on?

It works with any payment add-on that charges the Gravity Forms total or reads the product lines of the order, because the tip is part of both.

Can I use it for donations?

Yes. Use a product field with a user defined price for the donation and add the Tip field to ask for a little extra.

Does it send data to another service?

No visitor data leaves your site. The tip is calculated on your own site; only the license and update checks of GravityExtra add-ons contact gravityextra.com.

A tip field is a small thing, and it does a lot of good when it is built well: familiar buttons, honest choices, live amounts and a line in the payment that is really charged. With the Gravity Forms Tip Field add-on you can add all of that in a few minutes, without leaving Gravity Forms.

Add a tip in one tap

Percentage buttons, a custom amount and no tip, charged with the rest of the order by your payment add-on.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr