#changetheway_stripe-app-downloads

1 messages ยท Page 1 of 1 (latest)

quasi meadowBOT
#

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

๐Ÿ“ 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.

abstract heron
#

Hey folks ๐Ÿ‘‹ You were very helpful the last time. I hope you can unblock me here ๐Ÿ™‚

late heart
#

It sounds like you are running into a limitation of the sandboxed environment that the Stripe App runs in when loaded in the Stripe Dashboard. We document some of these here

#

When you say you want to download invoices in bulk, are you referring to the Invoice PDFs Stripe generates?

abstract heron
#

yes, Invoice PDFs Stripe generates

#

is there any workaround for that?

late heart
#

What is the overall use case here? You say download in bulk but to where? Why?

abstract heron
#

I need to send all invoices to my accountant every single month. As many other EU-based founders do, I believe. Currently, I need to manually open dozens of invoices and download the PDFs. So, I want to build an app to download all invoice PDFs for a specific date range.

late heart
#

I don't understand why you would need a Stripe App to handle this. This should be entirely achievable using the Stripe APIs. But, for the sake of argument, let's say you are using a Stripe App.

In that case your Stripe App would collect the Invoice IDs from the Dashboard context and send them to your server. Your server side code would retrieve the Invoice Objects from the API and use the Invoice PDF property to download the PDF files to your local file system.

abstract heron
#

Yes, this is what was my plan B. I didn't know about the Stripe App limitations, I've never build any before.

#

Anyway, really appreciate your advice and quick help!

late heart
#

Stripe Apps are a way for 3rd party developers to build extensions into the Stripe Dashboard. Because this can mean someone else's code interacting with your Stripe Account, we have some restrictions with how it can behave

abstract heron
#

Sure, I understand that.

#

Thanks again! Have a good day.

late heart
#

You too ๐Ÿ‘‹