#elianbraja

1 messages · Page 1 of 1 (latest)

heady nexusBOT
pastel tapir
#

We don't have a setting to void them specifically, and we only allow increments of 30 days for that setting but that may be helpful

#

Otherwise, if you create a subscription with a collection_method of send_invoice , you can define the parameter days_until_due

#

Which again wouldn't void the invoice but you can listen to the webhook for the invoice going past due and void invoices when that event happens

frail crest
#

the problem is that I am using prorations and the customer must pay that invoice only withing that specific day. At midnight I want to void that invoice so that the customer is restricted to create a new invoice and re-calculate the prorations

#

what do you advise me in this particular case?

pastel tapir
#

Ah so this is for one-off invoices. Checking in to if we have settings for that

#

Oh wait but this is for a subscription update.

#

Does that sound roughly like what you are going for or are you handling that failure completely yourself?

frail crest
#

I am not using pending-updates because it had some side-effects on my use case

#

I want to handle it myself

#

I want to cancel that invoice at midnight

#

so Stripe does not have any way to handle this, by auto-voiding the invoice at a certain time

#

?

pastel tapir
#

Otherwise I don't think we have a built in timing mechanism for this otherwise so you may have to do your own scheduling here

frail crest
#

ok, thank you