=============================================================================
The WorldNet TPS VirtueMart XML module V1.3 - 14_07_2010
=============================================================================
There is one file and one folder within the WorldNet TPS Redirect Payment Module

Before this module is installed, you must complete the installation of VirtueMart into Joomla!. Please note that this plug-in also requires that you have an SSL certificate on the site using it, and this certificate must comply with PCI DSS regulations.

This file and folder should then be placed into the "administrator/components/com_virtuemart/classes/payment".
 
Once you have added these you will need to go to the admin section of your VirtueMart installation:

Joomla! Admin -> Componants -> VirtueMart ->
Click on "Store" (on the right)
Click on "Add Payment Method" and enter these details:
Payment Method Name: Secure Online Payments (WorldNet TPS)
Code: WNTPS
Payment Class Name: worldnet_tps_xml
Payment Method Type: Credit Card
Click on the "Apply" button in the top right corner.
Click on the "Configure" button and supply your test Currency, Terminal ID and your "Shared Secret" and other info. (These details were supplied by WorldNet TPS.)
Click "Apply" in the top right corner.


You will also need to change the short codes for the Credit Card schemes within VirtueMart so that they match up with the codes that our host is expecting. Our host only supports these codes: VISA, MASTERCARD, LASER, SWITCH, SOLO, AMEX, DINERS, MAESTRO, DELTA, ELECTRON, UK MAESTRO, JCB. You can change these by logging into the VirtueMart plug admin panel, clicking the "Store" menu and clicking "Credit Card List". If another credit card processor is currently being used and these codes cannot be changed, please contact WorldNet TPS for a custom solution.


Additional steps to remove the CVV from VirtueMart database/receipts in accordance with PCI security standards:
Modify <joomla path>\administrator\components\com_virtuemart\classes\ps_checkout.php and at line 1030 change:
$fields['order_payment_code'] = $d["order_payment_code"];
To:
$fields['order_payment_code'] = "";

Also comment out/remove line 1816 ($payment_info_details .= 'CVV code: '.$_SESSION['ccdata']['credit_card_code'].'<br />';)

=============================================================================
REVISION HISTORY:

V1.3 - Updated XML API to point to new XSD files hosted on dedicated servers (better reliability)

-----------------------------------------------------------------------------
V1.2 - Updated to latest version of the XML API
     - Added the ability to configure the WorldNEt host receipt emails

-----------------------------------------------------------------------------
V1.1 - Fixed issue with switching off test mode on some versions of PHP

-----------------------------------------------------------------------------
V1.0 - Launched 15_05_2006
     - The WorldNet TPS VirtueMart XML module V1.0

-----------------------------------------------------------------------------
=============================================================================
