#pulpremicks-invoice-behaviour
1 messages ยท Page 1 of 1 (latest)
Hey! Likely to determined by your invoice settings here: https://dashboard.stripe.com/settings/billing/automatic
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
wikid thankyou mate! ill have a look now
it appears everything is already set up as "leave the invoice as-is"
Can you share the Invoice ID?
aye 2 secs
in_1KhclTFuSqQC7ldV0ozO7IHA
so basically we will stop useage of the system and lock them to the billing page if they dont pay, but if they keep not paying the invoice changes to a "Draft: meaning then have no outstanding invoices, if theres no outstanding invoices then the system will let the use it agai
Hi! I'm taking over this thread.
Is your question why the invoices are in draft status?
hi Soma,
Bascially, When an invoice goes unpaid long enough it goes into draft, looking at my settings it shouldnt do this, it should
stay as an outsntading invoice
It's not possible for a finalized invoice to go back to a draft status.
The specific invoice you shared was created in draft status, and then never changed status (so it's still in draft).
Wait, I'm not sure, looking into this invoice...
hhmm U recon that when we create an invoice sometimes its not getting updated to pending?
The dashboard view gives some information here:
So it looks like your subscription was in unpaid status, so when new invoices are created, automatic collection is turned off. meaning invoices will stay in draft status, unless you manually finalize the invoice yourself (or turn on automatic collection).
Happy to help ๐
where are the auto collection settings?
With the API, update the invoice with auto_advance: true https://stripe.com/docs/api/invoices/update#update_invoice-auto_advance
With the dashboard, look at an invoice and there should be a "more" button near the top:
is there a global setting to turn on automatic collection or do i need to do it per invoice?
I dont want to have to do it for every invouce thats all, could do this this being of for every subscription
This is turned on by default for subscriptions, unless the invoice has an unpaid status. In that case I think you would need to update each individual invoices.
okay, just so im clear im my head then, correct me if im wrong, I do tend to be lol
We create a pending invoice for them when they subscribe
They dont pay so the status moves to an unpaid status / draft
now its unpaid the autocollection is turned off
It's a little more complicated than that:
- in_1KXTQdFuSqQC7ldVMtsnLLS5, this invoice was created on Feb 26, but was paid on Apr 20
- because of the long delay, on March 23 your subscription moved to
"status": "unpaid": evt_1KgN89FuSqQC7ldVT42YOgZb - And because of this status, all new invoice have automatic collection turned off, and all invoices stay in draf status
aahh right! ill run through this with one of our devs ๐