#evan_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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.
hi! which URL, the hosted_invoice_url ? or the invoice_pdf?
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
If there is a way to get long-term links, it is more efficient.
ah this is documented at https://docs.stripe.com/invoicing/hosted-invoice-page#invoice-urls too so make sure to read that.
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.
Ok, got it, thanks.