sanjar12345 Posted August 12, 2014 Share Posted August 12, 2014 Hi, How can I do that? I need to attach another PDF with instructions and information to the invoice, Thanks you I am using PS 1.6.0.9 Link to comment Share on other sites More sharing options...
bellini13 Posted August 12, 2014 Share Posted August 12, 2014 what does the content of this PDF look like? does it change from order to order, or customer to customer? Link to comment Share on other sites More sharing options...
sanjar12345 Posted August 12, 2014 Author Share Posted August 12, 2014 (edited) what does the content of this PDF look like? does it change from order to order, or customer to customer? Nope, it's this gamekeyswarehouse.com/PaidOrder.pdf It's the same for everyone Edited August 12, 2014 by sanjar12345 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted August 13, 2014 Share Posted August 13, 2014 then it is just a matter of altering the PaymentModule class to include this attachment. There is a function called validateOrder, which sends the order confirmation email, which includes the invoice attachment. So you would need to add logic here to send in an array of attachments that would include the invoice and your pdf Link to comment Share on other sites More sharing options...
tuk66 Posted August 18, 2014 Share Posted August 18, 2014 Or you can just merge the instructions to the invoice as an extra page. One document. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now