Payment pages
Once the purchase transaction has been received by WorldPay the
shopper is presented with a series of forms in which to provide
the information needed to process the transaction.
Customising the appearance
The payment pages can be customised by supplying header and footer
files. These contain the opening and closing BODY tags plus any
additional text or graphics you want at the top and bottom of the
page. Note that these files are not complete HTML files but are
fragments that are incorporated into the full payment page. They
should be named "header.html" and "footer.html". If either of these
files is missing then a standard default (blank) header and footer are
used. The payment forms are placed in a table with a white background
filling 80% of the page width, with the content of header.html before the
form, and footer.html after.
You can use any graphics you wish to in your header and footer
as long as you upload them to the WorldPay server. You should reference
them as /i/<installation id>/<file name>, as shown in the
examples below. You can also substitute values of any WorldPay parameters
that are available at this stage.
Further instructions on the mechanisms for uploading and configuring these
files can be found in the section
Configuring Your Installation.
You are advised not to include any links to your own or other sites in your
header and footer files. This may encourage shoppers to break off from
completing their payment and cause them confusion. The payment forms
provided by WorldPay allow a shopper to cancel a payment, in which
case they will be given your standard "payment cancelled" page. This
page can then contain any links you wish. A link back to the original
shopping site is usually a good choice.
header.html
This file should start with a body tag, which can then be followed
by anything else you wish to include at the top of the page.
As described
above, graphics can be included. For example:
<body bgcolor="aaaa44">
<img src="/i/1234/logo.gif" align=right>
<h1>My Company Ltd.</h1>
<br clear=all>
footer.html
This file should end with a closing body tag, preceded by anything
you wish to include at the bottom of the page. For example:
<center>
<img src="/i/1234/baseline.gif">
</center>
</body>
Back to contents page
$Revision: 1.6 $