#daebak_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1230520514372698266
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
correction: i created a payment intent, not setup intent
Hello
Hi bismarck
Sounds like you may be using our old server-side confirmation flow here
Is there a reason you are using this flow (where you set confirmationMethod = "manual"?
Yes. We migrate back to the old server side flow. The new flow with its webhook/async behavior is causing us headache because we have to deny that 2 bookings happen at the same time
We sell event tickets and want to prevent selling the same ticket twice. We implemented some sort of "blocking" event tickets that are going to be booked, but it has a big of follow up issues
Yeah I don't think we support Paypal on this legacy server-side flow. You really want to follow https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web
That is the correct flow if you want to use Paypal with server-side confirmation
You shouldn't have any issue with 2 bookings in that flow... you control confirmation from your server so you can check at that point that there is inventory available
Thanks for the link, i will check it out.
Does the new workflow support a behaviour to manually confirm?
So when the user come back from paypal we have a final check if the ticket is still available
your links sounds very interesting. I will check it out, thanks!
Yep
Thanks a lot for your fast help. Have a nice week