#jack_unexpected
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/1228375345191977040
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there! Do you have an Invoice ID you can share?
Yes: in_1P3lJzFVwbON9DXhcZUzm5dG
I see the Invoice's auto_advance property is false . This means the payment is not automatically attempted: https://docs.stripe.com/invoicing/integration/automatic-advancement-collection#toggle-auto-advance
Oh, I thought auto_advance was for advancing a draft invoice to finalized, and if the invoice was manually finalized, that would charge the payment method?
Huh I see those docs now..
If you tested in the Dashboard, you probably saw the charges occur automatically. When using the API, you'll need to explicitly pass auto_advance: true
Ahh yep ok I see this now, this clears it up. Thank you!
Happy to help!
One bit of API feedback I'd give, is it'd be nice if there was an auto_charge like field that was separate from auto_advance, since in my company's use case, we do want to auto charge a finalized invoice, but we don't want to auto advance a draft invoice to finalized without explicit action on our end.
Have a good day!