#daebak_code

1 messages ¡ Page 1 of 1 (latest)

bright violetBOT
#

👋 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.

wet moatBOT
trim moth
#

correction: i created a payment intent, not setup intent

void wigeon
#

Hello

trim moth
#

Hi bismarck

void wigeon
#

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"?

trim moth
#

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

void wigeon
#

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

trim moth
#

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!

void wigeon
#

Yep

trim moth
#

Thanks a lot for your fast help. Have a nice week