#Meldin

1 messages · Page 1 of 1 (latest)

heavy lagoonBOT
inland solar
#

Hi, do you mean the image for the product?

#

Are you set it via API?

prime forge
#

Sorry, Yes thats correct

#

Yes

inland solar
#

Are you using this parameter?

#

I think that's URLs, not the file

prime forge
#

If u talking about line items, yes I do

#

price_data: {
currency: "usd",
product_data: {
name: product?.name,
images: [newImage],
description: item?.color,
},

#

newImage can be in jpeg, png. webp

inland solar
#

That should be array of URL strings

#

A list of up to 8 URLs of images for this product, meant to be displayable to the customer.

prime forge
#

Here is the thing I am fetching the images from Sanity. And those images are url. If the image is in jpeg or png saved on Sanity then I can see the image of the product, but if the image is webp format saved on sanity then I cannot see the image of the product

inland solar
#

Hmm I see, probably webp is not supported or displayable in Stripe Checkout

#

You would want to somehow convert it unfortunately