#herb-metered-billing

1 messages · Page 1 of 1 (latest)

snow wagon
#

hello, what is your question

#

where are you blocked

glad atlas
#

you're too fast on the response, I edited the original question

snow wagon
#

finally get around to pulling it from some queue, but now its Jan 1, and it gets rejected.

mind sharing the request ID for that? and no worries, thanks for editing the original question!

glad atlas
#

req_qtDyeq4WBxlpKI

#

I created a subscription, then anchored it to 15 minutes later, let it pass that 15 minute threshold and then tried to add a usage-record in the past bucket

#

this is something that is going to happen to me on my end as I am consuming a kafka topic and I may be down for a day before I get around to consume and push to stripe. They may all get rejected because of their timestamps being before the current start period

#

here is another one that is for sure in the period after I first started the subscription and but before the new start period. req_t1Qjjg2m0YcnBO

#

btw: I fully understand that adding usage records in the past is BAD. but in this case accurate, and my only problem is that I want to delay sending the customer that invoice while I get my usages sorted

#

Here is a success that meets the timestamp requirement to be recorded: req_SLlqXAzp85gzwP

snow wagon
#

don't remember off hand but you can add usage records once you have a "Draft" but not Finalized Invoice right?

Wonder if you could use "auto_advance: false" and then add usage records and manually finalize the Invoice.

glad atlas
#

I am going to have to research that one. Is auto_advance a setting that happens when I create the subscription the first time