I have installed the add-on however am unsure how to reference the orders_id variable in order to have it appear in my WorldPay merchant confirmation email. I have successfully passed custom variables through the merchant email before however am unsure in this case as it relates to the orders_id variable and the External Order Id Generator add-on.
Also when I choose 'Cheque/Money Order' as my payment type it successfully writes to the new orders_id table in the database, however when I choose 'WorldPay' as my payment option the order does not write to the database.
Here is my code in the worldpay.php file
...
tep_draw_hidden_field('MC_ordersId', $_SESSION['orders_id']) .
...
Any help would be greatly appreciated.
Edited by cinevate, 02 September 2010, 19:58.














