#Peter Boyd
1 messages · Page 1 of 1 (latest)
Hello! If you're using Stripe Checkout no, there's no way to display a countdown timer on the Stripe-hosted Checkout page.
Ah ok got it. Does Stripe handle race conditions through quantity? If a product has quantity 1, and two customers are buying the same product in two separate check sessions, will both checkout sessions succeed or will Stripe fail the second purchase?
checkout sessions*
In that scenario two new Subscriptions would be created.
You can't update the quantity of an existing Subscription using Stripe Checkout.
oh these are One-Time payments, not Subscriptions
example being a t-shirt with quantity of 1
only one Stripe Checkout can succeed, but two are intiated at the same time
but we're not going to go with Stripe Checkout
we're continuing to manage the payments on our side
but, we have one more questions
we're talking about cataloging all of our products as Products in Stripe so we can create promo codes for them
sorry, we're discussing internally
I think we're good here.
Gotcha, thank you for the explanation. I will say that flow like this are possible if you are interested in moving from Checkout to your own custom page.
We have these two flows where the page has to talk to your server before confirming a PaymentIntent. So sites that have to keep inventory like to use it to use that interaction to check if the product is in stock and react accordingly
https://stripe.com/docs/payments/accept-a-payment-deferred
https://stripe.com/docs/payments/finalize-payments-on-the-server