#alexg_api

1 messages ¡ Page 1 of 1 (latest)

limber jayBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1245847888899342428

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

ionic ember
#

Hi there!

peak niche
#

hello

ionic ember
#

I see what you mean

peak niche
#

so as you see here this one customer has two subscriptions "Cloud Seats" which are tied to the same price/meter

#

but pertain to two different instances of the software

#

you send usage and it records to both subscriptions

ionic ember
#

Since a Subscription is tied to a Price, and a Price is tied to a Meter, then all Meter Events will propogate down to the customer's Subscriptions that use that Price

peak niche
#

yes

#

so i assume there's no way around that?

ionic ember
#

Other than creating a separate Meter + Price, no

peak niche
#

unless i create a new meter and price for EVERY customer, which is not feasible

#

ok

peak niche
ionic ember
#

Not every customer but every customer who has more than one usage-based Subscription where you want to track usage independently across subscriptions

peak niche
#

ok i might have to use the legacy usage then

#

as every customer will have this

#

i also considered just having one metered subscription per customer, but that causes an issue with tier-based pricing

#

ie, the first seat is free, any seat after that you pay for

#

but if they have two projects, tied to one metered subsription then the first seat for each project will automatically put them over the threshold

ionic ember
#

A not-so-feasible workaround could be to create multiple Customer objects, each with a single usage-based Subscription

peak niche
peak niche
#

it's going to have to be either that or legacy usage

ionic ember
#

I'll share this feedback with our team

peak niche
#

tbh its bonkers to me that it works this way

#

legacy usage pricing didn't have this issue as it's tied directly to a subscription

#

anyway thank you