#felipelpk_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1243343797967130645
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ฃ๏ธ Sorry, English only
We can only provide help in English on Discord, but you can contact Stripe support for help in other languages. ๐ Translate this message
I'm happy to help in English but you seem to used two languages in your ask and I don't really get what you are asking
sorry, this is first message translated
I'm creating a payment link via stripe and I'd like to understand which is the correct event I need to listen to taking into account that I need to know the following information when receiving the event from the webhook:
metaData, for whom it needs to be updated in my database
payment status, whether it was paid or declined
It is much better to do fulfillment with checkout.session.completed as covered in details in that doc. But otherwise yes, you need to configure your PaymentLink to set the right metadata on the PaymentIntent: https://docs.stripe.com/api/payment_links/payment_links/create#create_payment_link-payment_intent_data-metadata
ok @rain ore tks for your help