3 months ago

How to make stripe invoices downloadable for my users?

Posted 3 months ago by SmokeTM

I am trying to figure out how to make my invoices downloadable. I read the docs and did it like so but this gives the user the receipts. What I want is the invoice pdf like it is on laracasts.

This is the method in my Invoicecontroller which provides the download function for the user to download his receipt.

public function download(Request $request, $invoiceId) {
      return $request->user()->downloadInvoice($invoiceId, [
          'vendor' => '',
          'product' => '',

Would prefer the invoice because it is highly customizable. Maybe someone got stuck on that too and knows how to do that?


Please sign in or create an account to participate in this conversation.