News:

Looking for documentation? Take a look on our wiki

Main Menu

Error creating a new payment plugin

Started by vivekmunjal_php, February 17, 2014, 13:07:04 PM

Previous topic - Next topic

vivekmunjal_php

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