Stripe checkout image

I’m having issues now that I’m using webpacker for assets. I used to pass the url to the image to my stripe checkout no problem.

but now it can’t find it.
# cart_image = asset_pack_path + “media/images/#{product.picurl }”

 images: ['' + product.picurl],

images: [ image_tag “media/images/#{product.picurl }” ],

images: [cart_image],

I’ve tried all these variations.

they don’t work.

I think stripe deprecated use of images in checkout.

Thanks for the information that you share.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs