#mpizos
1 messages · Page 1 of 1 (latest)
But I still get on the view 'qty 1'
Is this quantity still adjustable in the UI?
no its not adjustable. but this is not what i am trying to do. I do not want the 'qty 1' on the page.
Oh yeah I don't think there's a way to remove it
But as long as you pass adjustable_quantity as false, they won't be able to adjust it
so how is it possible then in the 'create payment link'?
this is through the 'create payment link'
here there is no 'qnt' and most imprtant the image is big. I cant make it to have a big image through the API.
with API the following is the result:
Yeah AFAIK that's just a difference between checkout and payment links currently
ok cool. do you know if there is way that I can make the image big on my checkout? any documentation about it?
Let me check with a colleague. Might have to do with the resolution of your image
no, i tried some different images.
Can you share a checkout session id where you're seeing the small image?
yea sure. one second
Just the id. Not the url
its from the test mode
cs_test_a1RRygF4aM5U6wLelKFucfaC5RgQzknA1oAaF2V43wdJ5vcu8jvcBOMgGk
Ok looking
Ok my colleague said it's because there's a description on the product
We shift to the smaller view in that case to accomadate the description properly
one second. i delete the description. i think it was same case again without description. will share id
Oh ok. Let me look then
If you share another session id without description
They think it might also be because you're passing adjustable_quantity explicitly
Try omitting it. The default value is enabled: false anyway
That's without passing adjustable_quantity?
I see adjustable_quantity still being passed in the above session. Try not passing that. My colleague thinks that's the issue actually
If you don't pass adjustable_quantity then the quantity indicator also shouldn't show they said
i still use adjustable. will remove and retruy
so only this:
line_items=[{"price": data["priceId"], "quantity": 1}],
?
Yeah
No problem