Something to look out for if you use Stripe!

Hey guys!

I’ve noticed something today, which you should keep an eye out for if you use Stripe and s2Member.

I have my Stripe account setup to retry failed payments 3 times, then cancel the subscription on the 4th failure.

In 99% of cases this is fine, but here’s a scenario where a problem can occur.

  • User signs up for monthly membership and pays for month 1.
  • 30 days later, Stripe tries to charge for month 2.
  • Charge fails, and Stripe sets itself to retry the charge 3 days later.
  • Before that retry takes place, user uses s2 cancellation form to cancel subscription.
  • s2 instantly revokes acccess to site, as user is overdue on payment.

…BUT… because Stripe is set to retry charge 3 days later (or however you have recharges setup) IT WILL STILL ATTEMPT TO CHARGE the user 3 days later.

This is because cancellation forms tell Stripe to cancel the sub AT THE END OF THE CURRENT BILLING CYCLE.

As the sub is still active - to try the recharges - the billing cycle actually runs til the end of month 2.

Meaning a user can be locked out of the site via s2, but STILL GET CHARGED ONE MORE TIME before the sub actually cancels in Stripe.

Hope that makes sense.

Is there any setting to make Stripe give you a heads-up when someone cancels via an s2 cancellation form?

That way, it’s easy to check on those subs.

Ross :slight_smile: