#boggerss_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1328355976566276201
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What is the correct process for adding a subscription item to the existing subscription then getting an up to date invoice for both items
Do you have an examplesub_xxxwhere you've tried this
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yeah so that request added a subscription item to an existing subscription
The invoice on that subscriptions is draft
I would have expected this request to create an invoice with two subscription items since I referenced the existing subscription
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You'd need to reset the billing anchor to now
Is that a subscription property
Sorry asking silly ones there found the property
So when I update the property do I create another invoice and pass in the subscriptionId
Or do I just reset the anchor and that will update the existing invoice?
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 latter. It won't update the invoice, it'll issue a new invoice as of now with the 2 items
You can then void the old
Thank you for your help!
No problem, glad I could help!
@austere hawk when resetting the billing cycle is this going to prorate everything based on the initial creation date?
I'm seeing this sort of behaviour and wondered if its preventable
Potentially, but you can pass proration_behavior: 'none' in your update call
Perfect thats sorted everything i need there have a good day @austere hawk