theyhavelanded Posted October 19, 2005 Share Posted October 19, 2005 I have fresh copy of OSC with Download Controller and Master Products. My free of charge contribution (Not the one bulit into download controller) is not updating status when being used. any ideas of why? It worked up untill I implemented Master products with Attribs. Quote Link to comment Share on other sites More sharing options...
theyhavelanded Posted October 19, 2005 Author Share Posted October 19, 2005 it will only use the default order status. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted May 28, 2007 Share Posted May 28, 2007 I have fresh copy of OSC with Download Controller and Master Products. My free of charge contribution (Not the one bulit into download controller) is not updating status when being used. any ideas of why? It worked up untill I implemented Master products with Attribs. Find this... ------- in .../incudes/modules/payment/freeofcharge.php ------- // class constructor function freeofcharge() { global $order; $this->code = 'freeofcharge'; $this->title = MODULE_PAYMENT_FOC_TEXT_TITLE; $this->description = MODULE_PAYMENT_FOC_TEXT_DESCRIPTION; $this->sort_order = MODULE_PAYMENT_FOC_SORT_ORDER; $this->enabled = ((MODULE_PAYMENT_FOC_STATUS == 'True') ? true : false); if (is_object($order)) $this->update_status(); } --- replace with -------------------- // class constructor function freeofcharge() { global $order; $this->code = 'freeofcharge'; $this->title = MODULE_PAYMENT_FOC_TEXT_TITLE; $this->description = MODULE_PAYMENT_FOC_TEXT_DESCRIPTION; $this->sort_order = MODULE_PAYMENT_FOC_SORT_ORDER; $this->enabled = ((MODULE_PAYMENT_FOC_STATUS == 'True') ? true : false); if ((int)MODULE_PAYMENT_FOC_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_FOC_ORDER_STATUS_ID; } if (is_object($order)) $this->update_status(); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.