#jignesh_13529-checkout-event-metadata

1 messages ยท Page 1 of 1 (latest)

kindred pineBOT
polar ember
#

Hi ๐Ÿ‘‹ in your second screenshot, is that a Payment Intent object you're showing?

balmy shell
#

Yes

polar ember
#

Gotcha, that's why you're not seeing the metadata. You're putting it on the Checkout Session object then looking for it on the Payment Intent object. metadata typically is not copied from one object to related objects without you doing so.

If you want to keep looking at the Payment Intent level for the metadata then you can pass it there when creating the Checkout Session via payment_intent_data.metadata (assuming you're working in payment mode):
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-metadata

Otherwise you will need to inspect the Checkout Session afterwards to reference its metadata.

balmy shell
#

can you tell me how can i get checkout session success and failed event type ?

polar ember
#

jignesh_13529-checkout-event-metadata

balmy shell
#

Thanks