You are here

README.txt in Commerce Worldpay 7

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Installation
 * Payment Success and Cancellation pages
 * NOTES

INTRODUCTION
------------

Included in this folder are a set of sample files for customizing the look
of WorldPay's payment pages. They will implement roughly the same visual
design of the default Drupal Bartik theme. See INSTALLATION on how to use.

INSTALLATION
------------

 * Log into your WorldPay installation page.
 
 * Click "Installations" and under "Payment Page Editor" click
   "Edit Payment Pages"
   
 * First we should remove the default inline theming set by WorldPay:
   - Click "Text Styles" and change all the selection widgets to blank and
     click save.
   - In the left navigation click "Colours" and blank all the fields.
   - In the left navigation click "Page Format" and blank all the fields.
   
 * Now in the left navigation click "File Management". Here you will one by
   one upload all the files in this folder excluding this README file. Do not
   enter anything in the "WorldPay Name for File".
   
 * Now you can preview your customized WorldPay payment pages by clicking on
   "Preview" (towards the top right).

PAYMENT SUCCESS AND CANCELLATION PAGES
--------------------------------------

The Payment Success and Cancellation pages (typically resultY.html and
result.C.html files in WorldPay) are built by Drupal and fetched by WorldPay
as needed. They are customized just like any other Drupal template files. You
can find the default implementations in the theme/ folder. Note that these
templates can make use of <WPDISPLAY> tags just like the ones directly hosted
on WorldPay's payment servers.

NOTES
-----

Any CSS file named stylesheet.css is embedded, rather than linked to in the
payment pages. If you do not want this, rename the file. Next create a head.html
file and inside add:
<link rel="stylesheet" href="/i/<wpdisplay item=instId>/[stylesheetname].css" type="text/css" />
Where [stylesheetname] is what you called your CSS file.

RESOURCES ON CUSTOMIZING
------------------------

These are some helpful resources on the structure of WorldPay's payment page
customization features.

http://www.worldpay.com/support/kb/bg/customisingadvanced/custa7104.html
http://www.worldpay.com/support/kb/bg/customisingadvanced/custa7100.html
http://www.worldpay.com/support/kb/bg/htmlredirect/rhtml6000.html

File

worldpay page example/README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Installation
  5. * Payment Success and Cancellation pages
  6. * NOTES
  7. INTRODUCTION
  8. ------------
  9. Included in this folder are a set of sample files for customizing the look
  10. of WorldPay's payment pages. They will implement roughly the same visual
  11. design of the default Drupal Bartik theme. See INSTALLATION on how to use.
  12. INSTALLATION
  13. ------------
  14. * Log into your WorldPay installation page.
  15. * Click "Installations" and under "Payment Page Editor" click
  16. "Edit Payment Pages"
  17. * First we should remove the default inline theming set by WorldPay:
  18. - Click "Text Styles" and change all the selection widgets to blank and
  19. click save.
  20. - In the left navigation click "Colours" and blank all the fields.
  21. - In the left navigation click "Page Format" and blank all the fields.
  22. * Now in the left navigation click "File Management". Here you will one by
  23. one upload all the files in this folder excluding this README file. Do not
  24. enter anything in the "WorldPay Name for File".
  25. * Now you can preview your customized WorldPay payment pages by clicking on
  26. "Preview" (towards the top right).
  27. PAYMENT SUCCESS AND CANCELLATION PAGES
  28. --------------------------------------
  29. The Payment Success and Cancellation pages (typically resultY.html and
  30. result.C.html files in WorldPay) are built by Drupal and fetched by WorldPay
  31. as needed. They are customized just like any other Drupal template files. You
  32. can find the default implementations in the theme/ folder. Note that these
  33. templates can make use of tags just like the ones directly hosted
  34. on WorldPay's payment servers.
  35. NOTES
  36. -----
  37. Any CSS file named stylesheet.css is embedded, rather than linked to in the
  38. payment pages. If you do not want this, rename the file. Next create a head.html
  39. file and inside add:
  40. Where [stylesheetname] is what you called your CSS file.
  41. RESOURCES ON CUSTOMIZING
  42. ------------------------
  43. These are some helpful resources on the structure of WorldPay's payment page
  44. customization features.
  45. http://www.worldpay.com/support/kb/bg/customisingadvanced/custa7104.html
  46. http://www.worldpay.com/support/kb/bg/customisingadvanced/custa7100.html
  47. http://www.worldpay.com/support/kb/bg/htmlredirect/rhtml6000.html