#M3ntalist - payment link quantity

1 messages ยท Page 1 of 1 (latest)

fresh oreBOT
radiant lark
#

Name of the subscription and of the per-seats products are fictitious, this is test mode

wild berry
#

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

radiant lark
#

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?

wild berry
#

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

radiant lark
#

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

wild berry
#

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

radiant lark
#

mmm ok so, can you help me build the api call with postman?

#

I tried but I am unable to do it properly

alpine fox
#

Hi ๐Ÿ‘‹

I'm stepping in for @wild berry . Are you currently getting an API error?

radiant lark
alpine fox
#

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?

radiant lark
#

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

alpine fox
radiant lark
#

req_vVTYCLtEZxgtCt

alpine fox
#

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

radiant lark
#

mmm kind of the same

alpine fox
#

Okay but you still need to include at least one line item with a quantity greater than 1

radiant lark
#

maybe it can not be the array [0] the one I want to set to 0?

alpine fox
#

Can you paste the Price ID for the item you want to set to 0?

radiant lark
#

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)?

alpine fox
#

Okay, I'm still looking at this

radiant lark
#

thanks

#

Have a nice day

alpine fox
#

you too