#ile_api

1 messages · Page 1 of 1 (latest)

orchid apexBOT
#

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

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

fast arch
#

I would recommend playing with the pricing model options in Test mode

split spruce
#

Doesn't quantity mean the number of seats?

#

I would like to let the user define the price per seat.

fast arch
#

Yeah then we have the custom unit amount

#

but that only for Checkout and PaymentLink

split spruce
#

Checkout would work if it can be used for subscriptions.

So the user would define the price per seat and the app would update the actual number of seats monthly.

#

"Unit" sounds also like number of seats.

#

So maybe the actual price per seat cannot be defined by the user (for subscriptions).

fast arch
#

So you define minimum and maximum

split spruce
#

Ahh great! Thanks.

#

Ah, but there are these limitations:

  • You can’t add any other line items and the quantity can only be 1.
  • They don’t support recurring payments

So, it won't work in my case. I would like to define quantity (seats) by the app, monthly.

orchid apexBOT
fast arch
#

Hmm okie, sorry I overlooked those limitations. Technically you would want to build your own UI to let your customer choose the price first, then programmatically setup a per-seat or usage-based price model on your backend later

split spruce
#

That would probably mean creating a new price (with price ID) + product (with product ID) on the backend?

scenic jolt
split spruce
#

Oh yes, that might solve this.

#

Thanks, I will try to do it with this.

scenic jolt
#

Happy to help.