This is not my first invoice plugin.
I have tested yesterday everything before posting my request. All of this is already set properly, exactly like it is here. Everything works fine except the download button in the account.
I have created a customer, purchased a product. An invoice was automaticity created and sent to the admin and customer. There is only no invoice in the account of the customers.
I have used another plugin. The same issue (due to Avada theme I suppose). They solved it by adding a shortcode:
?wp-content/plugins/woocommerce/templates/myaccount?
Open orders.php
Find
?$actions?=?wc_get_account_orders_actions(?$order?);?
Add?after
echo?do_shortcode( ‘[bewpi-download-invoice?title=”Download (PDF)?Invoice?{formatted_invoice_number}”?order_id=”‘ . $order->get_id() . ‘”]’ );?