Adding a Link to the Stripe Customer Portal in GravityView

If you use the Gravity Forms Stripe add-on to take payments on your site, you can add a link to the Stripe Customer Portal inside your Views. Clicking on the link will allow users to view their billing history and manage their subscriptions.

If you’re new to the Gravity Forms Stripe Add-On, read this helpful guide to get set up.

Configure Your Stripe Customer Portal

Start by logging in to your Stripe account and configuring the Stripe Customer Portal. To do this, open the Settings page by clicking on the gear icon in the top right. Next, click on Billing under Product settings.

The Settings screen in Stripe

Now you can configure your customer portal by choosing which functions to provide your customers. 

The Stripe Customer Portal options screen

When you’re done, save your changes.

Add the Stripe Customer Portal Shortcode to Your View

The next step is to add the Gravity Forms Stripe Customer Portal shortcode to your View layout. Start by clicking on the Add Field button and add a new Custom Content field to your View.

The GravityView Custom Content fieldNow paste the following shortcode inside the Custom Content text editor:

[gravityforms action="stripe_customer_portal_link"]

The Stripe Customer Portal shortcode inside the Custom Content text editor

When you're done, update your View! 

When customers click on the link, they can see their billing history and manage their subscriptions via the Stripe Customer Portal.

The Manage My Subscriptions link on the GravityView Single Entry Page

For more information about the Gravity Forms Stripe Customer Portal shortcode, check out this article on the Gravity Forms docs site.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us