#bmizerany1234
1 messages · Page 1 of 1 (latest)
Hello bmizerany1234, 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.
• bmizerany1234, 6 days ago, 14 messages
Hi @crude sapphire can you share with me the subscription ID?
Thanks, let me take a look
https://dashboard.stripe.com/settings/billing/automatic did you set a x number of day for Upcoming renewal events ?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
It is set to whatever the default is
It seems it doesn't allow me to opt out of them. The min is 3 days
In this case you should receive the invoice.upcoming event 7 days before the renewal. I noticed the subscription is cancelled, do you want to create a new one and try again?
Ah the key word is "renew"
I canceled expected to see "invoice.upcoming" since the usage was to be billed immediatly
So my assumption was the "any event that triggers a bill/invoice will cause an invoice.upcoming" to trigger
Can you confirm my thinking is wrong?
No exactly, invoice.upcoming event occurs X number of days before a subscription is scheduled to create an invoice that is automatically charged https://stripe.com/docs/api/events/types#event_types-invoice.upcoming , so it won't occurs for out-of-schedule invoices.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Well. Maybe you can see my confusion:
The lessons here is: I cannot rely soley on invoice upcoming to know if I need to flush usage data. I must also watch for subscription.{changed,delted,updated,etc}
Is there a way to list all subscriptions that have been changed/deleted/whatever since some date?
meh. not sure that helps me