#.spera
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
You can use this: https://stripe.com/docs/api/invoices/upcoming
hello, this does not work for canceled subscriptions. I need to get the total for a renewal
(which is not actually happening if it stays canceled but we need the total if the subscription were active)
I would advice you to create a new Subscription at this point.
there might not be a new subscription. we need it for reporting purposes
I think it's easier to recalculate it yourself then.
why does the upcoming subscription endpoint not even work for subsriptions that are canceled in the future?
I get:
No upcoming invoices for customer:
but if I set the subscription_resume_at to now I get
"You can only resume a subscription if it is paused.",
okay, it works if I set this
subscription_cancel_at_period_end to false
Yes, you can't resume a cancelled/scheduled to cancel Subscription.