[Resolved] How to expire users that are registered with payment formula (CRED registration)
This support ticket is created 7 years, 9 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
1. Users to pay to register (is possible) and then let their membership be active for one year (just like it's possible for Post Forms). After that year their account should "expire".
2. Also they should receive an email notification warning about the expiration date (just like it's possible for Post Forms) so they can...
3. Easily renew their account with a User Edit Form (also connected to Woocommerce product and expiration after 1 year).
This is Juan, lead Toolset developer. Thanks for your feedback.
We already have some requests about improving our notifications and expiration system for posts, to transform it into something more powerful and flexible, enabling recurring billing (by enabling recurring expirations), so your suggestion to extend this to users managements sounds not only right but natural.
I am creating a ticket for this in our internal system, so we can evaluate and eventually add this to a future development cycle. Please note that this is a complex and big feature (involves several changes in how things work as well as in how things are presented for editing), so I can not make any statement about timing or when this will be available, in case this gets implemented. But as I said it makes a lot of sense, so at least we will consider this very seriously for sure.
I understand this is a big feature and it will take some time to develop. In any case, I truly believe this functionality is the 'holy grail' to make toolset an even more useful product.
Many thanks for taking this seriously, looking forward to the future development.
For now I do following work-a-rounds:
- For user expiration a simple function checking for registration date and after x time reverting the user role to a lower role. Then they can renew manually (via cred-commerce user-form).
- For post renewal: I just show the edit button for a post linking to a cred-commerce edit-post-form when it's expired. And also use the hook for expired posts to lower the level.
Maybe this 'thinking' helps you in automating this.