🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Donorbox Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Get your Donorbox API key
  4. The settings page
  5. Your email, your key and the test button
  6. The default campaign
  7. Add a feed to your form
  8. The supporter
  9. The donation-intent
  10. Only sync when you want to
  11. On the front end
  12. What is kept with each entry
  13. Safe retries
  14. Privacy and security
  15. Troubleshooting
  16. Common questions

Video walkthrough

Gravity Forms Donorbox Add-On Setup Guide: Supporters & Pledges (WordPress Side)
Video setup guide: Gravity Forms Donorbox Watch on YouTube

The Gravity Forms Donorbox Premium Add-on connects your Gravity Forms to Donorbox so that every submission becomes a clean supporter record with a donation-intent attached. When someone fills in a pledge form, an interest form, a volunteer sign-up or an event RSVP, the add-on finds that person in Donorbox by email, or creates them, and records a donation-intent for your team: the campaign, the amount they pledged, the currency and a note built from the form.

This is donor-data sync and a CRM handoff, not payment processing. The add-on never takes a payment and never moves money. Your donors still give on your own Donorbox hosted donation forms, which keep handling the real payments and receipts. The add-on only makes sure the people and the intent land in Donorbox tidily, so nothing is retyped and no supporter slips through the cracks.

What you need

  • WordPress with Gravity Forms 2.9 or newer.
  • PHP 7.4 or newer.
  • An active license key for this add-on.
  • A Donorbox account on a plan that includes API access, and your Donorbox login email.

If Gravity Forms is missing or older than 2.9, the add-on shows a notice in the WordPress admin and does nothing else, so a form is never left half connected.

Get your Donorbox API key

The add-on signs in to the Donorbox API with your own credentials, using HTTP Basic authentication: your login email is the user name and an API key is the password. You create the key yourself, and it is entirely self-serve.

Sign in to Donorbox, open Account, then API & Zapier Integration, and use Set new API Key to generate a key. Copy it and keep it somewhere safe, because Donorbox shows the full key only once. The API is part of the paid Donorbox plan, and that cost is your own Donorbox subscription; there is nothing to approve with us and no partner onboarding.

The settings page

Install and activate the add-on like any plugin, after Gravity Forms. Then open Forms → Settings → Donorbox. This one page holds the license key and your Donorbox connection.

The Donorbox settings page in Gravity Forms: license key, Donorbox login email, API key, default campaign and a test connection button
The settings page: your login email, your API key and a default campaign, with a test button.

Your email, your key and the test button

Enter the Donorbox login email you sign in with and the API key you generated. The key is stored encrypted at rest, so the plain value is never left sitting in the database. After the field is saved it is shown masked, and you can replace it at any time.

Next to the key is a Test connection button. Press it and the add-on asks Donorbox for your campaigns and lists them. A green result means the email and key talk to Donorbox; a clear message tells you if the key is wrong or the plan does not include the API. If you set a default campaign, the test also confirms that it exists. Run the test once whenever you paste a new key, so you learn about a typo here and not from a form that quietly fails.

The default campaign

A campaign in Donorbox is the fund or appeal a donation belongs to. The default campaign on this page is used whenever a feed leaves its own campaign empty. You can give a campaign by name, for example General Fund, or by its id. Leave the default empty to record a donation-intent with no campaign. A feed can always override the default, and a form choice can route each submission to a different campaign.

Add a feed to your form

Open the form you want to connect, go to Settings → Donorbox on that form, and add a feed. A feed maps the form fields to the Donorbox supporter and the donation-intent.

The Donorbox feed in Gravity Forms: supporter email, name and phone, campaign, amount intent, currency, comment and conditional logic
The feed: map the supporter and the donation-intent with merge tags.

The supporter

The supporter email is the one required field, because it is how a supporter is found. Map it to your email field with a merge tag, for example {Email:2}. The add-on looks for a Donorbox supporter with exactly this email; if there is one, the donation-intent is filed for them, and if there is none, a new supporter is created. An existing supporter is never renamed.

The supporter name and supporter phone are optional and are used only for a new supporter. Map the name to your name field, for example {Name (First):1.3} {Name (Last):1.6}; the add-on splits it into a first and last name for you.

The donation-intent

