#Preet
1 messages · Page 1 of 1 (latest)
What is 'Stripe payment page'? Checkout?
You should be handling this async with webhooks, not on a success page: https://stripe.com/docs/payments/checkout/fulfill-orders
For this exact reason – there's no guarantee that any code/logic on your success_url is ever executed
any idea then how i can go about updating the information in my database after the purchase?
Sure, you'd add that code into the webhook that receives the checkout.session.completed events with details on the session/payment
ok i will look into it, thanks!