#thebeard_price-modeling

1 messages ¡ Page 1 of 1 (latest)

long flumeBOT
#

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

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

rigid stone
drowsy gyro
#

@rigid stone you are supposed to use different Products for those. Not the same Product.

#

thebeard_price-modeling

#

It's not possible to add extra information for each Price if they roll under the same Product.
So you should have a Product prod_123 for Pro Plan and then a product prod_ABC for Pro Plan metered usage or something like this.

rigid stone
#

but then how do we group them under a plan/product?

drowsy gyro
#

You don't. It's not really how things work on our end, we don't expect you to have multiple Prices under the same Product all in one Subscription

long flumeBOT
rigid stone
#

so whats the use case behind multiple prices? so each price could refer to a plan(like hobby, pro - plans on our end and not stripe plan) then?

#

but whats the default price then?

untold dock
#

Hello
There are different pricing models where having multiple prices make more sense versus your usecase where you're tracking metered usage.. In your usecase, different products make more sense. We have docs on pricing models here: https://docs.stripe.com/products-prices/pricing-models

but whats the default price then?
do you mean on a Product object?

rigid stone
#

do you mean on a Product object?
yes

untold dock
#

A product can be associated to multiple prices / you can create multiple prices for a product but then you can choose one price to associate it as "default". It can be used to specify the most common price to present to customers

rigid stone
#

ok gotcha. went through the pricing models and it talks about usage-based and flat rate independently. but our use case is where both these models merge. we wanna charge a flat monthly rate but also metered usage along on the same subscription. our metred usage will have 10s of resources and with each resource having a separate product, we will create 10s of subscription per user

untold dock
#

Ah wait

#

you said usage based

#

our metred usage will have 10s of resources and with each resource having a separate product, we will create 10s of subscription per user
can you elaborate with an example?

rigid stone
# untold dock > our metred usage will have 10s of resources and with each resource having a se...

When a user subscribes to our Pro plan, they pay a flat fee upfront. Along with this, we track usage for certain resources, such as storage. The plan includes a free usage allowance, but if the user exceeds this limit, they are charged for the overage in the next invoice, in addition to the flat fee. and storage is one example of resource, we have a lot more like that

--

https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=api#fixed-fee-and-overage-model
and the docs that you shared above says the same thing that we should use same product with multiple prices

#

--
so I come back to the same question where we started, how to display them using stripe checkout so its not just displaying product name or at the very least hide those overage prices

untold dock
#

hang on.. let me double check something

#

I think there's some confusion. The suggestion to use different products is for

Hobby, Pro, and Enterprise

Not for different usage tiers

#

In your example, you have different amounts for tiers under same product (Pro)

rigid stone
rigid stone
untold dock
#

Sorry for the confusion but I'm referring to this

#

Is this kind of the setup you're looking for?

#

^^ has different description for each item

rigid stone
untold dock
#

Yeah each item is associated to separate products

rigid stone
#

i only see product description and not the iteam description

#

or is it even possible to hide the second row?

untold dock
#

No it isn't possible to hide that since it is a price the customer is subscribing to..

rigid stone
untold dock
#

The Resource 1, 2 and 3 are separate products associated to separate prices

#

The checkout page renders product description

#

there's no description associated to a price

#

so this is the only workaround

rigid stone
#

I see. so no price description on checkout you mean right? because api and dashboard lets us set description but we cant display that on checkout

untold dock
#

Correct

#

The only other alternative would be to build your own UI

rigid stone
#

ok, makes sense. thanks

untold dock
#

Yeah apologies for the earlier confusion

rigid stone
#

no prob