#mrwarzo_webhooks

1 messages · Page 1 of 1 (latest)

agile breachBOT
#

👋 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/1470691003508981822

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

green portal
#

👋 Hi there! Let me take a look

#

Which fields are you looking to update exactly?

#

You can also listen for the invoice.created event, and update the invoice before it is finalised

alpine crow
#

Hello, I whant to update invoice.lines[].description from "productname" to "productname - number"

I listen on the invoice created but in my workflow the user will pay then I will create a subscription for this client, and the first invoice is like auto paid and when the webhook is triggered and I update my invoice lines, I got an error because the invoice is already finalized (the 3 webhook created, finalized, paid trigger in the same second)

I was looking to prevent the first invoice to be auto paid

green portal
#

Ahh, ok. Yeah, that's more difficult for the first invoice