#defekt7x

1 messages · Page 1 of 1 (latest)

exotic lanternBOT
iron latch
#

Hi there

#

So yeah test clocks aren't really designed for this.

#

The Invoice would have to be still in a draft state

#

For this update to occur

#

You can try setting the test clock to advance to the exact time that a draft invoice would be generated

little raft
#

They do get set in a draft. I have the pay_immediately: false flag on. Usually I move the test clock forward to the exact billing date so I can see it in the draft state, and then I move it a few hours. but in this case I moved it many days ahead of the billing date. I figured it would still get set as a draft while it was processing that day

#

I'll give that a shot though

iron latch
#

Yeah no there won't be time for the update to happen if you advance past the draft time period

#

Since then all the webhooks will come in at once and the Invoice will already move to Open/Paid

little raft
#

I see. That makes sense.

iron latch
#

At which point it can't be updated in this way

little raft
#

Ok, no problem. Thank you!