#uh-oh-setup-intent

1 messages · Page 1 of 1 (latest)

toxic stone
#

Hi there! Yes this is expected. We do not de-duplicate automatically.

#

You can use the card fingerprint to deduplicate if you so desire

obtuse lily
#

thank you!

toxic stone
#

No problem!

obtuse lily
#

How would you do so for Setup Intents though?

#

Since the BE only creates a SetupIntent, and the FE confirms it using the PaymentElement

toxic stone
#

With Payment Element you would check the PaymentMethod after creation and detach it from the Customer if it is a duplicate.

obtuse lily
#

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

spiral wharf
#

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.

obtuse lily
#

Is there a way for them to render at the same time?