0

The following link is used to share individual customer/user to download invoice PDF file. But each time they have to login and download PDF file. I want this link should download PDF file without login by user. https://example.com/my-account/orders/?order_id=12345&invoice_type_id=invoice&get_invoice=1&save_pdf_invoice=1

3
  • This type of PDF isn't coming from WP Core, so you will probably need to contact the support channels of the plugin that generates the PDF.
    – WebElaine
    May 7, 2020 at 17:39
  • Yes it is generated by booster plugin. But in their official document they mentioned that Only logged in users can open PDF documents via link. But I want it to bypass login and download it, Is it possible? May 7, 2020 at 19:06
  • I found this blog businessbloomer.com/… here code will make user to get access and pay for an pending orders without login. Like this is it possible with my link? May 7, 2020 at 19:13

1 Answer 1

0

I got solution that this plugin has setting to save pdf file in temp directory and has option to change temp directory. Then I added path to save files and that file is accessed directly to download file. Sorry for creating this post without looking into plugin's setting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.