#litterboks_best-practices

1 messages ¡ Page 1 of 1 (latest)

thorn lodgeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253334226670194861

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

desert seal
#

Hello

jolly mason
#

Hey bismarck

desert seal
#

No that's not possible

#

You can only delete Subscription Items from Subscriptions

#

Not Invoices

#

You would be better off checking just before renewal and deleting at that point

#

If you want to go that route

jolly mason
#

yes but as far as i know there is no webhook that fires just before creation

#

i know invoice.upcoming but thats way earlier

desert seal
#

You could use invoice.upcoming

#

But yeah

#

If you want just before then you would have to track that on your end

jolly mason
#

is there a setting for when invoice.upcoming is fired?

desert seal
#

So this likely isn't really what you want

jolly mason
#

hm i might just schedule a task on invoice.upcoming that removes the items 2 days later.
so i guess i can live with it

#

thanks for the help