Guest Posted September 2, 2010 Posted September 2, 2010 (edited) I am attempting to pass the osCommerce orders_id through WorldPay for inclusion in the merchant confirmation email. I have attempted to achieve this using the External Order Id Generator add-on. 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 September 2, 2010 by cinevate Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.