#idhruv-invoice-sub

1 messages · Page 1 of 1 (latest)

dusky creek
#

Hey, you'd want to void them if the intention is for them not to be paid

zenith pine
#

but will that be allowed?

#

because these invoices are created by subscription and not by me

#

and they are in draft mode

dusky creek
#

You should be able to void them once finalised yes

zenith pine
#

but how can I finalize a draft invoice

dusky creek
#

Well, for subscriptions controlled by a subscription they'll be automatically finalised after 1 hour

zenith pine
#

okay, and if I update a draft invoice, can that finalize?

dusky creek
#

Yeah, you can only update in draft via API

#

So update before finalising

zenith pine
#

ok, the problem is that I cannot wait for an hour for invoice to finalize, so how can I quickly finalize it if its in draft mode? i would then immediately void it

#

if i have to wait an hour for invoice to get finalized my application flow will not properly work

dusky creek
dusky creek
zenith pine
#

i have default PM set so now i need to turn off auto_advance?

dusky creek
#

What is it you're actually trying to build here? It seems overly complicated

zenith pine
#

Actually, the problem is stripe is not able to stop all draft mode invoices from finalizing and prevent payment further

#

once subscription_schedule is cancelled and that is why it makes it too complex for me to detect it

#

the invoice marked red still persist although the one below it is freezed and will charge no more, I dont understand why stripe cannot stop this process all together when subscription is cancelled

dusky creek
zenith pine
#

if subscription is cancelled the invoices should just stop or get disabled, in the case above i suspect that the invoice marked in red will get active and charge for subscription that is cancelled

dusky creek
#

If you expectation is for invoices to be void after cancellation of the subscription, then you'd need to handle that yourself

zenith pine
#

if cancellation is done in an hour

#

i can void them but then its asking to get finalized first

dusky creek
zenith pine
#

this will charge customers after one hour for nothing right? I mean for the subscription schedule that is cancelled

dusky creek
#

I already explained: invoice status is not directly tied to the cancellation of a subscription. What if a user cancels their subscription, but they have an outstanding invoice with you? Would you just want to prevent collection of that?

#

They're considered separate entities in that regard

zenith pine
#

ok'

zenith pine
#

thanks for this scenario What if a user cancels their subscription, but they have an outstanding invoice with you? Would you just want to prevent collection of that? this made me think, otherwise I couldn't have figured out what was the real case scenario behind such functionality that stripe chose to keep it this way. Thanks and you can close this thread.