#cesperian
1 messages · Page 1 of 1 (latest)
hello! what specifically are you looking to update?
Hello : ) I am hoping to use the payment element to let a user update their billing info...
so for an existing customer
that has a customer id and existing payment_method
no, that's not what the payment element is for. It's really meant to collect new payment details. You can take a look at the Address Element to collect address info - but you'll still need to implement the relevant logic to retrieve the values from the Address Element to update the billing info https://stripe.com/docs/elements/address-element
ok, i wasnt sure if that was the case but i guess it is. What would stripe recommend as the preferred way to update (credit card/banking) info for a customer?...
updaing cc / banking info covers a very wide scope of information, if possible, please be specific
if you're referring to the billing address, then you can use the Address Element to collect the info, and then update that info in the relevant object using the API
if, for example, an existing customer sees their cc is about to expire and wants to enter a new cc in the platform's client-facing app
then you would create a new PaymentMethod, you wouldn't update the current one
ok