Payment Modules
How to configure WorldPay module for osCommerce
OsCommerce works with WorldPay payment gateway.
The connection between them is being done with the Gary Burton's module Worldpay v4.0 - 1.8, which can be downloaded here.
In order to install the module, you first have to have a WorldPay merchant account.
1. Edit the filenames.php file from the cPanel of your account:
Go to File Manager in your cPanel and find the folder where you have installed the osCommerce.
Then click on the folder includes and look for the file called filenames.php.
Edit the file and somewhere between the

tags put the following line:

Do not forget to save the file after you have completed the change.
2. Log into the WorldPay Admin area:
Find the option called Set callback URL and enter the following:
-- In case that you are using SSL for the checkout procedure:

-- In case that you are NOT using SSL for the checkout procedure:

Check if the following parameters are set correctly:
--Callback Enabled: make sure it is ticked on
--Use callback response: make sure it is ticked on
They are ticked in case that they are enabled.
--Callback suspended: make sure this option is unchecked- this automatically selects if callback fails.
--Do not use callback passwords - it is not enabled!
3. Unzip the .zip archive of the module and upload it via FTP into your OsCommerce directory.
Overwrite certain files when you are asked to do it.
4. Go to the OsCommerce admin panel and activate the WorldPay payment type.
Click the red button next to it. You will be asked to enter your Worldpay ID and the mode:
--100 is for test mode
--0 is for live mode
|