#Vish - Expansion
1 messages · Page 1 of 1 (latest)
node js
This is how it works right now:
const session = await stripe.checkout.sessions.create(checkoutData, accountStripeData);
👋 I'm taking over this thread
in the checkoutData hash, there's a field called expand in array that you can expand the fields you're looking for: https://stripe.com/docs/api/expanding_objects?lang=node
Is there a way to set the metadata of line items when creating sessino?
Currently, it's only possible to set metadata on the product of price in the line items