#brincho-product-image
1 messages ยท Page 1 of 1 (latest)
I'm think this is what you mean, otherwise please correct me
images seems to have been uploaded correctly, but they only appear in edit mode on the dashboard, and not at all on the checkout page as you can see
yeah sorry digging
why are you storing the images on file uploads exactly? I've never seen anyone do this before
ah wait you changed this URL multiple times in a row
@haughty knot does it happen with a brand new Product? Can you try? Would be easier to debug
I've just been following the product api, it says to store a url for the image
How else would you do it?
It does seem to link correctly to the image, as in it shows up on the edit page
I mean sometimes you gave a stripe file upload URL, other times you just gave a real URL from your server
Can you try a brand new product and then a brand new session and give me those ids?
https://dashboard.stripe.com/test/logs/req_ckm9xwGJfb1fXE for example if you look at that one you gave a localhost image that can't work
Alright, I can't upload images right now. So I can't make a new product
but I have updated all URLs for all the other products
so they don't come from localhost
it'd help to get one clear canonical example though
there's no reason for you to use the File API for any of this. You're supposed to pass a URL to your server in theory
that's still an old product from 2 weeks ago
https://stripe.com/docs/api/products/create#create_product-images this parameter takes a list of URLs to your images. Not localhost ones, not Stripe FileLinks, just real URLs
https://dashboard.stripe.com/test/products/prod_KXB1qAi8w4ZVRV/edit
This one is from yesterday
On the edit page it shows an image
That should be a real url, right?
Since it's linking to https://www.selflovinglotus.com/media/products/product-images/IMG_7036_1_l9cyfS0.jpg
I'm trying to make a new product now
the problem is that your code keeps changing the product
like you create with image 1, then update to image 2, then update to image 3, etc.
even that product you changed the URL or added it later
can you try and do one product with one image just once and then a session and not touch anything else?
still trying to debug, it's just hard with many separate updates as we also cache those URLs
Sure, I'll make sure to keep it still
That URL does not work at all, it requires a login/password
that is the problem at least for that one
Yeeah, that makes sense. Sorry about that. Guess I got a little confused along the way.
I think that goes for all
Thanks for your help
Try another URL to confirm
it's super annoying because we don't error and you have no way to really know/debug this on your own
even in our logs I saw nothing. I just misclicked on the URL when I wanted to reply to you and realized the login/password prompt ๐
I wish we made this a lot more discoverable (I raised it internally so maybe in the future)
Hahah, I think it's just because stripe can get the images, because it's password protected. Sorry for making it confusing, changing things along. I'll try to see if that will fix it ๐