#metal_monk
1 messages · Page 1 of 1 (latest)
I don't think it's possible to preview when the cancellation is immediate unfortunately. You could retrieve the upcoming Invoice and specify subscription_cancel_at (https://stripe.com/docs/api/invoices/upcoming?lang=curl#upcoming_invoice-subscription_cancel_at), but I'm not sure if that would solve your issue or not. You'd still have to specify some time in the future
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hmm I'll mess around with matching subscription_cancel_at to some time slightly in the future, and using subscriptions.update with cancel_at to the same timestamp. I was just wondering if there was a correct way to do it that aligns with the way it works in updates. Is there a way to see if this is on the product road map? The use case seems pretty standard: customer upgrades from monthly to annual subscription, triggering a cancellation of the monthly and creation of annual, and we need to show the user the accurate prorated amount they will be charged for their upgrade.
That's a great feature request. I can surface that to the product team, but I don't really have good visibility into their product roadmap