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

How to Take Flutterwave Payments with Gravity Forms

GravityExtra
How to Take Flutterwave Payments with Gravity Forms

Flutterwave is how a large share of businesses across Africa get paid online: by card, bank transfer, mobile money and USSD, in naira, cedi, shillings, rand, CFA francs and more. Gravity Forms is one of the most flexible ways to build registration, order, booking and donation forms in WordPress. This guide shows how to take Flutterwave payments with Gravity Forms: the customer fills in your form, pays on the Flutterwave checkout, and the entry is marked paid automatically once the payment is verified, using the Gravity Forms Flutterwave Premium Add-on.

Why take payments with Flutterwave in Gravity Forms

Schools, event organisers, training centres, churches, clubs, agencies and small shops often need a form and a payment in the same step. Connecting Gravity Forms to Flutterwave gives you:

  • The methods your customers actually use. Cards, bank transfer, USSD and Opay in Nigeria, M-Pesa in Kenya, mobile money in Ghana, Uganda, Rwanda, Tanzania, Zambia and Francophone Africa, all on one checkout.
  • Your money in your Flutterwave balance. Payments settle to the account you already use, with Flutterwave’s own fees and no extra platform in between.
  • Local currencies, done right. The add-on adds naira, cedi, shilling, kwacha and CFA franc to Gravity Forms and sends whole amounts for currencies without decimals.
  • Forms that fit your business. Gravity Forms handles the products, quantities, options, conditional logic and totals; Flutterwave handles the payment.

How the integration works

The add-on uses Flutterwave Standard with your own secret key. When a form is submitted, it calculates the total on the server, creates a Flutterwave payment with a unique reference and sends the customer to the hosted checkout. Card numbers, bank logins and wallet PINs are typed on Flutterwave’s page, never on your site.

When the customer comes back, the add-on does what Flutterwave recommends and verifies the transaction on the server: the reference, the status, the amount and the currency must all match the entry. Flutterwave also sends a webhook, which the add-on accepts only when its verif-hash header matches your secret hash, and which it verifies again with the API. A status check every five minutes catches anything left over. The result is an entry that says Paid, with the transaction ID, the payment method and a clear note.

What you need before you start

  • A WordPress site with Gravity Forms 2.9 or newer, on PHP 7.4 or newer.
  • A Flutterwave account. The test environment is available as soon as you sign up; live payments need your business verified in the dashboard.
  • An HTTPS site address for live payments.
  • The Flutterwave add-on and its license key.

Step 1: Copy your secret key

In the Flutterwave dashboard, switch to Test mode, open Settings → API Keys and copy the Secret key (it starts with FLWSECK_TEST-). Keep it private: it can create payments and refunds. The public key and the encryption key are not needed.

Step 2: Connect Gravity Forms to Flutterwave

In WordPress, go to Forms → Settings → Flutterwave, activate your license, keep the mode on Test, paste the key and save. The add-on checks the key with Flutterwave before saving it and encrypts it. A green Connected line with the key masked tells you it worked, and the currency line confirms your form currency is supported.

The Flutterwave settings page in Gravity Forms: license key, mode, test and live secret keys stored encrypted, the currency check, the live connection, the webhook URL and the secret hashes with the last verified webhook
The settings page: mode, the two secret keys (stored encrypted), the connection check, the webhook URL and the secret hash of each mode.

Step 3: Add the webhook

Copy the webhook URL from the settings page. In the Flutterwave dashboard, open Settings → Webhooks, paste it, and set a secret hash. The Generate button in the add-on makes a strong one for you; save the same value in the add-on. From then on, Flutterwave tells your site about every payment within seconds, and any request without your secret hash is refused.

Step 4: Build the payment form

Any form with pricing fields can take payments. A workshop registration form might have the participant’s name, email and mobile number, a product for the seat, an optional workbook and a Total field. Gravity Forms works out the total as the customer types; the add-on recalculates it on the server, so nobody can change the price in the browser. Include an Email field: Flutterwave needs it to send the receipt.

A front-end Gravity Form for registering for a design workshop in Lagos with name, email, mobile number, two products and a total in naira, with a Continue to payment button
A registration form on the site. The total is worked out by Gravity Forms and sent to Flutterwave from the server.

Step 5: Add the Flutterwave feed

Open the form’s Settings → Flutterwave and add a feed. Choose Products and Services or Donations, set the amount to the form total and map the customer’s email, name and phone. Then set the checkout:

  • Checkout title: your business name at the top of the checkout.
  • Payment description: with merge tags, such as Workshop registration #{entry_id}, so you recognise the payment in your dashboard.
  • Payment methods: leave them unticked to use your dashboard settings, or tick card, bank transfer, USSD, M-Pesa or mobile money to limit this form.

Leave Send form notifications only after the customer has paid ticked so confirmation emails only go out for paid entries.

