Dynamic information parameters

You can include dynamic information, that has been created during the transaction, in the Payment Service pages or the Shopper Confirmation email by using parameters in the Payment Service HTML files or the email message properties files.

You can also use the Payment Page editor to add parameters to Shopper Confirmation emails. For details, please refer to Shopper Confirmation Email.

Adding a tag to a Payment Service page

To include dynamic information in a Payment Service page:

1.      Download the relevant Payment Service HTML file.

2.      Open the file with a text editor and add the tag at an appropriate place in the file. For example, use the tag:

<WPDISPLAY ITEM="name_of_parameter">

Where "name_of_parameter" is the name of the parameter you want to include. The parameter should be one of our standard parameters. For details of including merchant-defined parameters, please refer to Custom Parameters.

3.      Save the file and upload it to your Test environment.

For example, the following HTML code in the resultY.html file would display our address parameters after the usual text, in this case it would be the shopper's address:

Thank you for purchasing with us. Your item will be delivered to the following address:</p>
<WPDISPLAY ITEM="address1">
<WPDISPLAY ITEM="address2">
<WPDISPLAY ITEM="address3">
<WPDISPLAY ITEM="town">
<WPDISPLAY ITEM="region">
<WPDISPLAY ITEM="postcode">
<WPDISPLAY ITEM="country">

An alternative option is to supply a single address item, which includes all the address data, (other than postcode and country, which must be displayed separately) as shown below:

<WPDISPLAY ITEM="address">
<WPDISPLAY ITEM="postcode">
<WPDISPLAY ITEM="country">

You can apply the same procedure to the Confirmation Emails - make the changes to the relevant email messages_*.property file for your language.