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

Gravity Forms Stripe Identity Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Payments & Pricing
On this page
  1. Video walkthrough
  2. What you need
  3. Step 1: install and connect
  4. Add the webhook in Stripe
  5. The other settings
  6. Step 2: add a feed to a form
  7. Check
  8. Live capture and allowed documents
  9. Store the status in
  10. Hold the form notifications
  11. Return URL and condition
  12. What happens after a submission
  13. Merge tags and notification events
  14. Safe retries and bulk actions
  15. The verification statuses
  16. Cost and test mode
  17. Privacy
  18. Troubleshooting

Video walkthrough

Gravity Forms Stripe Identity Add-On Setup Guide: ID Verification Feed (WordPress Side)
Video setup guide: Gravity Forms Stripe Identity Watch on YouTube

The Gravity Forms Stripe Identity Premium Add-on checks that the person behind a submission is who they say they are, through your own Stripe account. When a form is submitted, a feed starts a Stripe Identity verification session, the visitor is sent to Stripe to photograph a government ID and take a matching selfie, and the result comes back to your site through a signed webhook. The verified status is written to the entry, so you can hold a confirmation email, unlock a membership or flag an application only once the identity is confirmed.

What you need

  • WordPress 5.8 or newer, PHP 7.4 or newer and Gravity Forms 2.5 or newer. Tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • A Stripe account with the Identity product enabled. You pay Stripe directly for each verification; nothing goes through GravityExtra.
  • Your Stripe secret key (it looks like sk_live_ followed by letters and digits, or sk_test_ while you try it out) and the signing secret of a webhook endpoint you add in Stripe (it looks like whsec_ followed by letters and digits).
  • Your GravityExtra licence key. Without an active licence nothing is verified and the entry gets a note that says so.

The add-on follows the Stripe API reference read on 27 October 2026 (API version 2024-06-20): it creates a session with POST /v1/identity/verification_sessions, reads it back with GET /v1/identity/verification_sessions, and checks every webhook with the Stripe-Signature header. Every call goes only to api.stripe.com, with the header Authorization: Bearer and your key.

Step 1: install and connect

  1. Upload and activate the add-on in Plugins.
  2. Open Forms → Settings → Stripe Identity and activate your licence key.
  3. Paste your Stripe secret key and press Save. The key is encrypted before it is stored.
  4. Press Check the connection. The add-on asks Stripe for the account with the saved key. Nothing is created and nothing is charged. A restricted key that cannot read the account still passes the check, as long as it can create Identity sessions.
The Stripe Identity settings screen in Gravity Forms: the licence box, the encrypted Stripe secret key, the webhook signing secret, the webhook endpoint URL, the default return URL, the selfie default and the Check the connection button
The settings: your own Stripe secret key and webhook signing secret, stored encrypted, and the webhook endpoint to add in Stripe.

The secret key and the webhook signing secret are encrypted before they are saved, with a key made from your site’s own security salts, and they are never shown again. Leave a box empty to keep the stored value, or tick Remove the stored secret key and webhook secret when saving to delete both. The add-on only ever sends the key to api.stripe.com, so it can never reach anywhere else.

Add the webhook in Stripe

Stripe tells your site the result of each check by calling a webhook. The settings page shows the exact endpoint URL to use. In your Stripe Dashboard open Developers → Webhooks, add an endpoint with that URL, and subscribe it to the events identity.verification_session.verified and identity.verification_session.requires_input. Stripe then shows a signing secret that starts with whsec_. Paste it into the add-on settings and save. Every webhook the add-on receives is checked against that secret, and a request with a missing or wrong signature is rejected, so no one can fake a verified result.

The other settings

  • Default return URL: where Stripe sends the visitor after the hosted flow, for example your thank-you page. A feed can set its own. Leave it empty if you embed the flow instead of redirecting.
  • Selfie by default: when on, new feeds ask for a selfie that matches the document. You can change this per feed.

Step 2: add a feed to a form

  1. Open the form, go to Settings → Stripe Identity and press Add New.
  2. Give the feed a name that says what it does, for example Verify member.
  3. Choose the Check, the documents you accept, the status field and whether to hold the notifications.
  4. Turn on the Condition if only some entries verify, then save.
A Stripe Identity feed: the document-and-selfie check, the ID number option, live capture, the allowed documents, the field that stores the status, the hold-notifications option, the return URL and the condition
A feed: the check, the documents you accept, where the status is stored, held notifications and the condition.

Check

