#tibo1002
1 messages · Page 1 of 1 (latest)
Completely depends on your integration. Recommend reading this guide: https://stripe.com/docs/billing/subscriptions/webhooks
Ok but how can I know which one is more appropriate ? For example, when a user first subscribes I listen to the 'checkout.session.completed' but is it the best webhook to listen to ? Shouldn't I use a subscription webhook ?
Completely depends on the data you need to receive and store in your app. checkout.session.completed sends a checkout session object, invoice.paid sends an invoice object, payment_intent.succeeded sends a payment intent object, etc
Ok thanks 🙂
It's my first time using Stripe so I'm not familiar with all the nuances between all the different objects.