#leanvitale_api

1 messages ยท Page 1 of 1 (latest)

sterile saffronBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

bleak pond
#

Hi! Where did you see that it expires?

true sonnet
#

When I tried to access the url I stored some time ago, it tells me that it no longer works.

#

I can send you a link for you to see, if it is helpful

bleak pond
#

Yes, please. ๐Ÿ™‚

bleak pond
#

Have you tried retrieving the Invoice again to see if it has a fresh URL?

true sonnet
#

No, I have stored this URL in my DBNo, I have stored this URL in my DB

bleak pond
#

But you have the Invoice ID right?

#

Like, you didn't just store that URL, you also have the ID of the Stripe Invoice, ya?

true sonnet
#

Hmm no, i just save the url ๐Ÿ˜…

bleak pond
#

That's unfortunate. ๐Ÿ˜ฆ

true sonnet
#

No problem, I can retrieve them via API

#

But I want to know if there is a way to save an invoice URL that lasts over time, so I don't have to call Stripe every time the user needs it, or there is no way?

bleak pond
#

I think if you re-retireve the Invoice, you'll get a fresh link. The better bet is probably to retrieve the Invoice to get the link before you send them off to look at the document, rather than saving the link.

true sonnet
#

Oka, thanks!!