#anishsubedi1_83944
1 messages · Page 1 of 1 (latest)
So for exsting cards, you can only update expiration date. If you're trying to allow them to pay with a different card, then you can follow this guide to setup a new card: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
Then you'd just need to change the default payment method on the subscription to that newly created card
Looking into it
I updated the credit card with "create a checkout session for that customer". Is there a way I can verify on dashboard whether it was successful or not?
Now, next billing should be done with new credit card
Oh I didn't realize you wanted a hosted page
If you want something hosted by stripe, then it's best to just use the customer portal because you can create a new card and set it as the default in one go
When user clicks on "change my credit card" this will load up now and add new credit card. This is correct?
Do you want a stripe-hosted solution or on your website?
If you want stripe-hosted it's probably best to just use the customer portal, which I linked above
If I wanted on my website then?
Then do this (which is what I linked initially) instead of Checkout or Customer Portal. You can use elements and keep the customer on your webpage: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
Looking into it.