#Briesma
1 messages · Page 1 of 1 (latest)
ARe you working with PaymentIntents or SetupIntents with the PaymentElement?
PaymentIntents
Gotcha! Then you'll want to set setup_future_usage to on_session or off_session and that'll save their PaymentMethod to be used in future payments (see 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.
Yeah, we are doing this already, actually. But I was wondering if the user interface would allow the customer to just choose a saved card?
The PaymentElement itself doesn't have any UI for displaying saved cards - that something you'd have to build yourself
Ok. Last question then: Can we setup wallets (Google, Apple) for off_session use?
Yup! It should work the same for wallets (using setup_future_usage)