#evan_webhooks

1 messages ¡ Page 1 of 1 (latest)

keen swallowBOT
#

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

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

signal cargo
#

hi! which URL, the hosted_invoice_url ? or the invoice_pdf?

fast crystal
#

The hosted_invoice_url

#

Both are invalid now.

signal cargo
#

hmm, well I can't see what is in the event since it's too old.
Overall I think this is just an implementation detail of the system that generates links, it would work if you retrieve the Invoice object by ID and use the url returned, that's how I'd recommend doing this, not persisting the event

fast crystal
#

If there is a way to get long-term links, it is more efficient.

signal cargo
#

yeah for various reasons we don't provide a persistent link, the recommended integration is to retrieve the object from the API and use the hosted_invoice_url returned.

fast crystal
#

Ok, got it, thanks.