wpsharks / s2member

s2Member® Framework (membership management for WordPress®).
64 stars 36 forks source link

s2member not downgrading after cancellation #1167

Open Jaspud opened 5 years ago

Jaspud commented 5 years ago

EXPLANATION OF THE ISSUE

As of mid September, our s2member isn't downgrading people when their subscription is cancelled. They are being cancelled properly in Stripe, the EOT date is being populated, the webhook is showing success, but they keep their membership level after the EOT.

If I recall, that was a few weeks after the latest update (and when we updated ours).

We've been using s2member for years and have several thousand members. This has never been an issue before, and we made no changes to anything with s2member or EOT behavior.

Jaspud commented 5 years ago

Found this thread, testing to see if this is the issue (the field did somehow turn blank so probably is)

https://forums.wpsharks.com/t/eot-downgrades-no-longer-working-pls-help/5472/11

clavaque commented 5 years ago

Hi @Jaspud

Yes, that'd seem to be the relevant conversation. I posted there just now asking for more info to help troubleshoot this. Please add your comments there if you have any additional info you could contribute!

Thanks. :)

Referencing #1130.

Jaspud commented 5 years ago

Hi @clavaque!

This definitely fixed the problem immediately. I'm about 90% sure it came when we upgraded the s2member program. I can confirm no other changes were made to s2 at all during that time period. We operate on a dedicated server and don't really do much else with WP-cron (as mentioned in the article).

I'm adding it to my list of weekly checks and will let you know if it comes up again and try and track anything that is changed at the time that might be affecting it.

Hope some of this helps!