#itaied
1 messages · Page 1 of 1 (latest)
Hi there!
You can't directly set metadata on the Invoice object when creating the Checkout Session. But you could add metadata on the Subscription object (like in your code), and then when you get the invoice.paid event, retrieve the corresponding Subscription to check its metadata.