#dahri_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1283729972833288213
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- dahri_webhooks, 19 minutes ago, 42 messages
- dahri_docs, 1 day ago, 16 messages
- dahri_code, 2 days ago, 26 messages
- dahri_code, 3 days ago, 6 messages
Hi, let me help you with this.
If a Subscription has default_payment_method parameter set, Stripe will charge that PaymentMethod.
You need to update any Subscriptions that has that parameter set to a new one, or remove it to fallback to the Customer's invoice_settings[default_payment_method]
thank you vanya, But can you please tell me how to do this?
i want to give customer flexibility to change card attached to subscription.
You can update the Subscription via API: https://docs.stripe.com/api/subscriptions/update#update_subscription-default_payment_method
alright, can you please give me npm package function for this api ?
You can select your preferred language for the code snippets
okay, let me see this.
vanya,
can we change billing method of subscription on dashboard?