#harinth-setup-intent
1 messages · Page 1 of 1 (latest)
Sorry, not paymentIntent, I am asking for setupIntent actually
You can use metadata field in the SetupIntent Create API: https://stripe.com/docs/api/setup_intents/create#create_setup_intent-metadata
harinth-setup-intent
Actually, I am adding that when create setupIntent, but in the webhook, its not showing in the object. Metadata object is empty
"livemode": false,
"metadata": {
},
"type": "card"
Can you share the request ID (req_xxx) for the SetupIntent that you created? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I'm looking into it now
This is payment_method.attached event, so it doesn't carry the SetupIntent metadata. Metadata will only be included in setup_intent.* events
For example, metadata is present in setup_intent.succeeded event: https://dashboard.stripe.com/test/events/evt_1LQmYJGklkO21ihAhfgkVfbS