VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: vivekmunjal_php on February 17, 2014, 13:07:04 PM

Title: Error creating a new payment plugin
Post by: vivekmunjal_php on February 17, 2014, 13:07:04 PM
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