#meldiron
1 messages · Page 1 of 1 (latest)
Which event type are you listening to that you are printing out?
It's customer.subscription.created event
Metadata isn't automatically copied between most objects in Stripe, so typically that metadata would only be expected to show up on checkout.session.* events
Ah in that case you will want to set this metadata on the subscription_data.metadata parameter https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That will tell Checkout to set whatever you set there on the subscription that is eventually created
Thankssssss that works ❤️
Demo app finished 🎉
Nice!