#marcowoldering
1 messages ยท Page 1 of 1 (latest)
I'm afraid the metadata on Checkout Session doesn't get populated into Invoice. Which mode of Checkout Session is your integration on?
Stripe objects don't pass metadata from one object to another. One alternative I can think of is to set metadata in subscription_data.metadata: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata, so that the metadata will be available in Subscription object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When you receive the invoice.paid object, your system can make additional request to retrieve the Subscription object from subscription
Ah yes, additional request isn't even necessary ๐
Oh! That's great!