#gerarahere
1 messages · Page 1 of 1 (latest)
Can you give some more details here? What application are you referring to?
I want to allow users to change their subscription payment method
Gotcha - so you can always update the PaymentMethod used to pay for a Subscription by updating the Subscriptoin and changing default_payment_method (https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method) or you can change the default Payment Method set on the customer that can be found at invoice_settings.default_payment_method (https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)
So how do I allow user to go through this flow?
Let's back up for a second here - how are you currently creating subcriptions and getting your users to pay for them? Are you using Checkout? Building your own form?
No, I am doing it through stripe payment page.
So you mean Checkout? Or a payment link?
Payment link
Gotcha
I'm guessing you don't want to build your own UI for your customers to change their payment methods so your best option would be to use the Stripe Customer Portal feature (https://stripe.com/docs/customer-management) which would give your customers a UI where they could update their payment methods
I'd recommend looking at https://stripe.com/docs/customer-management/activate-no-code-customer-portal if you want a no-code solution
I think I answered wrong I am using Checkout
Yeah even if you're using Checkout my answer is the same - if you don't want to build this UI yourself you'll want to use the Stripe Customer Portal