#kanew5816

1 messages · Page 1 of 1 (latest)

supple snowBOT
rigid ingot
#

Yes you can, but keep in mind normally you wouldn't do that with Card, since you shouldn't have card information in your server

gaunt wren
#

Yeah we will not store cards on our server. We will create a payment method with Stripe and store the card details against it

rigid ingot
#

Alright, and yes you should be able to use that to charge your Customer off_session. Remember to pass off_session = true when you do so

gaunt wren
#

Sure

#

In that case how is /payment_methods different from /setup_intent

#

When to use which endpoint?

rigid ingot
#

SetupIntent is meant to collect the information client-side, with your customer on session

#

After that, it will generate a Payment Method inside it

#

If you collect the information, it's always best to use SetupIntent

gaunt wren
#

Thanks

#

So I can't use Stripe Card element to collect without creating a setupIntent?