Dynamic information parameters

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

Note: You can also use the Payment Page Editor to add parameters to Shopper Confirmation emails. For details, please refer toShopper confirmation email.

Add a tag to a Payment Service page

To include dynamic information in a Payment Service page:

  • Download the relevant Payment Service HTML file.

  • 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 including merchant-defined parameters, please refer to Custom Parameters.

  • 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:

<WPDISPLAY ITEM="address1"> <WPDISPLAY ITEM="address2">  
<WPDISPLAY ITEM="address3">  
<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">

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