#vin_dev.
1 messages · Page 1 of 1 (latest)
Hi there, what payment method are you trying to update?
like changing a customer card details
I still don't understand, can you show me the full picture?
You mean change the payment method of a subscription?
Here you go: https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
before that i am using this portal user can update card details but there resume plan button button didnt disabled so i tried with this https://stripe.com/docs/payments/checkout/subscriptions/update-payment-details but i am using payment element so dont know how to do
How do you collect the new payment method?
i am following this
Hmm, this is to collect a payment, not collect a payment method
https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=checkout I'd sugget you go through this doc to learn how to collect a payment method without charging a customer