Restricted by Active Subscription

Overview

We are introducing the latest enhancement to our Stripe restriction feature – the "Active Subscription Only" option. With this update, users who are subscribed to a plan or pricing tier but have an inactive subscription will no longer have access to restricted pages, posts, taxonomies, media, or tags. The restriction is specifically tied to an active subscription status.

By default, irrespective of their subscription status (active, inactive, or canceled), users who have subscribed to a plan or pricing tier can view restricted pages through Stripe. However, the newly added "Active Subscription Only" option allows you to enforce restrictions exclusively for users with an active subscription, ensuring more precise control over access to your content.

We recommend reading the Stripe Content Restriction article first to understand this document better.

To enable the  Active Subscription Only feature, go to the content you want to restrict and allow access to only users who have active subscriptions.

  1. Go to wp-admin > Pages and either add a new page or edit an existing one.
  2. In the page settings, scroll down to 'Ultimate Member: Content Restriction' and activate the 'Restrict Access to this post' option.
  3. From the "Who can access this post?" dropdown, select 'Logged in users.' The Stripe restriction feature will only appear if you choose 'logged-in users.'
  4. If you wish to implement content restrictions based on Stripe plans, enable the 'Restrict Access by Stripe Plans' option. Enabling this will reveal additional settings for Stripe content restrictions.
  5. To restrict access to users with an active subscription only, enable the 'Active Subscription Only' setting.

Here is an example of how the functionality works:

To explain how the functionality works, we have created different user roles in wp-admin>Ultimate Member> User Roles. These roles include Active Subscriber, Canceled Subscriber, Past Due Subscriber, Paused Subscriber, Trialing Subscriber, and Unpaid Subscriber.

We have also set these roles in  wp-admin>Ultimate Member> Stripe Plans for the 'Basic Plan - $9.99/month' that we have imported.

We have created a page titled "Blog" and configured its content restriction settings as explained in the section above. 

Both users Jane Doe and Jay Hugh are subscribed to the Basic Plan and have an  active subscription, making them both Active Subscribers.

 Therefore, they can access and view the contents on the Blog page.

When Jane Doe pauses her subscription, her subscription status changes to Paused and her role becomes Paused Subscriber. As a result, she no longer has access to the Blog page.