#madmark-subscription-events
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- madmark00178, 7 hours ago, 3 messages
@green patio we describe the Events related to Subscriptions in details in this doc: https://stripe.com/docs/billing/subscriptions/webhooks#events so I'd recommend carefully reading through it and also trying most of this in Test mode
madmark-subscription-events
I've read through that multiple times but i'm still unclear on what would happen if a user upgrades or downgrades their subscription for example
Can you provide any insight?
It depends how they upgrade and what your code does and based on that certain Events would be sent. For example customer.subscription.updated will be sent to reflect the Subscription's Price(s) have changed. If you don't pass proration_behavior: 'always_invoice' then there might not be an invoice.created and/or invoice.paid. Depends on many factors and the best option is for you to try this carefully in Test mode.
Thanks! Will do. I have one more question which i've had a really hard time understanding from the docs.
I'm using a checkout session for new subscriptions on my site, and i plan on using the billing portal no-code link for people to modify their subscriptions. But i need specific behavior with upgrading or downgrading subscriptions. With upgrading, i want users to be charged straight away for the new subscription and the subscription to be changed straight away. For downgrading, i want to delay the change until the next billing cycle (so no charge until then).
I've read a lot about protaiton_behavior but do i need to have a custom biling portal to manage these two different behaviors? Or can i just manage this via my webhook?