#dineshkumar6419

1 messages ยท Page 1 of 1 (latest)

cobalt elkBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

icy basalt
#

Hi there ๐Ÿ‘‹ which of those flows are you currently working on, adding a new Payment Method or updating an existing one, and where are you getting stuck with that? You can't do either from purely client-side code, you will need server-side components for that as well.

pallid gust
#

i created subscription with this option SaveDefaultPaymentMethod = "on_subscription" after sccessful payment DefaultPaymentMethodID availbe only the subsciption object not a customer object, i want also save DefaultPaymentMethodID in customer. please help me

icy basalt
#

You can update the Customer object then, and provide the ID of the Payment Method to the invoice_settings.default_payment_method
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
You will need to make that request from server-side code.

pallid gust
#

ok got ii, thanks!

icy basalt
#

Any time!

pallid gust
#

i one more doubt

#

how to update customer there card details from UI/web browser?

icy basalt