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

How to Record Gravity Forms Donations in GiveWP with Campaigns, Refunds and a Live Goal

GravityExtra
How to Record Gravity Forms Donations in GiveWP with Campaigns, Refunds and a Live Goal

A donation form built with Gravity Forms is flexible: you choose every field, the look, the notifications and the payment gateway. A donation plugin such as GiveWP is good at the other half: donors, campaigns, goals and reports. Many organisations want both, and end up copying gifts by hand from one into the other. This guide shows how to make Gravity Forms payments appear in GiveWP on their own, with the donor, the campaign and the status, and how to show the campaign goal on the form itself.

Why Keep Gravity Forms for Donations

Gravity Forms already does a lot of what a giving page needs. You can ask for exactly the details you want, show or hide fields with conditional logic, take payments with the add-on of your gateway, send a thank you message that reads the way you write, and put the form on any page. Teams that already know it do not want to learn a second form builder just to take a gift.

What a form builder does not give you is a record of the people and campaigns behind the money. A donor who gave three times should be one person with three gifts. A campaign should know how much it has raised against its goal. A refund should take money out of the totals. That is the job of a donation plugin, and it is why the two belong together.

What You Need

  • Gravity Forms with the payment add-on you already use.
  • The free GiveWP plugin from the WordPress plugin directory, with at least one campaign.
  • The Gravity Forms Donation Sync Premium Add-on from GravityExtra, which joins the two.

The add-on never handles a card. Your payment add-on takes the money exactly as it does today, and when the payment completes the add-on writes the donor and the donation into GiveWP using GiveWP’s own models. That means GiveWP behaves as if the gift had come through one of its own forms: the campaign goal moves, the donor total grows, the Donations list shows the gift, and the revenue reports count it.

A Donate form with name, email, phone, address, company, comment, a give anonymously box, an in honor of line, a Campaign drop-down that shows each campaign with its goal progress, and a gift amount
The Campaign drop-down is filled from GiveWP and can show each goal in the label.

Step 1: Build the Donate Form

Start with the fields a giving form usually has: name, email, phone and address, a company line for organisations, a comment, a checkbox for giving anonymously and a line for a tribute or dedication. Add a product field with a user defined price for the gift and a Total field. If you want people to choose the campaign, add a drop-down field.

In the settings of that drop-down you will find a panel called GiveWP choices. Choose Campaigns and the drop-down fills itself with your active campaigns every time the form is shown. A new campaign appears at once and an archived one disappears. Tick Show the goal progress in the label and each choice reads like Spring Appeal, 25 percent of 5,000. Donors like to see where a campaign stands before they give.

Step 2: Connect the Payment and the Donation

Add the feed of your payment add-on as usual. Then open the Donation Sync settings of the form and add a feed. Choose where the donation goes: one campaign, one donation form, or the field of the form that holds the campaign. Then map the donor: the email is needed, and the name, title, phone, company, address, comment, anonymous box and tribute are optional.

The Donation Sync feed settings in Gravity Forms: where the donation goes, amount and status, GiveWP e-mails, the donor field map, existing donors, payment changes and subscription payments
One feed: choose the campaign, map the donor fields and decide what happens on refunds and later payments.

Two small choices matter. First, the amount: by default it is the amount of the payment, so what GiveWP records is what the gateway took. Second, the status of a donation that is made before the payment is final: the add-on records it as Pending and turns it into Completed when your payment add-on reports it paid. If you prefer that nothing at all is recorded until the money is in, tick the Donation Sync option in the post payment actions of your payment feed.

What GiveWP Sees

When a gift comes in, the add-on looks for a donor with the same email address, including additional addresses, and uses that donor. If there is none it creates one, with the name, phone, company and address from the form. If the donor exists but lacks a phone number or an address, the new details are filled in; details that are already there are never overwritten. Optionally the donor is linked to the WordPress user with the same email, which opens the door to the GiveWP donor dashboard.

The donation is created with the amount, the currency, the gateway, the transaction ID of the payment, the billing address with country and state codes, the comment and the anonymous flag. The gateway is called Gravity Forms. The add-on registers it in the GiveWP gateway register, so GiveWP lists it and shows it as the payment method, but it is never offered on a GiveWP donation form. A note on the donation says which entry it came from and how it was paid, and the tribute text is kept in a note too.

The GiveWP donation screen of a donation recorded from a Gravity Forms payment, with the donor, the gateway Gravity Forms, the campaign and the notes
The donation is a normal GiveWP donation, with the gateway Gravity Forms and a note that says where it came from.

On the Gravity Forms side the entry gets a note with the donation number, the campaign and whether the donor is new, and a box on the entry screen shows the donation with a link to it in GiveWP.

Refunds, Failures and Later Payments

A donation record is only useful if it stays true. When your payment add-on reports a refund, the donation becomes Refunded and GiveWP takes it out of the campaign goal, the donor total and its reports. A failed payment becomes Failed and a voided authorization becomes Cancelled. Each change leaves a note on the entry and on the donation, so you can see why a number moved.

Recurring gifts work too. When a Gravity Forms subscription is paid again, the add-on records the new payment as its own donation of the same donor, with its own transaction ID, so the campaign goal grows with every payment. A payment that is reported twice is recorded once.

And if you change a donation in GiveWP, for example you complete a pledge by hand, the entry gets a note and follows the new status.

Show the Goal on the Form

The most useful part for the donor is the progress itself. The add-on adds a merge tag with the number of a GiveWP donation form. Write it in an HTML field above the form and visitors read a live line such as 1,250 raised of 5,000, 25 percent. Add a word at the end to change what it shows: raised, goal, percent, left or title, or bar for a progress bar.

{give_goal:12}
{give_goal:12:left}
{give_goal:12:bar}

The same tag works in the confirmation message and in notifications, so the thank you can say your gift took the campaign to 31 percent. The bar is plain HTML with inline styles, which means it also shows in e-mail. In a plain text notification only the line is printed.

Pledges and Cheques

Not every gift is a card payment. A pledge form, a cheque promise or an in-person gift can still be recorded. Set the amount of the feed to a number field and choose whether the donation starts as Pending or Completed. A Pending donation does not count as raised, so your goal stays honest until the money arrives, and when you complete it in GiveWP the entry notes it.

A Few Things to Check

  • Currency. GiveWP counts one currency. If a payment is in another one, it is not recorded and the entry says so, rather than putting a wrong number in your reports.
  • Live or test. GiveWP counts only donations of its current mode. While it is in test mode, new donations are test donations. A feed can force live or test.
  • E-mails. GiveWP can send a receipt and an admin notice for every completed donation. Since Gravity Forms already thanks your donor, the add-on keeps them off by default, and a feed setting turns them on.
  • Privacy. Everything happens on your site. Nothing is sent to an outside service.

Questions People Ask

Does it work with my payment gateway?

It listens to the standard payment events of Gravity Forms, so it works with any payment add-on built on the Gravity Forms payment framework.

Do I need the paid GiveWP add-ons?

No. It works with the free GiveWP plugin. The tribute fields of the paid Tributes add-on are not written; the dedication is kept in a donation note instead.

Can donors choose the campaign?

Yes. Turn a drop-down or radio field into a list of campaigns with the GiveWP choices panel, and let the feed read the campaign from that field.

What happens if GiveWP is switched off?

Your forms keep working and entries are saved. Each entry gets a note that no donation was recorded, and a notice on the Forms screens tells you why.

Donation Sync is part of the GravityExtra collection of Gravity Forms add-ons. See the Gravity Forms Donation Sync Premium Add-on for the details, or read the setup guide in the documentation.

See the Donation Sync 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