#jdesign-checkout-metadata
1 messages · Page 1 of 1 (latest)
Hello @copper cape
In the code you shared you are putting the metadata in the product not the Price
see how you put them inside product_data instead of price_data?
A Session can have N line items, each line item points to a Price, which itself points to a Product.
Each object has its own metadata
OK wow I sat here for over an hour now and did not figuered it out by myself hahaha
thanks that should work then
When you retrieve the Session, use our Expand feature: https://stripe.com/docs/expand that will allow you to expand all the things you need
do you can expand line_items.price.product and see it all
Ohhh that is possible? I thought only line_items could be expanded
good to know
it worked perfectly thanks again!