#ShaneCB - free to chargable
1 messages ยท Page 1 of 1 (latest)
yeah I thought it would open a thread and avoid adding a massive message ๐
One possible middleground that I can think of would be using the upcoming invoice API to preview what the prorations might be and then add an invoice item that represents the price difference
hmm ok... but would I not have to add the chargeable items before I could preview the price difference?
Luckily not, you just provide the items you want and it calculates what that proration would look like vs the current subscription https://stripe.com/docs/api/invoices/upcoming
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The one thing I am thinking of is that if you do that you would have to keep in mind multiple prorations happening during that period
yeah that's the kicker isn't it
and also if they remove an item too I guess
but I'll take a look at that anyway - at least I've got a couple of options now
Yeah, maybe you can always provide the IDs of all of the things that you want to add and just remove the latest item and add a new one.
I definitely think your $1 option is a viable fallback if nothing else works out. You can even refund the $1 I think.
yeah I was thinking that - just credit it on the following month. Might look a bit odd to the customer but defo not as strange as changing the whole billing cycle!