Choose Document and matching selfie for the strongest check: the visitor photographs a government ID and takes a selfie that Stripe compares with the photo on the document. Choose Document only to skip the selfie. Tick Also collect and verify an ID number when you need the document number as well.

Live capture and allowed documents

Leave Require a live photo on so the visitor must take the picture on the spot instead of uploading a saved image. Under Allowed documents, leave every box off to accept any supported document, or tick driving licence, passport or identity card to limit what Stripe accepts.

Store the status in

Pick a form field and the add-on writes the verification status to it on the entry: pending while the visitor is being verified, verified once Stripe confirms, failed when it does not pass. A hidden field is a good choice. This is optional; the status is always kept on the entry and in the merge tags whether or not a field is chosen.

Hold the form notifications

When Hold the form notifications until the visitor is verified is on, the form’s own notifications (for example the admin alert or the user confirmation on submit) are held back until Stripe reports the submitter verified, and then sent. The three Stripe Identity events below are always sent. Use this so a welcome email never goes out before the identity is confirmed.

Return URL and condition

The Return URL is where Stripe sends the visitor after the hosted flow for this feed; it may use merge tags. The Condition works like Gravity Forms notifications: verify only the Gold plan, only when a box is ticked, only for one country, and so on. A form can have as many feeds as you like.

What happens after a submission

The entry is saved and the confirmation is shown at once. For each matching feed the add-on creates a Stripe Identity verification session through your account and stores its id and the Stripe-hosted URL on the entry. Send the visitor to that URL with the {identity_url} merge tag in the confirmation redirect, or embed the flow with the {identity_client_secret} merge tag and Stripe’s own script. The visitor photographs the document and, when asked, takes a selfie.

Stripe checks the documents and calls your webhook with the result. The add-on verifies the Stripe-Signature, writes the verified or failed status to the entry, updates the status field, fires the matching notification event and, when the feed holds notifications, releases them. Every step is written to an entry note with the session id and, on a failure, Stripe’s reason.

The Stripe Identity box on a Gravity Forms entry: the feed, the verified status, the session id and Stripe's status
Every verification on the entry: the feed, the status, the session id and Stripe’s reason for a failure.

Merge tags and notification events

Four merge tags are available in confirmations and notifications: {identity_status} (pending, processing, verified, failed or canceled), {identity_url} (the hosted flow), {identity_session_id} and {identity_client_secret}. Add _ and a feed id, for example {identity_status_3}, to read one feed. Three notification events fire on the form: the verification has started, the submitter was verified and the verification failed or was cancelled.

Safe retries and bulk actions

If Stripe cannot be reached when the entry is saved, the add-on tries again in the background and the visitor never sees an error. Each attempt carries an idempotency key, so a retry reuses the same session and never creates a second one. From the entry list you can Start Stripe Identity for entries that have none yet, or Start Stripe Identity again to open a fresh session, for example after an applicant failed the first time.

The verification statuses

A session moves through a small set of states, and the add-on maps each to a plain status you can act on. Pending means the session has been created and the visitor has not finished yet. Processing means Stripe is checking the documents. Verified means the submitter passed. Failed means Stripe could not verify them and carries a reason, for example an unreadable document or a selfie that did not match. Canceled means the session was stopped before it finished. The status field, the {identity_status} merge tag and the entry box all show the same value, so a view, an export and a conditional email stay in step with what Stripe reported.

Cost and test mode

Stripe charges your account for each verification session that a visitor completes, at the price in your Stripe agreement; the add-on never adds a fee. A session that is created but never finished is not a completed check. While you build the form, use a Stripe test secret key and the test webhook signing secret: Stripe’s test flow lets you walk through a pass and a failure without a real document, so you can confirm the redirect, the webhook and the held notifications before a single real visitor arrives.

Privacy

The identity documents and the selfie go to Stripe, not to your site and not to GravityExtra. Stripe processes them under its own terms and returns only the verification status and a session id, which the add-on stores on the entry. The add-on adds a note to the WordPress privacy policy guide to help you describe this to your visitors.

Troubleshooting

  • Results never arrive: check that the webhook endpoint in Stripe uses the exact URL from the settings page and that its signing secret is saved here. A wrong secret makes the add-on reject the event.
  • The check button fails: save the secret key first, then press Check the connection; the message says whether Stripe accepted the key.
  • The entry says the licence is not active: activate your GravityExtra licence key in Forms → Settings → Stripe Identity.
  • Testing: use a Stripe test secret key and the test webhook secret to walk through the whole flow before you go live.

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