#sebastian-checkout-image
1 messages · Page 1 of 1 (latest)
hello, to display an image to Checkout, you have to pass the URL of that image so that image has to be hosted some place.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it says Error: You may only specify one of these parameters: images, price_data.
the link I sent talks about that:
A list of image URLs representing this line item. Each image can be up to 5 MB in size. If passing price or price_data, specify images on the associated product instead.
ok I put the images list with a link to an image in the product data but the image doesnt show up
can you share the request where you did that?
I did it like this
it has to be a url to the image, that isn't a url: https://stripe.com/docs/api/products/create#create_product-images
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.