#oleg.moseiko
1 messages ยท Page 1 of 1 (latest)
Hello, can you give me an example of what you want this to look like?
For example, do you want to create one subscription for one person to pay where they are paying 3x$18?
BUSINESS PLAN must started from 3 users minimum
customer can by 3 or more users
but min 3
each user = $18
Gothca, are you using Stripe Checkout as your payments page? Or do you collect payment details with Stripe.js on your own custom page?
On the page where you set the settings for that portal, you can set a minimum quantity https://dashboard.stripe.com/settings/billing/portal
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And are you using our embeddable pricing table in that screenshot? Or is that your own custom page for displaying the three plans? https://stripe.com/docs/payments/checkout/pricing-table
i use my own pricing table just to show prices but to manage subscriptions i use stripe custom manger
sorry custom portal
i have 3 products
but only for one product customer can change quantity
The customer portal should let you set that setting per product:
ok let me check
hmmm
added minimum 3 for business plan
on custom portal
but if i open it from my web page it doesnt show any field to change/set quantity
Can you send me a screenshot of the page that you are looking at?
Interesting. Can you create another customer portal session for that customer and send me the session ID? (bps_1234...)
Thank you, checking in to those
whiting for you))
Server is busy, I am working on a few threads now but will be able to look at this in a minute
Ah it looks like you explicitly passed in a different portal configuration bpc_1NT4rfCeECk9Gr0oojMcj5bx. Looking in to whether you can set these same details via the API
Unfortunately it looks like these fields aren't available in the API at the moment https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So I think you would need to not include a configuration ID and use the default configuration for your account. I can put in a feature request to expose these fields
It is not currently possible to set these settings in the API. I will put in a request with the engineers that work on this product to ask them to allow these settings to be set via the API in future.
For now, you will need to use the configuration from your dashboard if you want to use this quantity restriction.
who can i use my dashboard configuration ?
If you don't provide a configuration ID when creating the customer portal session, it will use your account's default settings
You can use the API to enable the quantity to be changed but the API does not have a setting for the minimum allowed quantity per product
Did you exclude the configuration parameter when creating that portal session?
yes
hmmm
first value is 1
but after click to +
it chnged to 3
also in this case all plan has quantiey
If you try submitting when it is 1, does the page show you an error? Showing 1 at first may just be a UI issue
So you want only 1 quantity for the other plans and at least 3 for this plan?
To do that, I think you would want to set a min and max quantity of 1 for your other products.
๐ stepping in as Pompey had to step away