#nukesforbreakfast_sub-invoice-finalization

1 messages ¡ Page 1 of 1 (latest)

sick wadiBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1416089375317688371

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

river pulsar
#

so which behavior should be expected?

#

sub_1S6ZEJAzVYAH3rvF7fh6sYu8
in_1S6ZEJAzVYAH3rvFaHTL5Tll

rocky elk
#

Hi there,
let me take a look...

rocky elk
#

It seems like there is a known limitation for test clocks that is (still) not called out in the documentation. Could you advance the time on the test clock again for another hour?

river pulsar
#

I can, but that would finalize the invoice due to auto_advance=True on the invoice.

#

Are you saying that if I generated a subscription without a test clock, it would finalize the created subscription invoice immediately?

#

I created sub_1S6ZerAzVYAH3rvFFgEMUPXO without a test clock, and the invoice is still draft instead of open.

rocky elk
#

But the Invoice needs to be finalized in order to have the state open

river pulsar
#

right

#

But, that's not the behavior I'm seeing. Is this doc wrong or is something wrong with the subscriptions API?

rocky elk
#

No, that is the doc that is misleading. I will give that feedback to the docs team.

river pulsar
#

ok, so basically all subscription creations follow the invoice auto_advance logic of being draft for the first hour?

rocky elk
#

That is the expected behavior. YEs.