Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

WorldPay / External Order Id Generator


Guest

Recommended Posts

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 by cinevate
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...