#befa_code
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/1396772548905275392
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hmm, your clientSecret looks wrong. It should be the client_secret from a Checkout Session, not a Payment Intent: https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-client_secret
cs_abc_secret_xyz
Really ? Hum I'am having a hard time following the doc. So if I want to let my customer make the payment for my previously created Payment Intent I have to create a payment session (based on my paymentIntent clientSecret), or should I use another component ?
If you have a Payment Intent, you'd use the Payment Element: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements&client=react#add-and-configure-the-elements-provider-to-your-payment-page
That's the guide you want
OK, let me check quickly
Indeed it seems to work way better ๐
Thank you for your help
No problem, glad I could help!