#daniel etc - subscription quantity changes
1 messages ยท Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐
Thanks! ๐
OK so the guidance you got is correct. You can't do what you ask directly in the subscription update
The missing piece is creating the invoice item on the subscription (and customer) not a specific invoice
https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it's then a pending item on that subscription
And you can then generate a one-off invoice for that subscritpion to invoice for pending items:
https://stripe.com/docs/api/invoices/create#create_invoice-subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So yes you would
1/ update the subscription with proration disabled
2/ create the invoice item on the subscription
3/ create the invoice for the subscription to collect "immediate" payment
4/ let the renewal happen for the different amount at normal cycle time
Oh I'm sorry I didn't see you'd replied. Let me read this over.
NP - let me know if you have any questions after trying that out
I think I follow, thanks very much. Hopefully won't get stuck again.
Oh I don't doubt your instructions, there's just always chance I'll get tripped up by one thing or another ๐ Thanks again ๐