#iCoNio-metadata
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't think the Product metadata is carried over to the PaymentIntent automatically.
Can you share the PaymentIntent ID?
Hey @violet phoenix for sure! Let get a new one here. Hold on
Is there a way that I can get the product id? I can't seem to find that either
Here is the payment intent id: evt_3L6GEkBFmPjLabqy0pMmU3Y0
๐ stepping in here as hanzo has to step away
The product won't be associated directly with the PaymentIntent
To get the product you would listen for checkout.session.completed
Hey @eager citrus thanks for helping me
As the product will be a property of the checkout session object
Great. Let me give a shot at
Hey @eager citrus I tried that hook but i still don't get the product id :/
Ah yeah okay I was forgetting. We don't include the line_items field by default (we make note of this here: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items). So when you receive that webhook you would then need to retrieve the Session and expand (https://stripe.com/docs/api/expanding_objects) line_items to see the product
Since you are using Payment Links you can also retrieve the Payment Link if you prefer that and expand line_items on the Payment Link
I see... I'll read those documents.. thank you so much my friend..