#vibha-sharma_api
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/1295671565509197845
๐ 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.
- vibha-sharma_api, 1 hour ago, 9 messages
- vibha-sharma_api, 5 days ago, 25 messages
๐ happy to help
you can expand the Payment Intent to see the PaymentMethod ID used
If an invoice's collection_method is 'send_invoice' ,can auto payment still occur through customer' default payment method?
that mean If I have an invoice with collection method is send invoice
and I call pay api then that invoice will paid with customers default method
?
if the customer has an invoice_settings.default_payment_method then yes
with out this
it is not possible?
if the collection method is send_invoice, it's either your customer that receives a Stripe-Hosted payment link for their invoice and pays the invoice this way, or you have to manually call the /pay API to charge their default PM if it exists
okk thanx
if an invoice of a subscription is paid with any payment method
Is it possible to set that payment method for all upcoming invoices for that subscription?
you can change the default_payment_method of the subscription https://docs.stripe.com/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.
this key automatically set collection_method of all the invoices is charge automatically also?
no
you need to change https://docs.stripe.com/api/subscriptions/update#update_subscription-collection_method as well
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
to be charge_automatically
can we do it subscription schedule as well?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.