-- HikaShop version -- : 2.1 > 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.23
-- Error-message(debug-mod must be tuned on) -- : 404.shtml not found
When an order history changes to confirmed, the history plugin breaks at the version check. I've been trying to debug any db queries and after a couple of hours found that it is the plgHikashopHistory that was causing this issue that, at the end, did not change automatically the orders to confirmed after successful payment confirmation.
To make it work in my system I just removed the version check (I really don't need it as it it right now), but the Hika team might look at what is causing this issue when checking the version. Commented the removed lines to make it work successfully.
function plgHikashopHistory(&$subject, $config){
parent::__construct($subject, $config);
if(!isset($this->params)){
$plugin = JPluginHelper::getPlugin('hikashop', 'history');
if(version_compare(JVERSION,'2.5','<')){ // **** REMOVED
jimport('joomla.html.parameter'); // **** REMOVED
$this->params = new JParameter($plugin->params); // **** REMOVED
} else { // **** REMOVED
$this->params = new JRegistry($plugin->params);
} // **** REMOVED
}
}
Hope it helps anyone experiencing the same problem.