alexandrepoinas → created an issue.
Tried this solution but obtained : "Le site Web a rencontré une erreur inattendue." unexpected error.
It works fine when I try with a node.
I want to send a invoice attached to a mail.
I use commerce module, commerce invoice, eca and easy mail.
1. On checkout event eca have to print the invoice and save it to private folder
2. Eca attachs the pdf file and send the mail.
Tests :
1. Eca event : view content any. Action : print entity node. Node is printed and downloaded in the browser but not saved in private folder
2. Eca event : view content invoice. Action : print entity commerce_invoice. Nothing is printed and new page give a error id() null.
Thanks for help
alexandrepoinas → created an issue.