Send pdf invoice by e-mail

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hi all,

we need to automatically send an invoice by the e-mail when the order is completed. Do you know how to customize the source code or write a plugin for such operation?

Thanks.
10 years ago
michal.neuwirth wrote:
Hi all,

we need to automatically send an invoice by the e-mail when the order is completed. Do you know how to customize the source code or write a plugin for such operation?

Thanks.


You need to make plugin for that and capture OrderPaidEvent or OrderPlacedEvent whatever you want. after that generate invoice and store at your end...just send a link into email so that customer can click on link and it will be downloaded from that location.
10 years ago
If you decide that having a link for your customers to be able to download the pdf is fine instead of having it as an attachment, here is the code that someone gave on how to do it.

https://www.nopcommerce.com/boards/t/19437/attaching-invoice-to-email.aspx#80334
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.