Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Worldpay orders description show shop name


offie

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

Link to comment
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.

Link to comment
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
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...