#aconn3lly
1 messages · Page 1 of 1 (latest)
No AFAIK. You would want to list all Invoices of it and sum
Sorry, not the total of all invoices but just the current total of the prices x quantities
I've worked it out myself in the past when it's simple unit pricing but we are looking at graduated tiered pricing and seems like we would need to calculate everything that Stripe calculates anyway
Was hoping not to replicate that logic on our side if possible
You can look at the latest Invoice and see what is included in it, no?
Invoice should have Invoice Items, with all the details
Not if they are currently on trial and haven't made a payment yet
How about Upcoming Invoice API?
That works unless there are scheduled changes for the subscription or the subscription is set to be cancelled
Umm so you have a Sub which is on trial, and are scheduled to cancel?
That could happen, by default we set to cancel_at_period_end for the trial, the user needs to add a payment method first for it to continue.
But even for subscriptions that are not on trial if they are set to cancel the upcoming payment will be $0
UpComing Invoice is a preview. When you call the Upcoming Invoice API, you can pass some parameters as the presume conditions, so for example you can ask it to preview "as if" the cancel will never happen
Ohhh that might be the go