#M.Mixalis-subscription
1 messages · Page 1 of 1 (latest)
Hi! You want to let your users to change the default payment method for their subscription?
yes.
i use a bootstrap modal for the payment intent. but if user wants to change the card that gets charged, how can i show a form for entering new card details that will replace the current subscription default payment
The simplest option would be to use the pre built Customer Portal: https://stripe.com/docs/billing/subscriptions/integrating-customer-portal
Otherwise:
- Create a SetupIntent on the backend, and collect payment information on the frontend
- Then update the default payment method of the customer