Web Hosting Line
1.800.828.9231
osCommerce Hosting
osCommerce Tutorial
osCommerce Templates
osCommerce Modules
osCommerce FAQ
About osCommerce
Template Monster and SiteGround
Template Monster, the largest provider of premium osCommerce templates, now partners with SiteGround.
Host Package
Free Domain name
750 GB space
7500 GB Traffic/mo
Ecommerce pack
99.9% Server Uptime
24/7 Top Customer Care
Immediate activation
The Best Host Package
learn more sign up now
Try Doba drop shipping services:
Award for best osCommerce host:
Add Voice to Your Site:
Display entire tutorial on one page. Print-friendly version.

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



Oscommerce Hosting
(c) Copyright 2005 SiteGround Business Web Hosting Services. All rights reserved.
Previous