#Velix-Checkout
1 messages ยท Page 1 of 1 (latest)
Hi, taking a look here
Have you tried this, https://stripe.com/docs/api/checkout/sessions/line_items?
So I need a second request? I thought I could have all in one.
I've expected that "expand" includes the request from line_items ๐ฆ
I was just about to suggest expand: https://stripe.com/docs/expand
Taking a further look here
I'm using expand, check my snippet ๐
Duh! Sorry I missed that
But "metadata": [], <-- seems like a bug
So the line_items and the metedata are separate: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items so you would not get the metadata from the line_item expansion.