title: Prestashop, Generating invoice(pdf) automatically
body: <p>So I'm looking for a solution to save invoice automatically into my server folder, when I press view invoice as the generated URL occurs (<a href="http://www.example.com/admin11111/index.php?controller=AdminPdf&amp;token=" rel="nofollow noreferrer">http://www.example.com/admin11111/index.php?controller=AdminPdf&amp;token=</a>"token"&amp;submitAction=generateInvoicePDF&amp;id_order="id").</p>
  
  <p>I also did research on google, but this solution, somehow didnt work for me: <a href="https://www.prestash...es-in-a-folder/" rel="nofollow noreferrer">https://www.prestash...es-in-a-folder/</a></p>
  
  <p>From Prestashop Forum I got advice that I should use shell script, but using a shell download like wget or other only gets me html file, because when I download the invoice in Prestashop backoffice.. it takes some time to generate and the download save appears later.</p>