#john_entitlements-modeling

1 messages ¡ Page 1 of 1 (latest)

sour frostBOT
#

👋 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/1304125007592558624

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

limpid oasis
#

I would have 2 products here, you offer different services with each one

#

john_entitlements-modeling

gloomy prism
#

Ok that would allow us to use entitlements, which would be helpful. But it seems upgrading/downgrading gets pretty complicated

limpid oasis
#

upgrading/downgrading works the same whether you use one or multiple Products since it's at the Price level

gloomy prism
#

Hmm, I'm misreading the docs then I guess. If a user is on the basic plan and upgrades to premium:

  1. With just one product with multiple prices (price basic, price premium), it seems we could just change the price they are subscribed to. We don't have to worry about start/end dates of the subscription

  2. With two products, don't we have to do some manual work related to ensuring the added premium product matches up in terms of subscription start/end dates?

limpid oasis
#

yes you are misreading the doc. The Product doesn't really matter here. Customer has a Subscription sub_123 on Price price_A that is $10/month. You can upgrade it to Price price_B for $19.99/month without any change to the billing cycle, and we even calculate the proration for you between the 2 Prices.

gloomy prism
#

Ok so it doesn't matter if price_B is attached to a product the user is subscribed to or not. There's a subscription object, and any prices (on any product) can be attached to that subscription and proration will be handled

limpid oasis
#

yes

gloomy prism
#

Got it, thanks a lot that answers all our questions about this I think