Is there a way to update existing card details using this library?
Sorry, we don't have anything like that yet!
Is this still the case? No way to update existing card details using stripe elements? Any alternative solution?
@MovingGifts if what you want is to show the existing card number in a form, and let the user update it, then no, sorry. Stripe abstracts away raw credit card details via Tokens, and this would require having access to the raw number.
However, if what you want is to show a new credit card entry form, allow the user to type in a new number, and save that, you can definitely do that right now. Just create a new Token for the new details, and save that to your Customer.
@atty-stripe Got it, thank you for clarifying :)
Any new changes on this issue?
@atty-stripe Any new information on this issue?
Sorry folks, I no longer work on this product, but will pass along to the Stripe.js team. It would be useful if you could share the desired end user experience (either in words, or sample design mockups) so we can understand your needs better.
@abhijithss2010 @vbk6, could you clarify your use cases? What part of the card details do you need to update, and in what context?
You can collect and update most Payment Method or Card Sources fields yourself.
If you want to use a saved card for a payment, but ask the user again for their CVC, you can now do so: https://stripe.com/docs/payments/save-during-payment#web-recollect-cvc
Updating the card number of an existing payment method or source is not possible. What you should do is create a new method / source, attach it to your customer, and optionally update your customer to use the new method / source as default.
Please reach out to Stripe Support if you have further questions regarding your integration.
I am chasing CVC updating. I have come across some notes worth sharing.
Most helpful comment
Any new changes on this issue?