#Anil
1 messages · Page 1 of 1 (latest)
Hi there, I don't quite understand what you wan to achieve, can you elaborate?
For subscription in docs step4
I am doing checkout with checkout.sessions.create and returning success url as redirect from the server.
OK, keep going.
Can you please let me know after redirecting where to call the webhook end point.
Should i call it before redirecting
So you want to create a webhook endpoint to listen to checkout.session.completed events?
Yes. After done with the subscription i want to listen these events and have to apply some conditions.
Ok, https://stripe.com/docs/webhooks/quickstart I'd suggest you to follow this guide to get started with webhooks
I am checking this docs. So after getting the success url I have to call this webhook ?
You don't call the webhook, Stripe will send the webhook events to your webhook endpoint