#waqas-ahmad_api

1 messages ¡ Page 1 of 1 (latest)

elder heartBOT
#

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

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

tidal lagoon
hasty island
#

Sorry for the wrong wording. I use the checkout session to create a subscription. To update/cancel I use the customer portal. How can I use the customer portal to update subscriptions based on the number of members in a group? For example, if the user wants to update from basic to premium and has 5 members in the group then the subscription is $150 ($30 * 5).

tidal lagoon
#

and I'm just checking to see if there would be any particular problem with allowing updates in the portal for this pricing model

hasty island
#

But in this link, there is no discussion related to update subscription in case of per seat.

tidal lagoon
#

try searching with command+F for "Model per-seat pricing on Stripe"

#

So then you would want to configure your Customer Portal to allow customers to change Subscription plans, where you would have different prices for different tiers and seat numbers. But this could get messy if you have many tiers and numbers of seats

hasty island
#

I want to pass number of seats through code. Don't want to give options to users. Because server knows how many members are there in the group.

tidal lagoon
#

The Customer Portal exists to let Customers manage certain things about their Subscriptions and payment methods. Do you want to create a Customer Portal session to allow customers to update their Subscriptions, or do you want to update Subscriptions through code?

hasty island
#

I want to allow a customer to update their subscription through a customer portal. But the user will not enter quantity. Our system will pass

elder heartBOT
unreal anvil
#

if you know the quantity you intend to update to, it's likely better to call the Update Subscription API directly yourself and implement you own UI for this.

hasty island
#

okay