You can customise the Confirmation email that WorldPay sends to you, to include additional information.
1) Download the default email messages_*.properties file, from the following location:
https://select.worldpay.com/global3/email/d...s_en.properties
2) Edit the file using a text editor (such as WordPad)
3) In the email template you will find under that under the section marked
# Specific to merchant purchase receipts
# a special fields for merchant's own additional information
email.merchPurch.top=
email.merchPurch.middle=
email.merchPurch.bottom=
4) you can put as much as you like in them. If you want multiple lines you put "\n" as the line break into the message
e.g.
email.merchPurch.top=This is my first paragraph.\n\nA new line followed by a blank line precedes this paragraph\nmore stuff on a new line. There should be no literal carriage return in the message as this terminates it.
5) You will however notice that some shopper details already appear in the Merchant Confirmation Email (such as shopper Name
and Address). However, it is possible to add additional shopper details and other transaction-specific information, including:
a) any variables that are submitted in the original purchase token which are prefixed with either M_, MC_ or C_
b) almost all of what is stored about an authorized transaction on the Customer Management System (http://www.worldpay.com/admin)
6) To pass the customer's email address in the middle of the email you would need to add
email.merchPurch.middle=Email: <WPDISPLAY ITEM=email>
The list of Worldpay parameters can be found here:
http://support.worldpay.com/kb/integration...sjig_10100.html
Another example:
Add shopper's email, fax, name, address, postcode, country:
email.merchPurch.middle=Email: <WPDISPLAY ITEM=email> \n fax: <WPDISPLAY ITEM=fax> \n Name: <WPDISPLAY ITEM=name> \n Address: <WPDISPLAY ITEM=address> \n Post code: <WPDISPLAY ITEM=postcode> \n Country: <WPDISPLAY ITEM=country>
7) To add an MC_ variable (custom information) for example called MC_test though in the middle of the email, you would need to add
email.merchPurch.middle=MC_test: <WPDISPLAY ITEM= MC_test>
8) Upload the modified messages_en.properties file under File Management for your installation id in the CMS
Remember that changes in customisation can take about 2 hours to propagate across the
servers and take effect when you do your tests.
HTH, Pamela