#jayesh
1 messages · Page 1 of 1 (latest)
hi! which webhook event are you listening to and what object do you read the metadata from?
you're adding the metadata to the PaymentLink object, so it won't be on the e.g. CheckoutSession object
you could retrieve the PaymentLink associated with the CheckoutSession for example(https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_link) and find the metadata that way.
I am listening to payment.intent webhook event
I'd suggest using checkout.session.completed instead as mentioned in the docs for using PaymentLinks. And then the above answer will help. Let me know if anything is unclear
Thanks