My only goal is to have synchronized active and paid subscriptions with Stripe. I'm not sending any warning emails etc. I literally just need to know that user has subscription Premium. When he changes it or it expires just update it. Nothing more.
Stripe - which webhooks to listen to?
I spent last 2 days on this. Can somebody with experience please help?
User can select subscription, then in redirect to Stripe Checkout. User also can visit Stripe Portal, where he can Cancel or Change subscription.
Which webhooks should I listen to catch:
- bought new subscription and is paid
- subscription was successfully renewed for next year and paid
- visited Portal, changed subscription type and is paid
- visited Portal and canceled (probably not needed, as subscription just continues to expiration without renewing)
- subscription expired
There is so many webhooks and every page suggest completely different webhooks. And they contradicts each other (eg. somebody suggests customer.subscription.updated other source says that it not guaranteed that it was paid, other source says use only invoice.payment_succeeded but other source says it doesn't solves switching subscriptions)
Please or to participate in this conversation.