#meek
1 messages · Page 1 of 1 (latest)
invoice.paid is typically the event that we recommend listening to for subscription payments though payment_intent.succeeded would definitely work too
Thank you. And once that event is called, how can i verify that they upgraded a plan rather than downgraded?
Meant to ask about that. How is your integration upgrading or downgrading their subscription? Are you making the API call yourself or is this from the Customer Portal?
In that case your integration should know that it has upgraded that subscription already right?
If you aren't storing that state then, the invoice object in the invoice.paid event should have the price ID of the price your user is subscribed to in its invoice items