#vv_docs
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/1302893134191132693
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hi there, you should update the subscription and set cancel_at_period_end to true https://docs.stripe.com/api/subscriptions/update?lang=python#update_subscription-cancel_at_period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you change your mind, set it to false before the period end
Thanks
I have another question about upgrade plan
I upgrade the plan according to https://docs.stripe.com/api/subscription_items/update
Can I charge it immediately rather than the next period?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sure, set https://docs.stripe.com/api/subscription_items/update#update_subscription_item-proration_behavior to always_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.
Thanks~~
I have another question about add on another subscription Item (another product)plan
The original plan was to charge on the 5th of every month.
I purchased a new product on the 15th and need to charge it immediately. (Question1)
Can I charge the two products together on the 5th? (Question2)
Sure, if both prices are in the same billing interval (i.e., monthly) you can set proration_behavior to create_prorations and Stripe will create an invoice that include both prices in the next billing cycle.
hi! I'm taking over this thread. let me know if you have other questions.
How about it? I purchased a new product on the 15th and need to charge it immediately.
I will charge it from 15th to 5th right?
If both are the same billing interval
are you talking about updating an existing subscription with a new recurring price?
i have already a subscription
And I add on another subscription item
so new there are two subscription items in the subscription
you could use proration_behavior: always_invoice https://docs.stripe.com/api/subscriptions/update?lang=dotnet#update_subscription-proration_behavior
So one is question is that I will charge it from 15th to 5th right?
So I will create another subscription Item first using https://docs.stripe.com/api/subscription_items/create?lang=dotnet?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then update it?
I recommend testing this in test mode using Test Clocks, and see exactly what happens