Jump to content
thirty bees forum

Possible bug: Order status 'Attach Invoice PDF' option is not respected


Recommended Posts

  • 4 years later...
Posted (edited)

I realize this is an old thread, but it was relevant to me to remove invoice attachment in all scenarios, but still generate the document for customer access on the web, to ensure optimum email delivery with our domain (Since huge amounts of emails with attachments are a big spam flag). I resolved with this override based on a post I found on the web. (Don't judge my code please 😉)

It takes an override of the PaymentModule.php file in classes/module/. Lines 695-698 below are modified.

PaymentModule.php

Edited by x97wehner
  • Thanks 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...