ripenecommerce / magento2-postmark

Postmark integration for Magento 2
Open Software License 3.0
3 stars 8 forks source link

Unable to access $message #17

Open tramov opened 11 months ago

tramov commented 11 months ago

This is in combination with another 3rd party module that inserts attachment PDF's to our invoice e-mails.

The problem is in Ripen\Postmark\Model\Transport , the parent class getMessage() function does not have access to the protected $message variable and returns null.

Hacked around this by adding a new getMessage() function in Ripen\Postmark\Model\Transport.

jaywilliams commented 10 months ago

Would you like to submit a pull request with your changes?