Latest News: (loading..)
Sign in to follow this  
Followers 0
cinevate

WorldPay / External Order Id Generator

1 post in this topic

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0