#Sam Stripe-cards

1 messages ยท Page 1 of 1 (latest)

lime shore
#

๐Ÿ‘‹ happy to help

#

I don't think you can since we don't give the merchant the access to the full info of the card only a token/fingerprint

mystic kernel
#

Can we make a purchase without filling in card information?

#

If a customer has previously made a purchase and as saved payment details.

lime shore
#

yes this is called off_session payments

#

exactly

mystic kernel
#

If I edit the payment intent to include that off_session parameter do I need to update my frontend stripe code as well

lime shore
#

no

#

you'd have to do two things on the backend

#

2- for the payment that would happen off session you'd have to create a payment intent with the off_session and the confirm parameters set to true
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-off_session
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm

mystic kernel
#

And just to confirm, we should only have setup_future_usage the first time someone makes a payment
and only have off_session / confirm parameters if that person has made a payment previously