Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi there,
    That’s probably because an invoice has not been created for this order yet.

    From the FAQ:

    Why does the download link not display on the My Account page?
    To prevent customers from prematurely creating invoices, the default setting is that a customer can only see/download an invoice from an order that already has an invoice – either created automatically for the email attachment, or manually by the shop manager. This means that ultimately the shop mananger determines whether an invoice is available to the customer. If you want to make the invoice available to everyone you can either of the following:

    • Change the email setting to attach invoices to processing and/or new order emails as well
    • Add a filter to your themes functions.php for greater control:
    add_filter( 'wpo_wcpdf_myaccount_allowed_order_statuses', 'wpo_wcpdf_myaccount_allowed_order_statuses' );
    function wpo_wcpdf_myaccount_allowed_order_statuses( $allowed_statuses ) {
        // Possible statuses : pending, failed, on-hold, processing, completed, refunded, cancelled
        $allowed_statuses = array ( 'processing', 'completed' );
    
        return $allowed_statuses;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Download from My Account Page’ is closed to new replies.