2 ms·
Our experience is that manual invoices are charged right away. I wonder what's different about our setups? The only thing I can think of off the top of my head
by kwindla 8y ago
Our experience is that manual invoices are charged right away. I wonder what's different about our setups? The only thing I can think of off the top of my head is webhooks that aren't responding, which would delay the invoice closing. But I think that would make the delay 72 hours, rather than 24.
- chrsstrm 8y agoI misspoke, it's 1 hour, not 24. Can be found here [0]. Regardless, the upgrade happens _before_ the customer is charged, so unless you put a hold on your system and wait for that invoice to close, you're still giving them access before they've paid (Stripe's system will shown them as having the new upgraded plan before the invoice closes). And with the charge re-tries and back-off they use, if your webhooks aren't listening and reacting, you've still opened up your product to a user who hasn't paid for up to days at a time. I would be very interested to know how you got yours to close instantly, if it is doing that. [0] https://stripe.com/docs/billing/invoices/subscription#generating-invoices https://stripe.com/docs/billing/invoices/subscription#genera...
- kwindla 8y agoYou're right, it's not synchronous! I looked back at our development notes and it seems like we were seeing about 15 minutes, generally, between creation of the manual invoice and finalization/payment. But that was using our test, not production Stripe API keys, and was a fairly small set of anecdata. I don't have better data because we ended up not rolling out any features that required manual invoice generation.
- athrun 8y agoIf you want to skip the 1 hour delay, you can manually finalize the invoice: https://stripe.com/docs/api/invoices/finalize https://stripe.com/docs/api/invoices/finalize