#coryschires_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/1353793248283594906
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
TLDR
I am trying to determine if I can change the payment method for an open invoice, and would like to fully understand the behavior.
Problem
- Customer has an open invoice where the
collection_methodis set toautopay. - Later, the customer changes their
collection_methodtosend_invoice.- This means any newly created invoices will be
send_invoice(Good, that's what I want) - But the
collection_methodfor previous, open invoices will not change (Sensible but not what I want)
- This means any newly created invoices will be
When our customers chang their collection_method, they assume it will effect all invoices (i.e. existing, open invoices and new invoices as they're created). So I'm looking to achieve this behavior.
Solution?
Seems like I could achieve this by using webhooks (and I think I can figure that out without your help).
Here's my question:
- When I change the
collection_methodtosend_invoicefor an open invoice, will Stripe automatically send an invoice email to the customer? Or do I need to manage this step as well in my webhook code? - Are there any other gotchas / tips I should be aware of?
The bot turncated my question text. Here's the full write up ^^^
Yes, Stripe will automatically send an invoice when you set the collection_method to send_invoice [0]
[0] https://docs.stripe.com/invoicing/integration/workflow-transitions#emails
And, to be sure, that means stripe will send the invoice email even if the invoice has already been open for several weeks?
Hello
Taking over here and catching up..
Once the invoice has been finalized, you can't change it's collection method - https://docs.stripe.com/api/invoices/update#update_invoice-collection_method
So I don't believe you can update an open invoice's collection method using the API.
Can you share more context around how you're letting customers choose their collection method and what exactly are you updating?