#t0ddo

1 messages · Page 1 of 1 (latest)

dire onyxBOT
granite wraith
#

Hi there!

#

By "Stripe Checkout" you mean Checkout Session?

#

And what do you mean by double charge exactly? This would only happen if you create two different Checkout Session and the user submit both payment form.

limpid pond
#

I mean the prebuilt Stripe Checkout page

#

We had 5 users get double charged the last 24 hours

#

Probably from clicking the submit button more than once.

granite wraith
#

Yes that's called the Checkout Session

#

Can you share an example of a double charge? For examplen by sharing two PaymentIntent IDs (pi_xxx)?

#

My guess is the issue comes from two things:

  • There's an issue in your integration. Why are you creating multiple Checkout Sessions instead of just one per customer?
  • Why are your users entering their payment details twice and submitting the form twice if they want to only pay once?
limpid pond
#

Yep you're probably right

#

Looking into it

#

I think people might be opening the pay page on multiple tabs

#

And then filling out both of the forms

#

For some reason

#

We don't let them create a checkout session once already paid

granite wraith
#

I think people might be opening the pay page on multiple tabs. And then filling out both of the forms
Yeah I guess this could happen. But one way to fix this on your end: before creating a new Checkout Session, check if there was one created recently for that user that hasn't been paid yet, and use that Checkout Session instead of creating a new one.

limpid pond
#

Thanks

#

Appreciate it