latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

EOT/Deletion Hooks Confusion

Home Forums Community Forum EOT/Deletion Hooks Confusion

This topic contains 1 reply, has 2 voices. Last updated by  Jason (Lead Developer) 3 years, 11 months ago.

Topic Author Topic
Posted: Wednesday Jan 16th, 2013 at 4:09 pm #37821

For some reason, we have users who are renewing their accounts, so their EOT time will be sometime in 2014 for example, but an eot deletion hook of auto-eot-cancellation-expiration-demotion will come through, so we do certain actions based on the fact that we think their subscription expired, when it actually didn’t.

Is it possible if they’re renewing a subscription this would get triggered? and If so, and perhaps more importantly, how can I only get notified when a members subscriptions expires and they do *not* renew immediately?

Thanks!

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Jan 19th, 2013 at 4:26 pm #38331
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Regarding this EOT/deletion type: auto-eot-cancellation-expiration-demotion

This occurs whenever s2Member’s Auto EOT System (powered by WP Cron) finds a User/Member with an EOT Time that is less than or equal to the current time (e.g. the time at which the CRON job is running). In other words, this event occurs whenever an EOT or deletion occurs, as a result of a customer having been associated with an Auto-EOT Time. s2Member expires the account at the specified Auto-EOT Time.

See: WordPress® -› Users -› Edit any User account and find this section.

It is possible for a User to be demoted (or even deleted) when an EOT occurs (based on your EOT Behavior configuration in s2Member). If they are simply demoted (the default behavior), in the future they might upgrade and/or purchase something new, causing the account to be re-instated. I think this is what you’re describing.

There is no way for s2Member to predict what the customer will do in the future, so all you can do is listen for EOT/Deletion events and react based on what is happening at the present time.

Is it possible if they’re renewing a subscription this would get triggered?

It’s possible. I’m not aware of this occurring, but it IS possible. It just depends on what (if any) notifications that your payment gateway is sending back to your server for s2Member® to process during an account upgrade/downgrade. You can use s2Member’s API Notification for EOTs/Deletions, to listen for events like this.

See: Dashboard -› s2Member® -› API / Notifications -› EOT/Deletion Notifications

If you would like us to review your s2Member log files, we might be able to tell you more about any EOT events that are occuring on your installation, immediately followed by a renewal. If you’d like us to review your log files, please submit those privately. See: s2Member® » Private Contact Form

Please let us know if problems persist :-)

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.