#dacstudiovm
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0]? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't understand what you mean, but this is my code
Everything works fine except the product image
"error": {
"message": "You may only specify one of these parameters: images, price.",
"param": "line_items[0][images]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_Bhb2hQaSTB3vVl?t=1702532744",
"type": "invalid_request_error"
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
("line_items[0]images[0]", "https://i.ibb.co/7Ssc66W/1.png"),
this line dose not work
I want to add a product image
Hi there, I'm taking over this thread
Alright.
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-images You need to specify the images in product
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
https://stripe.com/docs/api/products/update#update_product-images or you update the images to the existing product
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What I need is to add a one product image at the checkout page, is this the right code?
using the API, not a pre-built checkout.
Yes, the product image will display in checkout
Can you please check what is wrong with my code line and why it dose not work and how i can fix it, the doc that you sent is not helpful
I believe I've told you to update the image on the product directly (API: https://stripe.com/docs/api/products/update#update_product-images). and I'd suggest you to try it out.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'm using a code to build the checkout via session ID, I can not do that in the stripe dashboard, how can I implement the product image using c#?
Please check the API reference that I shared earlier, it has example code for .NET.
Yes, but it is different than my code, what I need to put to fix it ("line_items[0]images[0]", "IMAGE_URL"),