#Julien.Seux-change-quantity
1 messages · Page 1 of 1 (latest)
Hello, I assume you're implementing the Customer Portal for customers to manage their subscriptions?
Yes, exactly 🙂
You can't set quantity boundaries with the Customer Portal no
Yes I can but I’m looking to get the last amount of licenses my client has and then get it in stripe as a "minimum quantity" you know what I mean?
Not sure I understand, no
Here I would like the minimum to be in fact the quantity of current licenses of my client...
Where is that screenshot from? Sorry, can't read French
If I put a gross value for example 5 and he has 15 licenses, the customer can decrease up to 5 licenses off I would like that he can never have a lower number of licenses he already has actullement... sorry for my English, it is not terrible I am French
The screen comes from the stripe configuration page for subscriptions
Yeah, it's not possible I'm afraid. You can create the Customer Portal configurations programmatically: https://stripe.com/docs/api/customer_portal/configurations/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That would in theory enable what you want to do. But there's no parameter to set lower/upper boundaries for quantity values
(to prevent decreasing)
All right, thanks a lot!
Sure, np!