Skip Navigation

[Resolved] How to expire users that are registered with payment formula (CRED registration)

This support ticket is created 6 years, 4 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 6 replies, has 3 voices.

Last updated by Juan 6 years, 4 months ago.

Assigned support staff: Juan.

Author
Posts
#416745

s1

I am trying to combine this logic: https://toolset.com/documentation/user-guides/automatic-post-expiration/
With this: https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/

To provide a true membership site I need:

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).

How can I do all this with Toolset?

Thank you.

#417097

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Dear S1,

Unfortunately, there isn't such a feature within CRED, please check our document:
https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/
After the payment completes, the new user is registered in the site.
Finally, after payment is completed, the order is marked as Complete and the user is registered in the site.

If you agree, we can take it as a feature request. thanks

#417232

s1

Yes, please take it as a feature request. It's the missing link for true membership sites via Toolset.

(Next to recurring billing of course, which is also something I'd love to see for CRED-commerce-enabled-posts.)

#417438

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Thanks, I reassign this thread to our developer.

#417499

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi there

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.

Thanks again for the feedback.

Regards.

#417544

s1

Hi Juan,

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.

Good luck.

#417547

Juan
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi there.

Sure, it helps a lot. At leats it is a starting point and we can learn about the mechanisms that you are using.

Thanks again.

Regards.