#jon-bernard_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/1301917409799700581
📝 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.
- jon-bernard_webhooks, 1 day ago, 3 messages
Example test invoice https://dashboard.stripe.com/test/invoices/in_1QGLysGjTw8JEh1M3JbcU5wQ
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi 👋 I'm not sure what delay you're referring to. Are you seeing that auto_advance is being set to true on the Invoices you create?
https://docs.stripe.com/api/invoices/object#invoice_object-auto_advance
If not, and you want the Invoice to automatically advance through its lifecycle, you'll want to add that parameter to your Invoice creation request.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah, looks like auto_advance is false for that Invoice.
"Invoice finalization grace period" in the settings https://dashboard.stripe.com/test/settings/billing/invoice
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The doc here implies that this is automatically set to true. https://docs.stripe.com/api/invoices/create?lang=node
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't see any mention of what default behavior for that field is there.
But looking at how the sample code doesn't provide that value, and then the example response has it set to false, I'm getting the impression the default value for that field is false.
auto_advance
boolean
Controls whether Stripe performs automatic collection of the invoice. If false, the invoice’s state doesn’t automatically advance without an explicit action.
When I read "if false", it seems like I need to set it to false to turn it off, implying it is on by default.
I'm not trying to be argumentative, just pointing out how I read the docs and how it could also trip up others.
It does look like that resolved my issue. Thanks!
Totally appreciate the feedback! I was curious what was giving you that impression to see if there are changes we can make to our docs to make that more intuitive, thank you for sharing that.