Sorry for the hiatus. Had some things happen that kept me away, but I’m back. Don’t worry, s2Member is alive.
Regarding this issue. There are a few of you here with a similar issue, but they’re not all the same. I see two separate things:
An issue with subscriptions that have a paid trial term. If your logs mention “invoice”, this is most likely the case. Only paid trials use invoices as a way to get a payment for the trial term, because Stripe’s subscriptions normally only have free trials. The fix I posted last time addresses this, and I believe it solves it, from what I could see in my tests. This fix doesn’t have a problem if the person tries it again later, even if it’s a day or more. I will include this fix in the coming release. Stripe causing double payments
This strange behavior doesn’t seem to be a bug in s2Member, as in my research of this problem I’ve seen others developers with different integrations, asking Stripe support about random/rare duplicate charges. It’s a network thing that any connection with Stripe could have. Stripe has implemented a way to help prevent duplicates from these, so following the advice of Stripe developers to those reports, I’m working on some changes to s2Member that could be just what’s needed here.