#Daniele-metadata-checkout
1 messages ยท Page 1 of 1 (latest)
session object
webhook example: we_1K1zOgGGvSAAHahBqLLu3Py6
(it's live)
in the checkout session response i can also see the metadata being there, but they're nowhere in the webhooks
hmm interesting!
looking into it
can you share the event ids for those webhook events?
should look something like evt_123
evt_1KEFbgKb2X7rAeMbo8t7qA80
thanks
also the subscription created has no metadata itself
we're looking to launch subscriptions with stripe and we process over 25.000$ daily, i'm not sure how this can happen as it seemed to be working fine a few days ago
looking into it
@hexed maple found the reason
the metada is available only on the line object when passed through the session create subscription_data
every other field seems to be not used for some reason, so the only way to pass metadata through a checkout session is by using the session.subscription_data.metadata object
so yeah, just changed the field to that
I was reading about that when you figured it out ๐ haha
glad you found it
thanks, have a great day