[Plugin: WooCommerce Subscriptions] Product can add user roles after payment?
-
Thank you in advance for your help.
I have created a hierarchy of custom user roles on the backend of my wordpress site to grant access to certain areas of the site. Now, I want to create a woocommerce subscription product that adds these custom user roles for each successful recurring payment (end of every month). The goal is for the user to gain more access (user roles) as more time passes.
For example:
User roles (already created):
Access Level 1
Access Level 2
Access Level 3
Access Level 4Subscription Product That Can:
Month 1: Successful payment adds USER ROLE: Access Level 1
Month 2: Successful payment adds USER ROLE: Access Level 2
Month 3: Successful payment adds USER ROLE: Access Level 3
Month 4: Successful payment adds USER ROLE: Access Level 4To sum, we are basically looking to automate the process of manually checking the user role boxes for every user upon successful payment.
I will be happy to clarify further.
Greatly appreciated!
- The topic ‘[Plugin: WooCommerce Subscriptions] Product can add user roles after payment?’ is closed to new replies.