#mpizos

1 messages · Page 1 of 1 (latest)

dusk quartzBOT
flat halo
#

But I still get on the view 'qty 1'
Is this quantity still adjustable in the UI?

azure bronze
#

no its not adjustable. but this is not what i am trying to do. I do not want the 'qty 1' on the page.

flat halo
#

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

azure bronze
#

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:

flat halo
#

Yeah AFAIK that's just a difference between checkout and payment links currently

azure bronze
#

ok cool. do you know if there is way that I can make the image big on my checkout? any documentation about it?

flat halo
#

Let me check with a colleague. Might have to do with the resolution of your image

azure bronze
#

no, i tried some different images.

flat halo
#

Can you share a checkout session id where you're seeing the small image?

azure bronze
#

yea sure. one second

flat halo
#

Just the id. Not the url

azure bronze
#

its from the test mode

#

cs_test_a1RRygF4aM5U6wLelKFucfaC5RgQzknA1oAaF2V43wdJ5vcu8jvcBOMgGk

flat halo
#

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

azure bronze
#

one second. i delete the description. i think it was same case again without description. will share id

flat halo
#

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

azure bronze
#

cs_test_a1CBFQVlk8nEcnSVv1LH2cBmZX0FIMHkbHpb07CcKZLx7QW6mQgDpij3Vt

flat halo
#

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

azure bronze
#

i still use adjustable. will remove and retruy

#

so only this:

line_items=[{"price": data["priceId"], "quantity": 1}],

?

flat halo
#

Yeah

azure bronze
#

ok that was it actually.

#

thanks for the findings!

flat halo
#

No problem