Hello i am creating a plugin for mercury payment plugin and i had completed most of the things but in the end when i use below code
$modelOrder = VmModel::getModel('orders');
$order['order_status'] = $new_status;
$order['customer_notified'] = 1;
$order['comments'] = '';
$modelOrder->updateStatusForOneOrder($virtuemart_order_id, $order, TRUE);
i get the following error
"vmError: renderMail get Template failed: The selected vmtemplate is not existing"
i had checked this error is caused by the function "static public function renderMail " in components\com_virtuemart\helpers\shopfunctionsf.php but not able to rectify it
Please help.TIA