#thibaud_setupintents
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/1230198200451727380
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
i am following the "custom payment flow"
i create a setupintent, i display the form via stripe js with my payement method
the user can add hos card, and if the card already exists, it's added.
i only can check after if the fingerprint already exist
i wanted to check before to add the card if the card have been already added
Are you using the Payment Element? I think you want this flow: https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=setup
Basically, you'd create a Confirmation Token which will include the card fingerprint. You can then check it before continuing on with confirming the setup intent and raise an error
i just want to save the card, i dont want to do a paiment when he save it
so i use the save and reuse documentation, where i understand that the purpose is to save a credit card on your systeme for a customer
but, with this method, i can add x times the same card
i admit, i am lost between all doc about save and reuse / payment intent / setup intent
The docs I sent won't make a payment
If you're using a Setup Intent then it won't make a payment
okay
so i have to follow this link https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=setup
to be able to save a credit card on your system
and be able to use it later for a payment
(and check, when i add a card, if "she" (it ?) is already on the system for this customer)
Yes
๐
thibaud_setupintents