Attach pdf invoice to email only with certain payment methods
-
Hi, I need help with getting the pdf invoices attached to emails only with certain payment methods. I found this 2 year old thread, but it doesn’t seem to work anymore: https://www.ads-software.com/support/topic/need-the-pdf-invoice-to-only-be-attached-to-email-if-payment-method-is-bacs/
Im getting critical errors when using this custom code. :
Uncaught Error: Call to a member function get_payment_method() on bool
If this is not possible, other workaround would be only to send the invoice, if it is manually created.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Attach pdf invoice to email only with certain payment methods’ is closed to new replies.