#aixr-daniel_api

1 messages ยท Page 1 of 1 (latest)

thorn phoenixBOT
#

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

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

soft nebula
#

Hi there, I need to setup a customer configuration for customer portal, as we need our team plans to only be able to swap between prices and products avilable to teams. I have this working correctly, but our team plans require a minimum of 2 quantity (seats).

Via the default stripe customer portal config via dashboard I can set min and max quantities. But on the customer configuration API there is nothing there to allow me to set this too.

icy fable
#

hi there!

#

Via the default stripe customer portal config via dashboard I can set min and max quantities.
we are not very familiar with the Dashboard here on Discord. can you share a screenshot of this?

soft nebula
#

I am hoping to not use the dashboard at all

icy fable
#

got it. I think that's a Dashboard-only feature, since I don't see this option in the API.

soft nebula
#

I need to be able to set a min quantity for this customer portal configuration via api

icy fable
#

like I said, it's not possible with the API.

soft nebula
#

Ok and is it possible to delete a configuration once its been created by API?

icy fable
soft nebula
#

Ok and final question - what if I just leave those fields of quantity out from this configuration

#

Will it use the default config (the one configured in the dashboard?

#

Trying to figure out a work around here, rather than needing to code up all the updating a subscription logic on my end now just because stripe doesnt allow this basic feature ๐Ÿ˜ฆ on api but does for no code (which shows the ability and need for it exsists)

icy fable
#

Will it use the default config (the one configured in the dashboard?
I don't think so. but I recommend testing this in test mode to double check.

soft nebula
#

Do you work for stripe or are you just another developer?

icy fable
#

I work for Stripe. why?

soft nebula
#

Just a weird way of talking to someone that works for stripe