#Sam Stripe-cards
1 messages ยท Page 1 of 1 (latest)
๐ 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
Can we make a purchase without filling in card information?
If a customer has previously made a purchase and as saved payment details.
Looks like I might be able to do it via the payment intent as described here -> https://stripe.com/docs/payments/save-during-payment
If I edit the payment intent to include that off_session parameter do I need to update my frontend stripe code as well
no
you'd have to do two things on the backend
1- create a payment intent with the setup_future_usage parameter https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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