#sohiebhamwi

1 messages · Page 1 of 1 (latest)

fast riverBOT
shrewd briar
#

Hi there!

#

Can you share the product ID with the metadata (prod_xxx), and the event ID where you were expecting to see the metadata (evt_xxx)?

woeful skiff
shrewd briar
#

I need the product ID, for the product it should be in the top right corner of that page.

woeful skiff
#

prod_N1x8PGAaoLxrFq

shrewd briar
#

Thanks! And now I need the event ID.

woeful skiff
#

evt_1MHtEdFN7ERIyFd3XuvVdRP7

shrewd briar
woeful skiff
shrewd briar
#

Can you share the event ID for this event?

#

But based on your screenshot it looks like this is a payment_intent.succeeded event, so what you are looking at is the metadata of the PaymentIntent, not the Product.

woeful skiff
#

we_1MI1IoFN7ERIyFd3YZoMhOrU

#

But why can't I see it in web-hook when payment_intent.succeeded

shrewd briar
#

The PaymentIntent object doesn't contain information about the Product. Instead, since you are using invoices, you should listen to the invoice.paid event, and there inside the lines property you should find your metadata.

#

If you have follow up questions, I would recommend to ask Stripe support direct https://support.stripe.com/contact, since here on Discord we focus on helping developers with technical questions.