How to a Create Content Paywall using Gravity Forms

Gate your best content, like courses, videos, guides, or exclusive downloads, behind a payment form. No logins needed.

  1. 1 – Set Up the Payment Form
  2. 2 – Gate Content
  3. 3 – Set Access Duration
  4. 4 – Customize Paywall Message
  5. Global Defaults
  6. Taking It Further

Gating content is a great way to capture leads and grow your email list. Take it a step further and you can use that same gating power to sell your best work, like courses, ebooks, video tutorials, or exclusive guides.

Sure, some people think paywalling content means setting up a complex membership system with logins, passwords, and a bunch of plugins. But with Gravity Forms, there’s a simpler way.

Pop in GP Submit to Access and you can gate just about any content on your site. Want to lock it behind a payment form? Absolutely. Let me walk you through it.

This article requires the Gravity Forms Submit to Access perk.

Buy Gravity Perks to get this perk plus 50 other premium Gravity Forms plugins!

View Plugin Buy Now

1 – Set Up the Payment Form

Before you can gate any content, you’ll first need a payment form connected to a payment gateway.

When it comes to payment gateways, Gravity Forms is incredibly flexible. Whether you use Stipe, PayPal, Square, etc., the magic works all the same. If you’re not sure which one to go for, we’ve got a comprehensive guide to Gravity Forms payment gateways that’ll help you choose your best fit.

For this tutorial, we’ll use the official Gravity Forms Stripe add-on. But feel free to swap in your preferred gateway.

  1. Go to FormsAdd-Ons and install the payment gateway of your choice.
  2. Go to FormsSettings and check if your payment gateway is now connected.
Gravity Forms Stripe add-on settings page displays a configured and connected payment gateway.
  1. Create a new form (or use an existing one).
  2. Add a Product Field. If you’re charging for a single piece of content, set your price and Disable quantity field.
  3. Add the Payment Field for your payment gateway.
  4. Add any other fields you need: Name, Email, etc.
  5. Save the form, then go to the forms Settings › set up a payment feed.
A Stripe feed shows the payment amount mapped to the product field in the form.

If you need help connecting and setting up feeds for your payment gateway, check out our step-by-step guide for setting up payment gateways in Gravity Forms.

2 – Gate Content

GP Submit to Access offers three ways to gate content: an entire page, by specific blocks, or behind a shortcode.

For this guide, we’ll gate a specific block. This method works great if you want to keep some content free and only charge certain sections.

  1. Open your Spellbook › activate GP Submit to Access.
  2. Navigate to the page where the content lives › select the block you want to gate.
  3. Open the block’s settings › Enable Submit to Access.
  4. Under Required Forms › select the payment form › Save.
A video block is selected in the page editor, with Submit to Access enabled and a payment form selected under required forms.

3 – Set Access Duration

After someone pays, how long can they access the content? That can be up to you! For example, a 24-hour video rental would need different settings than a course with lifetime access.

GP Submit to Access lets you control exactly how long access lasts after payment.

To do this, open the gated block’s settings › click Access Duration, and choose from three options:

  • Browser Session: Expires as soon as the visitor closes their browser.
  • Forever: Lasts indefinitely (as long as the user’s browser cookies aren’t cleared).
  • Custom: You set the minutes, hours, days, weeks, or months.
A video block is selected in the page editor, with Submit to Access enabled and the Access Duration is set to 'Custom' at '24 hours'.

Other real-world examples:

  • If you’re selling a limited-time course, you can set Custom access for 30 days.
  • Offering a lifetime access to a resource library? Choose Forever.

4 – Customize Paywall Message

Without clear communication, a paywall can feel like a dead end rather than a door. A simple, friendly message goes a long way in explaining what’s behind a paywall and why it’s worth unlocking.

Here’s how:

  1. Navigate to the block you’ve gated on your page.
  2. Open the blocks’s settings › go to Requires Access Behaviour › select Show Message.
  3. Write your message in the Requires Access Message field.
A video block in the page editor shows a custom paywall message and a payment form with card details being entered and submitted, which unlocks the gated video content.

Pro-tip

You can move the form’s position inside the message. Just add the {form} tag exactly where you want it to appear.

Global Defaults

You can set site-wide defaults for Access Duration and Paywall Message. These apply to all gated content on your site unless you override them individually.

To do this, go to FormsSettings Submit to Access.

GP Submit to Access default settings page displays Access Duration, Requires Access Message, and Loading Message fields with custom values.

Here, you can also change the Loading Message, which is the brief message people see while the content is loading.

Taking It Further

Here are some more handy tricks to level up your content paywalls:

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.


This field is for validation purposes and should be left unchanged.
Grab a bundle of free Gravity Forms plugins

Enter your email and receive our most popular free plugins and snippets, plus access to hundreds of others.