#vilesa
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
the concept of on_session/off_session is not shown on payment methods, it's related to Intents (Payment and Setup)
so basically when you use a SetupIntent with usage https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage on_session/off_session you're basically telling Stripe to save the Payment Method and how you're going to use it later on
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this is also available when using PaymentIntents with setup_future_usage 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.
on the other hand when you create a new PaymentIntent (after saving the card) you have the possibility to tell Stripe/issuing bank that you are confirming the payment obo your customer by using off_session true https://stripe.com/docs/api/payment_intents/create#create_payment_intent-off_session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.