Not sure if anyone is still watching this topic for errors, but,
I have everything installed and I am missing the box or ability to enter purchase order number by customer. I place an order choose shipping method at next page where I should choose payment method there is no where to put the purchase order number or select credit account. I am not sure if it as something to do with this:
find
'cc_number' => $GLOBALS['cc_number'],
'cc_expires' => $GLOBALS['cc_expires'],
after it add
// Company PO Account start
'purchase_order_number' => (isset($GLOBALS['purchase_order_number']) ? $GLOBALS['purchase_order_number'] : ''),
'customer_credit_left' => (isset($GLOBALS['customer_credit_left']) ? $GLOBALS['customer_credit_left'] : ''),
'customer_credit_amount' => (isset($GLOBALS['customer_credit_amount']) ? $GLOBALS['customer_credit_amount'] : ''),
I do not have this, mine looks like this:
$this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID,
'currency' => $currency,
'currency_value' => $currencies->currencies[$currency]['value'],
'payment_method' => $payment,
'cc_type' => '',
'cc_owner' => '',
'cc_number' => '',
'cc_expires' => '',
'purchase_order_number' => (isset($GLOBALS['purchase_order_number']) ? $GLOBALS['purchase_order_number'] : ''),
'customer_credit_left' => (isset($GLOBALS['customer_credit_left']) ? $GLOBALS['customer_credit_left'] : ''),
'customer_credit_amount' => (isset($GLOBALS['customer_credit_amount']) ? $GLOBALS['customer_credit_amount'] : ''),
'shipping_method' => $shipping['title'],
'shipping_cost' => $shipping['cost'],
'subtotal' => 0,
'tax' => 0,
'tax_groups' => array(),
'comments' => (tep_session_is_registered('comments') && !empty($comments) ? $comments : ''));
if (isset($GLOBALS[$payment]) && is_object($GLOBALS[$payment])) {
if (isset($GLOBALS[$payment]->public_title)) {
$this->info['payment_method'] = $GLOBALS[$payment]->public_title;
} else {
$this->info['payment_method'] = $GLOBALS[$payment]->title;
}
if ( isset($GLOBALS[$payment]->order_status) && is_numeric($GLOBALS[$payment]->order_status) && ($GLOBALS[$payment]->order_status > 0) ) {
$this->info['order_status'] = $GLOBALS[$payment]->order_status;
}
}
// Company PO Account end
I don't even no if this is the problem. If someone could help. I would greatly appreciate. Thanks in advance.