#M3ntalist - payment link quantity
1 messages ยท Page 1 of 1 (latest)
Name of the subscription and of the per-seats products are fictitious, this is test mode
Good question, I don't think that this can currently be done with payment links but I can put in a feature request for it.
Are you open to a low-code solution like creating Checkout Sessions yourself? I can check in to whether this is possible there
If you aren't that is fine, just making sure I know what you are working with
Thanks a lot for you answer. I am open to low-code but Checkout does not for us, we already tried months ago and faced integration problems with our platform ๐ฆ
does not work*
If you put in a feature request how much you think this can take?
like weeks, or maybe months etc?
So it looks like we do already support minimum quantities of 0. It is just the dashboard that doesn't allow it, I will put in a feature request to add it there, not sure on the timeline but I feel that that could be added quickly.
In the meantime, you can create payment links with this configuration via the API
https://stripe.com/docs/api/payment_links/payment_links/create?lang=python#create_payment_link-line_items-adjustable_quantity-minimum
Are you comfortable enough with the API to make that kind of call now? I can help form this API request if you want some payment link to test with now
So If I understood correctly, with this API call I can create the same payment like as I was doing in the dashboard with the same product I already have but putting the per-seat to 0
and then I will see this payment in the dashboard once created from API?
correct?
I'll try now and let you know, please don't close the tickect meanwhile so that I can share if I was able to do it alone
Correct, you can create the same thing you were trying to do in the dashboard but with the API. I am guessing we just haven't updated the dashboard page yet.
And yes once you create that payment link you will be able to see it in your dashboard, any payments on that link will go to the payments tab of your dashboard
mmm ok so, can you help me build the api call with postman?
I tried but I am unable to do it properly
Hi ๐
I'm stepping in for @wild berry . Are you currently getting an API error?
Okay that isn't a Stripe API error. That seems like a network error where you cannot resolve https://api.stripe.com
Can you try using CURL? curl https://api.stripe.com?
Yeah that was my network apparently, sorry. Anyway now I have this error
So seems that even through api is not possible to set quantity to 0
Hmmmm...that seems to be directly counter to what our docs say. Can you share the request ID for that request?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_vVTYCLtEZxgtCt
What happens if, for the line_item you want to set to 0, you also specify the line_items.adjustable_quantity.minimum as 0 and that the quantity is adjustable?
M3ntalist - payment link quantity
mmm kind of the same
Okay but you still need to include at least one line item with a quantity greater than 1
Can you paste the Price ID for the item you want to set to 0?
price_1LxvORGE9c88DdDhBMdUjbWV
I have to leave now, is it possible to read you answer later if you answer me (and in the meantime you close the ticket)?
Okay, I'm still looking at this
you too