Skip Navigation

[Resolved] Toolset Access + Woocommerce Subscriptions

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.97 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 3 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1672725

Hello, how are you?

I am developing a membership site with your plugins and I have a question.

My website needs subscriptions, and unfortunately the payment gateway we will use made a plugin that only talks to "Woocommerce Subscription".

I would like to know if "Toolset Access" integrates with "Woocommerce Subscription", that is, it automatically controls access to pages (lock / unlock) according to the user's payment status.

I'm waiting.

Thank you

#1673213

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no way directly to (lock / unlock) pages bases on the user's payment status.

Toolset Access offers the way you can show/hide content on the page using [toolset_access] shortcode where you can control the output based on the assigned role:
=> https://toolset.com/course-lesson/access-control-texts-inside-page-content/

If you want to restrict the specific post/page, you need to create a post group and add the post to the post group but again its based on the role not the payment status.
=> https://toolset.com/lesson-placement/lesson-placements-1645837-1655635/
=> https://toolset.com/course-lesson/restricting-access-to-pages/

There is no way restrict the page content based on the payment status but yes, if you want to display the conditional content based on the payment status, you should check the [wpv-conditional] shortcode.
=> https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/

We also offer conditional block as well using which you can display the conditional blocks if you are using Toolset blocks.
=> https://toolset.com/course-lesson/using-toolset-conditional-block/

#1681313

Hello Minesh, how are you!

I think I ended up expressing myself badly. when i said "based on payment status" i meant if the plugin you recommend, "woocommerce subscriptions", if it controls the access of the pages, along with other plugins, automatically.

that is, a user:

-not paid the month: the payment gateway notifies the subscription plugin, which "magically" blocks the pages.

- made the month's payment: the payment gateway notifies the subscription plugin, which "magically" unlocks the pages.

when I say "magically", it means I don't know what exactly it does, if the subscriptions plugin talks to "woocommerce memberships" or "toolset access" or other plugins, it doesn't matter to me, what matters is locking and unlocking pages correctly.

this the toolset does correctly?

#1682453

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Please check the following Doc:
- https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/how-to-use-the-woocommerce-subscriptions-plugin-with-toolset/#how-to-setup-woocommerce-subscription

With above doc, you need to check mainly two section:
- Subscriber Default Role
- Inactive Subscriber Role

Where " 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 (as Inactive Subscriber Role) doesn’t have access to resources available only for paying members.

You can create a post group:
=> https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/restricting-read-access-specific-pages-posts-members/
=> https://toolset.com/course-lesson/restricting-access-to-pages/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.