The second part of the feed is the donation-intent, which is a pledge recorded for your team, not a charge. The amount intent is required: map it to your amount field, for example {Amount:7}. Currency symbols, thousands separators and a comma decimal are all cleaned up, so 1,250.50 and 1.250,50 both become the same number. A zero, a negative or a non-numeric amount is refused and nothing is synced.

The currency is a three-letter code such as USD, EUR or GBP, and defaults to USD. The campaign can be a fixed name or id, or a merge tag so a form choice routes the intent; use the :value modifier, for example {Fund:5:value}. The comment is a note kept with the donation-intent, and {all_fields} drops in a tidy list of every answer. You can also add the form name and a link back to the Gravity Forms entry at the end of the comment.

Only sync when you want to

Each feed has conditional logic, so you can sync to Donorbox only when a rule is met, for example only when a pledge amount is given, or only for a particular fund. You can also add more than one feed to the same form to route different submissions to different campaigns.

On the front end

Your visitors see nothing new. They fill in your form and get your normal confirmation; the sync to Donorbox happens quietly on your server afterwards.

A front-end Gravity Form with a fund choice and an amount, used to pledge support that syncs to Donorbox
A pledge form as a visitor sees it; the sync to Donorbox happens after the confirmation.

What is kept with each entry

After a submission is synced, the Gravity Forms entry keeps a note and three values: a link to the Donorbox supporter, a link to the donation-intent and the pledged amount. If something goes wrong, the entry keeps a clear error note instead, and a failed call never blocks the submission, so your form always saves the entry.

A Gravity Forms entry screen showing the Donorbox note with the supporter link, the donation-intent link and the pledged amount
The entry note with the supporter link, the donation-intent link and the amount.

Two merge tags, {donorbox_donor_id} and {donorbox_amount}, let a notification email include the supporter id and the pledged amount, and the add-on adds Donorbox supporter synced and Donorbox sync failed as notification events you can send to your team.

Safe retries

A resend or a retry is safe. The add-on keeps the supporter and donation-intent ids on the entry and records a reference with each donation-intent, so a second run for the same entry never creates a second supporter or a second donation-intent. If a reply from Donorbox is lost on the network, the next run looks the donation-intent up by its reference and uses it instead of making a new one.

Privacy and security

Your API key is encrypted before it is stored, it is never shown again, and it is never written to an entry, a note or a log. The add-on only ever contacts donorbox.org, over HTTPS, and the credentials travel in an authorization header, never in a web address. The only data sent is what you map in the feed: the supporter’s details and the donation-intent. For stricter setups, you can set the key with the GFDB_API_KEY constant in wp-config.php instead of the settings field.

Troubleshooting

  • Test connection fails. Check the login email and the API key, and confirm your Donorbox plan includes the API. The message from Donorbox is shown without your key.
  • The campaign is not found. The name must match a campaign in your account exactly, or use the campaign id. Test connection lists your campaigns.
  • Nothing synced. Check the entry note. A missing email or an invalid amount is reported there, and the entry is still saved.

Common questions

Does this take the donation payment? No. The add-on records a donation-intent, which is a pledge for your team to see. It never charges a card and never moves money. Your actual donations are taken on your Donorbox hosted donation forms, which continue to handle payments, receipts and recurring plans exactly as before.

Why would I record an intent instead of sending people straight to Donorbox? Many forms are not the donation itself: a pledge drive, a sponsorship interest form, an event RSVP with a suggested gift, a corporate matching sign-up or a volunteer form. These are the moments where you learn who is interested and for how much. Recording that as a supporter and an intent in Donorbox means your fundraising team has one tidy place to follow up, rather than a spreadsheet of form entries nobody reads.

What happens to a repeat supporter? They are matched by their exact email, so the same person is never duplicated in Donorbox. The donation-intent is filed against the supporter that already exists, and their name and details are left untouched.

Can I route different forms to different campaigns? Yes. Set a campaign per feed, or map the campaign to a form choice with a merge tag so each submission lands in the right fund. You can also use conditional logic and more than one feed on a single form.

Is my key safe? Your API key is encrypted at rest, never shown again, and never written to an entry, a note or a log. The add-on only ever contacts donorbox.org over HTTPS, and the credentials are sent in an authorization header, never in a URL. You can also keep the key out of the database entirely with the GFDB_API_KEY constant in wp-config.php.

With the feed in place, every form on your site can feed supporters and donation-intents straight into Donorbox, while the giving itself stays where it belongs, on your Donorbox donation forms.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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