#Darby-checkout-image
1 messages · Page 1 of 1 (latest)
I thought by setting the product image inside the product inside the dashboard would solve this issue
Is there way i can set it in the intent?
Can't be set in the intent unfortunately.
Can you send me the ID of a checkout Session that you are not seeing the image set for?
I am seeing my product image in my Checkout Sessions so I want to see what we are doing differently
Ah thank you that helped clarify
So instead of passing in product_data you will want to pass that product ID in for product
product = "prod_KlxSJqPwo0drXF"
ohh, is the product_data to be more dynamic? so i dont have to create each product in the dashboard?
Right now it is getting set as the name so the product itself is not actually associated with that Session
product_data is for specifying a product ad hoc, if you already have one you want in the dashboard it will likely make more sense to use that
gottchaaa. Could i send an image url in that by chance?
Indeed you can https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-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.
Pompey!!! Thank you!!!!!