The Flutterwave feed settings in Gravity Forms: payment amount, customer email, name and phone, checkout title, payment description, payment methods and the notification option
A Flutterwave feed: the amount, the customer fields, the checkout title and description, and the payment methods.

Step 6: Test with Flutterwave test cards

Open the form, submit it and pay on the checkout with a Flutterwave test card. You come back to your confirmation and the entry shows Paid. Try the other cases too: a failing test card keeps the checkout open so the customer can try again, and cancelling marks the entry Cancelled with no confirmation email sent.

Step 7: Manage payments from the entry

Every entry paid through Flutterwave has a Flutterwave box with the status, the transaction ID, the reference and the amount. From there you can refund all or part of a payment, close the payment link of an unpaid entry, or verify the payment with Flutterwave on demand. Refunds made in the Flutterwave dashboard show up on the entry by themselves through the refund webhook.

A Gravity Forms entry screen with the order in naira, Payment Details showing Paid, the Flutterwave box with the transaction ID, reference, amount, refund field and Verify with Flutterwave, and the payment notes
A paid entry: the Flutterwave transaction ID and reference, the refund box and the notes written by the add-on.

Step 8: Go live

When your tests look right, switch the Flutterwave dashboard to Live, copy the live secret key, add the webhook URL and a live secret hash, then switch the add-on to Live and save both values. Make one small real payment and refund it to be sure, and you are done.

Built for payments you can trust

  • Server-side amounts. The payment is created for the total Gravity Forms calculates on the server, and every transaction is checked for exactly that amount and currency before the entry is marked paid.
  • Verified transactions. The return link and the webhook are only hints; the add-on always asks Flutterwave for the transaction by ID or by reference.
  • Secret hash on every webhook. Requests without the matching verif-hash header are refused with HTTP 401, and test and live webhooks are kept apart.
  • No double fulfilment. Repeated webhooks, a webhook at the same time as the customer’s return, or the status check never complete a payment twice.
  • Encrypted keys. The secret key and the secret hash are stored encrypted and never shown or logged.
  • Safe refunds. One-time request IDs mean a double click never refunds twice.

Bank transfers and mobile money

Not every payment is instant. A customer who pays by bank transfer or mobile money may leave the checkout before the money is confirmed. The add-on handles this: the return page waits and checks again for a short while, the webhook confirms the payment as soon as Flutterwave does, and the five-minute status check catches the rest. If a payment is confirmed after the entry had been marked cancelled, the entry is still completed, and the note says so, so no customer who paid is left out.

What you can sell with Gravity Forms and Flutterwave

  • Events and training. Workshop seats, conference tickets and course fees, with early-bird prices and confirmation emails only for paid registrations.
  • School and membership fees. Term fees, application fees and club dues, recorded on the entry with the payer’s details.
  • Services and deposits. Consultation fees, booking deposits and custom orders where the price comes from the customer’s answers.
  • Donations. One-time gifts for churches, NGOs and community projects, in the donor’s currency.
  • Simple shops. A small product range sold from one form, without a full e-commerce plugin.

A checklist before you go live

  • Your site uses HTTPS, and the settings page shows a recent Last verified webhook for live mode.
  • Your Gravity Forms currency is one Flutterwave collects for your account.
  • Every payment form has an Email field mapped in the feed.
  • You made a successful, a failed and a cancelled test payment, and one refund.
  • The people who manage entries know where the Flutterwave box is.

Frequently asked questions

Which payment methods does it support?

Every method Flutterwave Standard offers for your account and currency: cards, bank transfer, bank account, USSD, M-Pesa, mobile money in several countries, NQR, Opay and FawryPay. You can limit each form to some of them.

Which currencies can I use?

NGN, GHS, KES, ZAR, UGX, RWF, TZS, XAF, XOF, MWK, EGP, USD, EUR and GBP. The add-on adds the African currencies Gravity Forms does not list by default.

Does it handle subscriptions?

No. The add-on takes one-time payments for products, services and donations.

Can I refund from WordPress?

Yes, all or part of a payment, from the entry screen. Refunds you make in the Flutterwave dashboard are recorded on the entry too.

What if the customer closes the browser after paying?

The webhook marks the entry paid after verifying the transaction, and if the webhook is delayed, the five-minute status check does it. Held notifications are sent at that moment.

Can I connect Gravity Forms to Flutterwave with Zapier or Make instead?

Automation tools can react to a payment, but they cannot send your customer to a checkout for the form total, verify the transaction and bring them back to your confirmation. The add-on does that directly from your site, with no per-task fees.

Where is the full setup guide?

Every option, status and troubleshooting tip is in the Gravity Forms Flutterwave setup guide.

Start taking Flutterwave payments with your forms

If your customers pay with Flutterwave, your forms can take those payments too. Connect Gravity Forms to Flutterwave once, and every registration, order and donation is paid on the Flutterwave checkout, verified on your server and confirmed on the entry automatically.

See the Flutterwave 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