Jump to content


Corporate Sponsors


Latest News: (loading..)

Worldpay orders description show shop name


  • You cannot reply to this topic
2 replies to this topic

#1 offie

  • Community Member
  • 204 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 17 September 2011, 07:12

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

#2 web-project

  • Community Member
  • 4,310 posts
  • Real Name:Alex
  • Gender:Male
  • Location:Hertfordshire, UK

Posted 17 September 2011, 22:56

you can use the following:

Quote

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.

#3 offie

  • Community Member
  • 204 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 19 September 2011, 08:33

View Postweb-project, on 17 September 2011, 22:56, said:

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, 19 September 2011, 08:34.