#iamshubhamaratha
1 messages ยท Page 1 of 1 (latest)
You probably mean allowing quantity change? https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-default_allowed_updates
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes but the value should be send by our application after passing all the validations
I am afraid it's not possible as of today
Customer change quantity on the Customer Portal and effective immediately to Stripe
okay, but is there any alternate way in which we can handle this?
see we have a scenario in which we are using a user-based pricing model in which
suppose the user has 10 users in their account and before the end of the month he is going to change the user quantity from 10 to 5, in that case, we want that before updating the payment user will remove the 5 users then he will update the payment/subscription
so what we want is everything should be handled by stripe but in customer portal but only the quantity we can send from our application , so please let me know is there any other way of doing this
It's a reasonable question, but unfortunately it's not possible today with Customer portal. The closest approach I can think of is letting your customer choose the quantity, then you listen to webhook and remove their 5 users based on the result
yes we can do that but in that case which 5 user we can remove
we can not users in any random order
True, probably need to ask the customer which one... Sorry for the quirk but it's kind of limitation on Customer Portal.
You can decide to build your own UI which you have full control ๐
yes we can design our own UI but we are thinking that if we get this in the customer portal then we can use the time which we are investing in creating UI in some other stuff
Sorry for the inconvenience!
is it possible to add this functionality as feature request
np ๐