#lec1892
1 messages · Page 1 of 1 (latest)
Hi there!
If you added the metadata to the Checkout Session object, then it is only stored on the Checkout Session itself and not the invoice.
Is the Checkout Session to create a one time payment or a subscripiton?
subscription
Then you can fint the subscription ID on the invoice.subscription property, and then use https://stripe.com/docs/api/checkout/sessions/list with the subscription ID to get the Checkout Session with the metadata.