Only attaching pdf invoice to orders with a certain payment method

[ad_1]

Is it possible to get more control over when to attach the pdf invoice to the automatic emails? In my specific case, I only want to send the invoice along, if the customer used online payment.

But when they chose another payment method, they will receive a separate invoice, so I don’t want to send them this invoice as well.

Thank’s in advance for answering.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer