#shehzadnizamani_code
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/1326903774903537744
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
yes that looks correct to me.
and I'll the team working on the documentation to fix the code sample
Hi,
I want to confirm is above code correct, for upgrades we want to charge user immediately so hence I passed proration_behavior:'always_invoice', otherwise I get proration amount for remaining days of current period + whole duration of next period
Thanks for confirming, please confirm my most recent message regarding proration_behavior:'always_invoice'
yep that looks correct! I recommend testing this in test mode to make sure it works as expected. note you can use Test Clocks to help you with this: https://docs.stripe.com/billing/testing/test-clocks
Thanks, yes we have been testing this. You may close this thread