#Anil

1 messages · Page 1 of 1 (latest)

sage coralBOT
slow cape
#

Hi there, I don't quite understand what you wan to achieve, can you elaborate?

violet creek
#

For subscription in docs step4

#

I am doing checkout with checkout.sessions.create and returning success url as redirect from the server.

slow cape
#

OK, keep going.

violet creek
#

Can you please let me know after redirecting where to call the webhook end point.

#

Should i call it before redirecting

slow cape
#

So you want to create a webhook endpoint to listen to checkout.session.completed events?

violet creek
#

Yes. After done with the subscription i want to listen these events and have to apply some conditions.

slow cape
violet creek
#

I am checking this docs. So after getting the success url I have to call this webhook ?

slow cape
#

You don't call the webhook, Stripe will send the webhook events to your webhook endpoint