Jump to content

attach invoice to "payment accepted"-mail


Recommended Posts

I want to attach the invoice to the "payment accepted"-mail in BO (when you change the status of the order).
With the help of those two threads here and here
i was able to attach a corrupted file named "invoive.pdf" to the mail. have no idea why the pdf is corrupted.

it has something to do with

classes/paymentModule.php
classes/Mail.php
pdf-invoice.php

Did anybody try this and have an idea how to do it?

best

H.

Link to comment
Share on other sites

Hi nzrobert, the solution you mentioned is linked in my first post and attaches the invoice to the automatic sended mail when a customer places an order. I´m looking for a possibility to attach an invoice to the "payment accepted" mail.

best

H.

Link to comment
Share on other sites

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...