#mnord
1 messages ยท Page 1 of 1 (latest)
Hi ๐
The Payment Intent will have no link to a user unless you create it with a Stripe customer
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-customer
The client_secret is used to link the Payment Intent in Stripe with the Payment Element on your client-side
Ok I will look up how to do that so I will know the user in the web hook.
You can also add any info you need to look up your users in the Payment Intent metadata.
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-metadata
This will be returned in the webhook event as well
That's even better. I could store the user ID which is what I need. Thank you.
Happy to help ๐
One more question? Do I simply add the metadata: key, value to the end of the payment intent?