• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Remove a Wordpress role automatically

I am using stripe > WP
If they purchase --> add role e.g. "active"

But when they cancel, I don't see a way in WP to remove "active".

Workaround could be -- add "cancel"

But if they re-activate again, then they have active + cancel, and this is not optimal, especially because I am relying on showing different content based on the user role
Ideally I want to remove the role completely in Pabbly (e.g. cancel subscription --> Remove user role)

...But I don't see it anywhere.

Any thoughts?
 
P

Pabblymember11

Guest
Hey @olimckenna

We have added an option in the "Role" field if you want to remove the role in the "WordPress: Update a User" action step.


1686307187423.png
 
Great thank you!
One other thing I am struggling with --> I am creating user meta boxes (with Crocoblock's Jetengine). If I have a value in Pabbly connect, how can I push it to WP to update the user meta box? Now doesn't seem possible at all?
thanks
 
Top