#tymm_unexpected

1 messages ¡ Page 1 of 1 (latest)

main frigateBOT
#

👋 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.

heady sentinel
#

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

Learn how to use subscription schedules.

runic orchid
#

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

heady sentinel
#
runic orchid
#

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

heady sentinel
#

Could you share what you're trying to achieve?

runic orchid
#

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

heady sentinel
#

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

Learn how to upgrade and downgrade subscriptions by changing the price.

#

When there is any change in the billing period, invoice will be created regardless whether what has been set on proration_behavior