Learn how WP Full Stripe Members works, and how you can configure it to create protected content.
WP Full Stripe Members is a membership add-on for WP Full Stripe that allows you to create protected content that only subscribed members are allowed to view.
Multiple membership tiers are available so you can offer different levels of membership, each one tied to a different subscription plan. Members can use the Customer portal page that allows them to update credit card details, change their subscription plan, cancel their subscription, and download invoices.
This article explains how WP Full Stripe Members works, and how you can install and configure it.
This is a long article, here is a table of contents for easy navigation:
Prospects sign up on the subscription forms of WP Full Stripe.
The sign-up flow looks like this:
Prospect selects a subscription plan, and submits the subscription form.
WP Full Stripe creates a subscription and a customer in Stripe.
WP Full Stripe Members performs the following steps:
3a) Creates a Wordpress user.
3b) Adds the “Subscriber” and membership roles to the Wordpress user.
3c) Creates a member which ties together the Wordpress user, the Stripe customer, and the subscription.
3d) Sends an email to the subscriber with the login credentials (user, password).
WP Full Stripe displays a success message or thank you page to the subscriber.
Please note that you can also import members, or add a member manually.
What happens when a visitor opens a protected content page:
The plugin verifies whether the visitor is logged in to Wordpress.
1a) If not logged in, then the visitor is redirected to the login page of Wordpress.
1b) Once the visitor is logged in, the plugin redirects back to the protected content.
The plugin verifies whether the visitor has the membership level to view the content.
2a) If the visitor is not allowed to view the content, then she is redirected to a configured “You are not allowed to view” page.
The content is displayed to the visitor.
For making a page or page post protected, please refer to the Protecting content section.
Members can take advantage of the customer portal provided by WP Full Stripe to upgrade/downgrade subscriptions, cancel subscriptions, update the card used for subscriptions, and download invoices.
When a member upgrades/downgrades a subscription, the corresponding membership level is set for the member automatically.
The customer portal must be used in Wordpress authentication mode.
Please refer to the How to create a customer portal page for instructions on setting up a customer portal page.
When a member cancels a subscription then her membership is revoked automatically. Similarly, when a member’s payment fails then - after a predefined amount of retries - the membership is revoked automatically as well.
Installation instructions are available in the Managing add-ons knowledge base article.
Separate instructions are available for the add-on purchased on the website and the add-on purchased on CodeCanyon.
Create your subscription plans (recurring prices) on the ‘Products / All products’ page of the Stripe dashboard.
For the sake of demonstration, we’ve created three plans (Bronze, Silver, Gold):
Create an inline or checkout subscription form on the ‘Full Stripe / Subscriptions / Subscription Forms’ page in WP admin.
Make sure to add the subscription plans from Stripe the form will offer to customers:
Get the shortcode of the form, and insert it into a page:
If subscribing to a plan should create a member then you have to assign the plan to a membership level.
You can assign subscription plans to membership levels on the ‘Full Stripe / Settings / Add-ons / Full Stripe Members / Roles’ page in WP admin:
Important notes:
WP Full Stripe Members sends a registration email with login credentials to new members.
You can customize the email template on the ‘Full Stripe / Settings / Email Notifications / Templates’ page in WP admin:
Important notes:
%USERNAME%
- The username of the member (it’s the email address specified on the subscription form) %PASSWORD%
- The generated passwordInsert the [fullstripe_customer_portal authentication="Wordpress"]
shortcode into a page or post you’d like to turn into the Customer portal page:
It’s recommended to review the default settings of the plugin on the ‘Full Stripe / Settings / Add-ons / Full Stripe Members / Settings’ page in WP admin:
Let’s see what these options do:
Setting | Description |
---|---|
No access page | This page is displayed when a logged in member doesn’t have the required membership level to view the content. |
Login cookie timeout | The amount of time (in seconds) a member can be logged in before having to re-log again. |
Enable member status cron job | Turnd on a job that goes through all members daily and checks and updates their subscription status. |
Block members past due | Use this option to block members considered “past due” on their subscription payments. |
In order to protect a page, post, or a content with custom a post type, you must tell WP Full Stripe Members that the content is subscriber only, and also that it’s available at a membership level and beyond.
You can configure content visibility by editing the article, and configuring it in the ‘Status & Visibility’ & ‘WPFSM Members’ boxes:
Do the following:
Important notes:
You can protect fragments of a page, not just entire pages.
For protecting blocks:
[fullstripe_members_display_fragment]
[fullstripe_members_hide_fragment]
Here is an example to display a div if the logged-in user has Silver or higher membership:
[fullstripe_members_display_fragment role="Silver"]
<div>This is a fragment - showing it at Silver or higher</div>
[/fullstripe_members_display_fragment]
Here is an example to hide a div if the logged-in user has Gold or higher membership:
[fullstripe_members_hide_fragment role="Gold"]
<div>This is a fragment - hiding it at Gold or higher</div>
[/fullstripe_members_hide_fragment]
The member dashboard is available on the ‘Full Stripe / Members’ page in WP admin, and the following page appears:
On this page, you can:
You can edit a member by clicking on the email address of the member on the ‘Full Stripe / Members’ page, it opens the ‘Edit member’ page:
You can change the member by entering a new Stripe customer id and/or a new Stripe subscription id.
Please note:
You can add a new member manually by pressing the ‘Add member’ button on the ‘Full Stripe / Members’ page in WP admin, and the following page appears:
You can add a member by entering an email address, a Stripe customer id, and a new Stripe subscription id.
Please note:
You can add members in bulk by importing subscribers from Stripe.
For importing a subscriber successfully, the following conditions must be met:
You can import subscribers from Stripe by clicking on the ‘Import subscribers from Stripe’ button on the ‘Full Stripe / Members’ page in WP admin, and the following page appears:
Press the ‘Import subscribers’ button, and after having processed the data in Stripe, the plugin displays how many subscribers (member candidates) are found:
Press the ‘Import subscribers’ button to proceed. Importing the subscribers takes as while, and then the following summary is displayed:
Please note:
A member can be removed by clicking on the trashcan icon next to the member:
Removing a member removes the membership role from the Wordpress user, and deletes the member record from the database.
IMPORTANT: Removing a member doesn’t delete the Wordpress user, and doesn’t change the Stripe customer and the Stripe subscription.
WP Full Stripe Members provides some Wordress filters that can be used to extend its functonality.
The following sections describe these filters, and contain links to the reference documentation.
In WP Full Stripe Members, the ‘post’ and ‘page’ post types can be protected by default.
You can implement the fullstripe_members_supported_post_types filter to specify which custom post types can be protected.
The filter is applied also to the ‘No access page’ option on the Settings page, so the administrator can select a post of a custom post type.
When a new member is created via a subscription form, the plugin sends a registration email with the login credentials of the new member.
You can modify the contents of this email by implementing the following filters:
In both cases, the template identifier to look for is ‘registrationSuccessful’.
The plugin performs checking permissions for protected content on the server side, which requires running the plugin code for each page request.
Cached content is served directly from the cache, circumventing the server-side checks that ensure that the right content is displayed to the right visitors.
IMPORTANT: Please exclude all protected content from caching.
Our support team is happy to help you.
Contact support
Feature requests are always welcome!
We consider each feature request carefully, and examine how it fits the roadmap for the plugin.