Author Topic: Worldpay Product Description  (Read 2478 times)

Sero

  • Beginner
  • *
  • Posts: 4
Worldpay Product Description
« on: July 17, 2008, 16:18:18 pm »
Ive just set up Worldpay on my shop, it is currently running in TEST mode and i can get transactions to go through it smoothly enough. 

My problem is when the admin (shop owner) gets the transaction confirmation email (sent by worldpay), all that it says next to "Description:" is "Products", so just by going off of this email we wont know what the customer has actualy ordered. 

Is there a way to fix this, or am i doing something else wrong in the first place?

Thanks.

Sero

  • Beginner
  • *
  • Posts: 4
Re: Worldpay Product Description
« Reply #1 on: July 17, 2008, 18:11:49 pm »
(sorry for double posting, but they are a few hours appart)

I know what i have to change, it is the following line:

<input type="hidden" name="desc" value="Products" />

Which is a segment of the code that can be found in the worldpay config

I can change it to:

<input type="hidden" name="desc" value="<?php echo $db->f("order_id") ?>" />

It will display the order ID (funny that ;) )

But i dont know how to get it to display the item name or SKU (either one would be nice)