Jump to content
Sign in to follow this  
offie

Worldpay orders description show shop name

Recommended Posts

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

Share this post


Link to post
Share on other sites

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"


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.

Share this post


Link to post
Share on other sites

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 by offie

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  

×