OK, just to be sure I'm going to do this right, I would find this:
Code:
$this->enabled = ((MODULE_PAYMENT_PAYPAL_STATUS == 'True') ? true : false);
if ((int)MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID > 0) {
$this->order_status = MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID;
}
if (is_object($order)) $this->update_status();
and REPLACE with this:
Code:
$this->enabled = ((MODULE_PAYMENT_PAYPAL_STATUS == 'True') ? true : false);
// bof: custom code for order status
if ($order->info['total'] <= 50.00) {
// set to normal setting for orders less than or equal to $50
$this->order_status = MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID;
} else {
// set to pending for orders over $50
$this->order_status = 1;
}
// eof: custom code for order status
if (is_object($order)) $this->update_status();
Is this correct?
Thanks so much for helping me!!
Joanne