This short code will let your users download the invoice directly in the thank you page after an order has been placed.
Shortcode: [order_received_view_pdf id=”templateId” message=”Message”]
Id: The id of the invoice template that you want to use
Message: The text of the download link (defaults to “Download Invoice”)
Description: Add a link in the “Order Received Page” to let users download the pdfs directly from there.
Adds the shortcode to the “Order Received” page of your site:
An hyperlink to download the invoice: