#Padek - SetupIntent
1 messages · Page 1 of 1 (latest)
Hi there!
A SetupIntent will create a PaymentMethod. Then you can use that PaymentMethod when creating the PaymentIntent.
But do you plan to do the SetupIntent and PaymentIntent in a row? If so you don't need a SetupIntent, you can directly use a PaymentIntent to collect the payment information, and optionally save the card for future use.
hmm will it generate like a paymentMethod id?
okay yea I'm a little confused in the difference of using just PaymentIntent or a PaymentIntent first
What's your goal? To make a payment immediately? Or to save the card to make a payment later? Or both?
my thought process was using a SetupIntent as a help to make future payments with the same card faster and more secure
both pay at that time and then for future purchases
Got it! Then you don't need a SetupIntent, just use a PaymentIntent with setup_future_usage https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
SetupIntent are useful when you only want to save the card details without making a charge.