#zach-wehner_docs

1 messages ยท Page 1 of 1 (latest)

gilded emberBOT
#

๐Ÿ‘‹ 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/1232114024758378608

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

gleaming riverBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

proven flower
short bobcat
#

req_CwwWWtlENrSh3x

#

is where i created the second price i believe

#

req_RnzyC58c4igdhq

#

is where i sent the meter event after creating the secnd price

#

i am tryign to understand what the multiple prices against the meter does

#

i have these two prices

#

and they are both linked to a meter

#

now when i send usage, its picking the page processing at .02 not the more recently created .03

#

i am trying to understand how this works

gleaming riverBOT
serene dome
#

๐Ÿ‘‹ Taking over this thread, catching up now

short bobcat
#

with the old usage, you could set a default price

#

but now i am just not understanding with the new metered usage, what multiple prices does

serene dome
#

Sorry, I don't really quite understand your question. In a product, you can create multiple prices with different pricing models such as metered-billing like how much will be charged per unit. Prices are basically how you like to charge of a specific product. It can be yearly, monthly, or specific price for different customers... etc

When you create a subscription, you will then set the pricing in the items, then report usage to the subscription item accordingly: https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage

short bobcat
#

the meter has 1 identifier

#

which is not product

#

it is the meter identifier

#

but i have 2 prices against that meter

#

so how does it pick which price to go against

#

@serene dome

serene dome
#

the meter has 1 identifier
What identifier are you referring to? Can you give an example ID?

short bobcat
#

sure

#

oh

#

i am so sorry

#

mtr_test_61QHSOtVKRnWceZWK41Btu9lUy7zyLn6

#

please look at this one

serene dome
#

Thanks for sharing the information. This new metered usage integration is just launched. Let me double check and get back to you

short bobcat
#

no problem

#

i am actually head out for the night 9PM here, but i assume i can restart this chat tomorrow, if u cant find the answer

serene dome
#

Thanks! Once I find out the answer, I'll leave the response here for you to have a check

short bobcat
#

appreciate it

serene dome
#

The metered usage is by customer, not by price. If you have multiple prices share the same meter, all the prices link to this meter will be updated