#corentin_best-practices

1 messages ยท Page 1 of 1 (latest)

bright havenBOT
#

๐Ÿ‘‹ 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/1280899717123014767

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

pulsar perch
#

Hello looking in to this, do you have the in_ ID of the invoice that that link is from?

sterile siren
#

Sorry, I can't find the invoice ID, but I'll try to find another one.

#

But I'm not sure if someone from our sales team might have only changed the invoice ID and not the URL, although it's unlikely.

pulsar perch
#

Thank you. Looking in to that invoice

sterile siren
#

ok thank you

pulsar perch
#

So in that case the payment did not complete, the link expired because someone voided the invoice from your dashboard

sterile siren
#

ok so the url change only when the invoice is voided ?

#

if the invoice is paid the url will never change ?

#

How long is the page available? Does Stripe delete invoices after one day, or do they save everything forever?

bright havenBOT
pulsar perch
#

As far as I know the URL doesn't change but the page that it goes to does

#

And as far as I know we don't have a specific retention period after which the link expires. Looking in to that

sterile siren
#

ok thank you

finite apex
#

๐Ÿ‘‹ those URLs do expire after 90 days I think

#

What you need to do is call the Retrieve Invoice API and you will get a new/refreshed URL that will work. The intent is to avoid old links in email or leaks allowing anyone to load that Invoice page and see personal information