#coltonc._44132
1 messages · Page 1 of 1 (latest)
The Payment Element doesn't have to create a payment. You can use it with Setup Intents (and many people do) in order to accept payment method details to use later on in the process without creating a payment
@dreamy tide so this would also faciliate a subscriber changing/updating payment methods later down the road?
You could use this to accept new payments methods, then make updates via the API to set it as the new default either at the Subscription level or the Customer level
Subscription level here: https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method
Customer level here: https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.