#bennie-metadata
1 messages · Page 1 of 1 (latest)
you're adding the metadata to the checkout session, so you would get the metadata from the checkout session
But I can’t get it after checkout
can you share the checkout session id?
so the object that you're adding the metadata to, is the Checkout Session object
you need to look for the metadata on the Checkout Session events e.g. evt_1JZsOlD56xuafeEIfVAMWYco
@mystic stirrup you're looking at the wrong event type
the screenshot you are showing is invoice.paid event
you need to look at checkout.session.completed as an example
if you login to https://dashboard.stripe.com/test/events/evt_1JZrJoD56xuafeEIKHoTh6jA, you can see the metadata there
please look, "2 response infos",payment_init is null
at first , we event is "checkout.session.completed"
I think you're actually asking two separate questions here?
- where is the metadata being populated?
- why is payment intent null?
at first, Please reply to "why is payment intent null?"
@mystic stirrup it'll only show the payment intent id if the mode=payment https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_intent