#tonz_subscription-events
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1293254511615545466
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- tonz18_webhooks, 8 hours ago, 31 messages
- tonz18_webhooks, 1 day ago, 18 messages
tonz_subscription-events
Hey @latent rune I recommend taking some time to first carefully read through https://docs.stripe.com/billing/subscriptions/webhooks which explains all our Events
Then try to reproduce some of those scenarios in Test mode and look at the exact Events we emit. This will show exactly what you need.
yes I have im just confused to know which webhook is called when. I think its customer.subscription.deleted but im not sure if that called when the customer cancels or when the subscriotion is actually ended
Sure but you are the developer here. You can try and see what happens in Test mode right? That way you will know for sure and you also learn how to self-serve this quickly on your own!
sure, but stripe is a complex system, therfore reaching out for best practices with people that know the system.
and what about upgrading a current user from plan a to plan b?
whats the best way to set this up?
Please try it. We can help you but you need to do your part first as I see you already had multiple threads about this topic
As the developer you can test all of this flow end to end. Then you can ask a question about what you see with a clear example, instead of a meta question
I get wanting a definitive answer but then you could use that argument to ask everything instead of trying yourself. So please try first
Well thats quite a poor response actaully.
billing is quite a serious part of a app that should be done right
and asking for clarification on processes shouldnt be a issue, consider we pay for stripes service.
I'm asking you to do your part first and try those flows and see what you see. If you need confirmation after that we can help. Sorry that you find it a poor response, but here we're developers helping developers in real time with their code and implementation and we do expect you to first try things so that we can guide you to learn and self serve instead of just giving answers.
you havnt given me any code, I have done it all myself. Im asking best practice questions.
You're asking what happens when you change a Subscription from Price A to Price B right? I'm asking you to try and see what happens. Can you do that? If you have a question after that you can share that exact Event id and ask what you are confused about or what doesn't match our docs
Like questions i previously asked shared to use invoice.paid to confirm payment
I dont even know where to send the customer to get this done, I know what webhook to listen too, well i think i do customer.subscription.updated but im not even sure if that will confirm the upgrade payment
Hello! I'm taking over and catching up...
Thanks Rubeus
Where to send the customer as in where to send them to upgrade/modify an existing Subscription?
yeah, I just created the billing portal but thats only showing current plans
Or are you trying to write code to modify a Subscription?
Yeah, the Customer Portal is only for modifying existing Subscriptions or Payment Methods. Are you trying to create a new Subscription?
if a active subscribed customer is currently on plan A but wants to upgrade to plan B (plan B costs more)
You can use the Customer Portal for that as long as the Portal is configured to do so and the Subscription can be upgraded by it (meaning it's not subject to one of the Portal's limitations).