#eradicatevu-payment-element

1 messages ยท Page 1 of 1 (latest)

quasi hornet
#

Hi there! You can use SetupIntents with Payment Element to save a card and charge it later (https://stripe.com/docs/payments/save-and-reuse?platform=web). But this won't determine if there are sufficient funds โ€” that is actually against card network regulations to authorize a card just to check that it has funds.

#

You said: "Or even just making sure the required fields are complete"... Payment Element has built in validation that will ensure the fields are completed.

glad blade
#

Okay great, I will look into that!

quasi hornet
#

To be clear, if you are going to charge the card immediately, you shouldn't use a SetupIntent!

#

You should just attempt to charge it, and then handle the synchronous response if it is declined

glad blade
#

Yep that makes sense, thank you ๐Ÿ™‚