#tymm_unexpected
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/1242307055021457519
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
When the subscription item is updated, the subscription will be updated immediately: https://dashboard.stripe.com/test/logs/req_nCGYbNjsahFlhz
If you wish to update the subscription in the future date, Subscription Schedule should be used: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#changing-subscriptions
can u check this subscription: sub_1PIiraLouXJU4FDJsBWlF14j
im calling the same api, except the subscription item that i change from and to are both monthly billing items.
no invoice was created
this is the subscription that i change the subscription item from a yearly billing item to a monthly billing item sub_1PHFGRLouXJU4FDJMsdiRG3T
In https://dashboard.stripe.com/test/logs/req_rn2hAUxhEW2jWu, I could see new invoice created: https://dashboard.stripe.com/test/invoices/in_1PIishLouXJU4FDJfzpVZ68F
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ignore that. that is expected since it's an upgrade (pioneer -> plus) plan. please look at the current plan (pro) which was from (plus -> pro rm1000 -> rm500) no invoice is created for that
This is expected since your request https://dashboard.stripe.com/test/logs/req_hUn7DGTJn8qiCE set "proration_behavior": "none", i.e. no proration will be calculated which no invoice will be created, but the subscription was still updated to the new price immediately
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Could you share what you're trying to achieve?
if u check my first message the request: req_nCGYbNjsahFlhz specifically set proration behavior to none
this is the request for this subscription sub_1PHFGRLouXJU4FDJMsdiRG3T
in my prod environment, this is how i update the subscription item of an ongoing subscription. because in case of a downgrade, eg: from a 1000myr item to a 500myr item, i want stripe to issue invoice on the next cycle
Found the reason of the difference in the behaviour: https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#proration
Stripe immediately attempts payment for these subscription changes:
When the billing period changes
In req_nCGYbNjsahFlhz, it was changed from yearly to monthly, so invoice was created.
In req_hUn7DGTJn8qiCE, the new price remained as monthly, so no invoice was creatd
When there is any change in the billing period, invoice will be created regardless whether what has been set on proration_behavior