#Naveed | Web3Auth
1 messages · Page 1 of 1 (latest)
👋 happy to help
the event that you should listen to is invoice.paid
you can read all about the different types of subscription events here https://stripe.com/docs/billing/subscriptions/webhooks#events
There also seems to be an invoice.payment_succeeded event
And why do the docs recommend listening to the customer.subscription.created, customer.subscription.updated, and customer.subscription.deleted events for provisioning access? https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#provision-access
the difference between invoice.payment_succeeded and invoice.paid is that the former would only fire when there's a payment on the invoice whereas a 0$ invoice (e.g. trial, discount, etc.) wouldn't fire invoice.payment_succeeded but invoice.paid will