offie Posted September 17, 2011 Posted September 17, 2011 Hi,I have everything working fine with Worldpay except that when the orders get passed to worldpay it is taking the shop name as the item description. I have downloaded the latest contribution and the worldpay_junior.php file is still showing on line 286 the following piece of code: tep_draw_hidden_field('desc', STORE_NAME) Which piece of code needs to go where it says " STORE_NAME" so that the items purchased are shown instead of the store name? I am surprised this is not already shown in the forum as others must have had this problem. I have tried a few tests such as inserting $order, $order_id, $cartID but none of these worked. Any ideas? Thanks for any help given. Michael Quote
web-project Posted September 17, 2011 Posted September 17, 2011 you can use the following: tep_draw_hidden_field('desc', 'Order No:' . $order_id) the above code will change the description: "shop name" to "Order No: 111" Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
offie Posted September 19, 2011 Author Posted September 19, 2011 (edited) you can use the following: the above code will change the description: "shop name" to "Order No: 111" Hi and thanks for your reply. I have just tried the above and it does indeed give the order number next to item description but what I would really like is for it to show the actual items purchased rather than the order number. There must be a way for this information to be shown instead of the order number or shop name. Any other ideas would be much appreciated and thanks again for your help. Michael Edited September 19, 2011 by offie 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.