#brincho-product-image

1 messages ยท Page 1 of 1 (latest)

errant meteor
#

@haughty knot do you have an example API request or Session id I can look at?

haughty knot
#

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

errant meteor
#

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

haughty knot
#

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

errant meteor
#

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?

haughty knot
#

Mhm, yeah that seems kinda a odd

#

Yeah I'll go ahead and add a new product

errant meteor
haughty knot
#

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

errant meteor
#

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

errant meteor
#

that's still an old product from 2 weeks ago

errant meteor
#

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

haughty knot
#

Sure, I'll make sure to keep it still

errant meteor
#

that is the problem at least for that one

haughty knot
#

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

errant meteor
#

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)

haughty knot
#

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 ๐Ÿ˜›

errant meteor
#

totally fine, I'm glad you're unblocked

#

just try with a random URL online just to make sure, that's what I usually do like I google a banana image or something

haughty knot
#

Yeah good idea, I'll try that

#

Everything is working now, thanks ๐Ÿ˜„