Stripe Duplicated Payment maybe when refreshing page?

Hi

S2Member has done a duplicated payment with 3 hours of difference.

According to my investigations it happened because the customer accesed the web a second time and she refreshed the payment page.

I was able to refund it but I have lost the Stripe’s commision.

Stripe customer suppor recommended me to implement Idempotent Request in the api

https://stripe.com/docs/api/idempotent_requests

I think this will be interesting for all of us.

Does any one here know about this?

I’ll thank any help

Thank you.

Thanks for documenting the double payment problem. We have a couple of posts also documenting the double payments issue.

In Stripe causing double payments you will find a patched s2member that contains an idempotency fix.

@clavaque - you have an idempotency use-case in the wild :slight_smile:

Thanks!