#Abishek-confirm-setup
1 messages · Page 1 of 1 (latest)
Hi there 👋 they're very similar. confirmSetup is better suited if you're working with our Payment Element that can accept different types of payment methods, whereas confirmCardSetup works with our Card Element to specifically accept card payment methods.
ok, so with a setupIntent, it them makes sense to work with confirmCardSetup as other payment methods aren't available. Right?
Setup Intents are versatile and can handle several types of payment methods. How are you collecting the payment method details on your site?
And which element(s) are you using?
i currently have only the Card Element setup, I wasn't sure other elements like Apple Pay and Google Pay can be enabled for Setup Intent that can be used to pay Subscriptions or Onetime Payments
one other thing I noticed is that confirmSetup doesn't require the setup intents client Secret, but confirmCardSetup requires it
Gotcha, if you're using the Card Element then you will want to use confirmCardSetup.
so, is card element the only one supported for setup intents that works with Subscription and Onetime payments for future payment purposes?