Skip to content
CardGate module for osCommerce 23
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


CardGate module for osCommerce 2.3


This plugin supports osCommerce version 2.3.x .


The usage of this module requires that you have obtained CardGate security credentials.
Please visit My CardGate and retrieve your credentials, or contact your accountmanager.


  1. Download and unzip the most recent source code file on your desktop.

  2. Upload all folders and files in the catalog folder, to the root folder of your shop.


  1. Before the CardGate administration will be visible, the admin/includes/column_left.php file of osCommerce needs to be modified.
    Line 23 is: include(DIR_WS_BOXES . 'tools.php');
    Add the following line of code below this line:
    include(DIR_WS_BOXES . 'cgp_orders.php');
    (Please note the semicolon at the end of the line!)

  2. Go to the admin section of your webshop, and on the left, select Modules, Payment.

  3. On the right, click on Install Module, and select the payment module you wish to activate.
    (All CardGate modules have Card Gate Plus written behind the name of the payment method.
    On the right click on Install Module.

  4. On the right, click on the Edit button of the installed payment module.

  5. Select true to activate the payment module.

  6. Now enter the site ID, and the hash key which you can find at Sites on My CardGate.

  7. Enter the default gateway language, for example en for English, or nl for Dutch.

  8. Select the payment zone if you wish to restrict the use of this module to a particular zone.

  9. Select none when the payment method must be visible to all clients.

  10. Set the sort order and payment statuses or use the default values.

  11. Click on Save when all settings are done.

  12. Repeat steps 3 to 11 for all the desired payment methods.

  13. Go to My CardGate, choose Sites and select the appropriate site.

  14. Go to Connection to the website and enter the Callback URL, for example:
    (Replace with the URL of your webshop.)

  15. When you are finished testing make sure that you switch all activated payment methods from Test Mode
    to Live mode and save it (Save).


No further requirements.

You can’t perform that action at this time.