#nacho_446
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nacho_446, 41 minutes ago, 5 messages
You've a couple options:
- Use the customer portal to allow customers to update their payment details
- Build your own UI and make updates via the API
Well in simple terms you'd just make an update to the sub_xxx and set default_payment_method: https://stripe.com/docs/api/subscriptions/update#update_subscription-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.
But before that you'd need to generate a new pm_xxx object for the new details via a Setup Intent: https://stripe.com/docs/payments/save-and-reuse