#uh-oh-setup-intent
1 messages · Page 1 of 1 (latest)
Hi there! Yes this is expected. We do not de-duplicate automatically.
You can use the card fingerprint to deduplicate if you so desire
thank you!
No problem!
How would you do so for Setup Intents though?
Since the BE only creates a SetupIntent, and the FE confirms it using the PaymentElement
With Payment Element you would check the PaymentMethod after creation and detach it from the Customer if it is a duplicate.
I have another question regarding paymentelement component.
I have it in wrapped in a form, with a button component
however it seems like the paymentelement component takes more time than the buttgon component to render
so the button component shows up first, then the paymentelement renders and appears
Yes, that will be the case as the payment element does a lot of work behind the scenes to determine the correct payment methods to render.
Is there a way for them to render at the same time?