#cesperian

1 messages · Page 1 of 1 (latest)

sour radishBOT
pliant arch
#

hello! what specifically are you looking to update?

shadow meteor
#

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

pliant arch
#

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

Learn more about the Address Element and how to integrate it.

shadow meteor
#

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?...

pliant arch
#

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

shadow meteor
#

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

pliant arch
#

then you would create a new PaymentMethod, you wouldn't update the current one

shadow meteor
#

ok