Yes, it does! I can tell you that I am also using the PO Mod. Originally I was using the default CC Mod & the PO as the two payment options. doing that required some editing in orders.php but I was able to get it to pass the html emails correctly. Since we changed Payment gateways to Sage I have not been able to get it to work 100% I have palced an else statement in orders.php to determine which payment method is being used and It works for the most part but there are a couple cobwebs. If I choose CC and the payment method, the payment portion of the email looks like this.
Payment Method
Credit Card
Account Name:
Account Number:
PO Number:
and if I choose PO as the payment method it looks like this:
Payment Method
Purchase Order
Account Name: 111
Account Number: 222
PO Number: 333
as you can see, it pulls part of the else statement reguardless of which payment method I use. Here is the else statement I am using:
Code:
// ************************BEGIN THIS CONTROLS THE HTML EMAIL USING CREDIT CARD AND PURCHASE ORDER MOD FOR 1.3.7*****************
if ($this->info['cc_type']){
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] ;
}else{
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : "Account Name: " . $this->info['account_name'] . "\n\n" . "<br>Account Number: " . $this->info['account_number'] . "\n\n" . "<br>PO Number: " . $this->info['po_number'] );
}
// ************************END THIS CONTROLS THE HTML EMAIL USING CREDIT CARD AND PURCHASE ORDER MOD FOR 1.3.7*****************
I also had to edit po.php to get this to work in a few places. It all worked fine till I used the Sage Payment Mod. I am assming it has something to do with the else statement but I have tried it in all directions and no luck. My goal is to have the email look like this if it is purchased with a credit card:
Payment Method
Credit Card
Visa
and like this if it is a PO (Which it already does):
Payment Method
Purchase Order
Account Name: 111
Account Number: 222
PO Number: 333
Thanks in advanced,