#-7he-judge-_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/1420414816425738352
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You can use this flow instead: https://docs.stripe.com/payments/accept-a-payment-deferred
it means, that I collect user, create payment intent with that
and use clientSecret after?
The doc describes it
You collect payment details on the frontend via the payment element without needing to create payment intent until after those details have been filled out
I do not understand
if I understood this doc correct
we must collect customer data somewhere
and create payment intent with this data
and after I could see PaymentElement
Am I right?
Could I show payment methods
without payment intent?
and create payment intent with this data
and after I could see PaymentElement```
No that's incorrect
You load payment element first
On page load
Customer puts info into payment element
When they submit, you create payment intent
Per the steps in the doc
but <PaymentElement /> needs clientSecret