The user accounts you create using User Forms by Toolset CRED never expire.

If you need to handle time-limited accounts you need to use the WooCommerce Subscription plugin and create new user accounts during the product checkout instead of using Toolset User Forms.

The document explains how to setup the WooCommerce Subscription plugin to create expirable user profiles with a custom role and shows the flow from the end-user perspective.

How to setup WooCommerce Subscription

  1. Install and activate the WooCommerce Subscription plugin.
  2. Go to WooCommerce->Settings and switch to the Subscriptions tab.
  3. In the Roles section setup the following fields:
    • Subscriber Default Role
    • Inactive Subscriber Role

WooCommerce Subscriptions - Subscription tab
WooCommerce Subscriptions – Subscription tab

Subscriber Default Role
The role a user will be assigned when a subscription is activated after a successful purchase.
Here you can also choose one of the custom roles you have created using the Toolset Access plugin.

Inactive Subscriber Role
The role a user will be assigned after the subscription expires. Choose a role that has limited privileges, for example Subscriber.

In your Toolset Access Control panel make sure that the role you have chosen here doesn’t have access to recourses available only for paying members.

  1. Switch to the Accounts tab
  2. Check the following options:
    1. Enable customer registration on the “Checkout” page.
    2. Display returning customer login reminder on the “Checkout” page. (in case a subscriber would like to purchase a premium subscription)
    3. (Optional) Leave the Account creation fields unchecked.

      How to set up the Accounts tab when you use Toolset with WooCommerce Subscriptions
      How to set up the Accounts tab when you use Toolset with WooCommerce Subscriptions
  3. (Optional but useful), Go to Products->Display. Check the “Redirect to the cart page after successful addition” option so that your customer will be redirected to the checkout page immediately after pressing the sign up button

    How to redirect a user to the checkout page after pressing the add to cart (Sign up) button
    How to redirect a user to the checkout page after pressing the add to cart (Sign up) button
  4. Make sure you have at least one proper payment method configured. For example PayPal works very well with WooCommerce Subscription. For testing purposes use your PayPal sandbox.

    You need to have at least one payment gateway configured when testing WooCommerce Subscriptions. PayPal is a good option.
    You need to have at least one payment gateway configured when testing WooCommerce Subscriptions. PayPal is a good option.
  5. Create a subscription. The subscription is a special type of a WooCommerce product, where in addition to the product price you set up how frequently the renewal is required – e.g. every 2 weeks, every month or every 3 years etc.
    1. Go to Products->Add New
    2. Make it Virtual
    3. Switch from Simple Product to Simple Subscription

      Turning a regular Product into a WooCommerce Subscription
      Turning a regular Product into a WooCommerce Subscription
    4. Set up Subscription price and duration time

      Setting up the subscription price and renewal period
      Setting up the subscription price and renewal period
    5. Publish your product.

Buying membership subscription – the flow

Here’s how the premium membership purchase will look from the user point of view.

Step 1
Step 1

Step 2
Step 2

Step 3
Step 3

Step 4
Step 4

Step 5
Step 5

After successful purchase (related order is completed) a new user will appear in the Users panel:

After successful purchase (related order is completed) a new user will appear in the Users panel:
After successful purchase (related order is completed) a new user will appear in the Users panel:

Frequently asked questions

Can I offer a subscription with different prices for different billing periods?

for example: Monthly – price: $10
Every three months – price: $25
Yearly – price $85

Answer: Yes, you can. Use a Variable Subscription instead of Simple Subscription as your product type.

Can I create two (or more) subscriptions with a different role for each subscription?

Answer: No, you cannot.

The role you set up in WooCommerce Subscription (see point 3, part 1) is a global one and applies to all your subscription products.

The only exception would the following case:
Membership role-1 – renewable subscription
Membership role-2 – lifetime subscription

To handle case #2 you don’t use the WooCommerce Subscription plugin but a User Form by CRED connected to a regular WooCommerce product.

Can I add new users with a User Form by CRED (so I can use some additional user fields) and connect it with a Subscription Product the same way I can connect it with a regular WooCommerce product?

Answer: No, you cannot. You either use User Forms with regular WooCommerce Products or you add new users via WooCommerce Subscription.