#tibo1002

1 messages · Page 1 of 1 (latest)

abstract notchBOT
glad raptor
reef bolt
#

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 ?

glad raptor
#

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

reef bolt
#

Ok thanks 🙂
It's my first time using Stripe so I'm not familiar with all the nuances between all the different objects.

glad raptor
#

no worries

#

you can see the objects in our api spec to see the differences