🎉 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 Create Recurly Accounts and Subscriptions from Gravity Forms

GravityExtra
How to Create Recurly Accounts and Subscriptions from Gravity Forms

Most subscription businesses start a customer’s billing in two places at once: a form on the website, and Recurly. Someone picks a plan on your pricing or sign-up page, you collect their details in Gravity Forms, and then somebody re-keys those details into Recurly to set up the account and the subscription. That gap is where typos, missed sign-ups and slow onboarding live. The Gravity Forms Recurly Premium Add-on closes it: every submission becomes a Recurly account, and, when you want it, a running subscription, with nothing retyped.

This guide walks through how the add-on works, how to connect it to your own Recurly site, how to map your form fields to the account and the subscription, and how it keeps your API key safe and your retries clean.

What the add-on does

On every Gravity Forms submission, the add-on talks to the Recurly v3 REST API and does two things. First, it creates (or reuses) an account, filling in the name, company and phone you mapped. Second, if you have turned the subscription section on, it starts a subscription for that account using a plan code, a currency, a quantity and any add-on codes you chose. It is a clean handoff from your website to your billing system, run on your server after the visitor has already seen your confirmation.

It is worth being clear about scope. The add-on manages the account and the subscription record through Recurly’s API using your own credentials. Card capture and hosted payment pages stay with Recurly’s own flows and your payment gateway; the add-on is the bridge that gets the account and the plan into Recurly tidily, whether you collect payment separately, use a trial, or bill offline.

The Recurly settings page in Gravity Forms: license key, region, API key and a test connection button that lists plan codes

Connect your Recurly site

Everything runs against your own Recurly site with your own key, so there is nothing to approve with anyone and no shared account. In Recurly, open Integrations → API Credentials and add a Private API key. You also choose your region: the United States data centre (v3.recurly.com) or Europe (v3.eu.recurly.com), to match where your Recurly account lives.

In WordPress, open Forms → Settings → Recurly, pick the region, enter the key, and press Test connection. The add-on asks Recurly for your plans and lists a few of their codes, which both confirms the key works and reminds you of the exact plan codes you will map in a moment. Authentication uses HTTP Basic, with the API key as the user name and an empty password, exactly as the Recurly API expects, and every request pins the dated API version Recurly recommends.

Map your form to an account and a subscription

Add a feed to your form under Settings → Recurly. The account email is the only required field; map it to your email field with a merge tag such as {Email:2}. First name, last name, company and phone are optional and mapped the same way. Each submission is given a unique, deterministic account code tied to the entry, and the Update existing option lets you refresh that account with the mapped fields on a resend, or leave it untouched.

The Recurly feed in Gravity Forms: account email, name, company and phone, and an optional subscription with plan code, currency, quantity and add-ons

To start a subscription, turn on the subscription section and give a plan code from your catalog, such as pro. Because it accepts merge tags, a plan chooser on your form can pick it per submission with the :value modifier, for example {Plan:5:value}. A currency sets the billing currency, a quantity field maps the number of seats, and add-on codes are listed one per line as code or code:quantity. The subscription is created with Recurly’s subscriptions endpoint, referencing the account by its code. Full field-by-field notes live in the Recurly add-on setup guide.

Conditional logic and multiple feeds

Each feed has conditional logic, so an account or subscription is only sent when your rule is met: only when a plan is chosen, only for a paid tier, or only for a particular enquiry type. Because a form can have more than one feed, a single pricing form can route a “Basic” choice to one plan and a “Pro” choice to another, each with its own add-ons. Nothing is sent for submissions that do not match, so your Recurly data stays clean.

Safe retries that never double-create

Billing is the last place you want duplicates. If a feed is resent, or Gravity Forms retries it after a hiccup, the add-on will not create a second account or a second subscription. The account is reused by a deterministic code tied to the entry and the feed, and the subscription is created with a matching idempotency key. If an earlier attempt created the subscription but the network dropped the reply, the add-on looks the subscription up on the account and reuses it instead of starting another one. A feed already running for an entry is locked so it cannot be sent twice at once.

A Gravity Forms entry screen showing the Recurly note with the account reference and the subscription reference

Security and privacy

The API key is encrypted at rest with AES-256-GCM, shown masked after it is saved, and never written to an entry note or a log. If you prefer, you can set it with the GFRCL_API_KEY constant in wp-config.php and keep it out of the database altogether. Every request is made over HTTPS with certificate verification on, and the add-on never follows a redirect, so your credentials cannot be bounced to another host. It only ever contacts the Recurly v3 REST API of your chosen region. The connection test and the feed both run behind a capability and nonce check, so only your own staff can trigger them.

What you see on the entry

After a submission is processed, the Gravity Forms entry keeps the Recurly account reference and, when a subscription was started, the subscription reference, alongside a note that records exactly what was done. If something goes wrong, the note says which step stopped and why — a wrong plan code, an invalid email, a key problem — without ever printing your key. Two notification events, “Recurly account synced” and “Recurly sync failed”, let you keep your team in the loop, and the Recurly ids are available as merge tags for those emails.

Who it is for

Any team that signs customers up on their own site and bills them in Recurly: SaaS products with a self-serve plan page, membership and community sites, agencies onboarding retainer clients, and B2B teams turning a sales enquiry into an account record. Wherever a form is the first step and Recurly is where the money is managed, this add-on removes the re-typing in between.

It also fits the many smaller flows that feed billing but rarely get automated: a “request a demo” form that should create a trialling account, an upgrade request from inside your app, a renewal interest form, or an event that should spin up a short-term plan. Each of those is just a Gravity Form with a feed, and each one lands in Recurly as a proper account and subscription rather than a note in someone’s inbox. Because feeds are per-form, you can start with one simple sign-up form and add more over time without touching code.

Why map at the form, not after the fact

Mapping fields once, in the feed, means the data that reaches Recurly is consistent for every submission: the same email normalisation, the same name split into first and last, the same plan code for a given choice. There is no spreadsheet export, no nightly import job and no window where a new account exists on your site but not yet in billing. And because the add-on records the account and subscription references back onto the entry, your Gravity Forms entries become an audit trail that ties each submission to the exact Recurly records it produced — handy when finance asks where a subscription came from.

Get started

Install the add-on, choose your region, connect your key, add a feed, and send a test submission — you will see the account and subscription appear in Recurly within moments, with the references saved on your entry. Ready to connect your forms to your billing? Get the Gravity Forms Recurly Premium Add-on and turn every submission into a Recurly account.

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