This module supports Magento version 1.7 to 1.9.4.x.
The usage of this module requires that you have obtained CardGate RESTful API credentials.
Please visit My CardGate and retrieve your credentials, or contact your accountmanager.
-
Download the Source Code (tar.gz) file to your desktop.
-
Go to the Admin Panel of your webshop. (Example http://mywebshop.com/index.php/admin)
-
Under Direct package file upload, follow the instructions to upload the CardGate package.
-
The module is installed.
-
Go to the Admin Panel of your webshop.
-
In the Admin Panel click on System and then click on Configuration.
-
Click on CardGate in the Sales section of the configuration menu. (When CardGate is not yet visible, log out from the Admin Panel and login again.)
-
Enter your settings here. (The settings shown below are examples.) Activate the payment methods you wish to use and then click on Save Config.
-
Enter the site ID, and the hash key which you can find at Sites on My CardGate.
-
Enter the merchant ID and API key, which has been given to you by your CardGate account manager.
-
If you want to use multiple Store views, for example in a multilingual webshop,
it is possible that you do not use the default return URL.
The return URL you wish to use you need to specify separately on My CardGate
as will be further explained below.
When using multiple Store views you can configure all the settings for each Store view separately. -
Now set the Callback URL on My CardGate. This URL is used by CardGate to pass on successful transactions to your webshop.
Go to My CardGate, choose Sites and select the appropriate site.
Go to Connection to the website and enter the Callback URL.
When the Magento webshop is located in the root of your website,
for example http://mywebsite.com, then the Callback URL is:
http://mywebsite.com/cgp/standard/control/
When the Magento webshop is not located in the root of your website,
for example here http://mywebsite.com/shop/, then the Callback URL is: http://mywebsite.com/shop/cgp/standard/control/
When you are using storeview code in the URL, like with a multilingual webshop,
for example http://mywebsite.com/index.php/main_en/,
then the Callback URL is: http://mywebsite.com/index.php/main_en/cgp/standard/control/
In this case you need to apply a unique site ID and hash key for each storeview. -
If desired, you can apply a unique Return URL and Return URL failed.
Attention: The Return URL and Return URL failed, by default,
are automatically filled in by the Magento module.
You only need to enter them manually when you are using the multi store view option of Magento.
In this case, make sure that the option “Use back-office URLs” is set to Yes in Magento!
Example URL's for using multiple Store views:
Return URL: http://www.mywebshop.com/index.php/main_nl/cgp/standard/success/
Return URL failed: http://www.mywebshop.com/index.php/main_nl/cgp/standard/cancel/ -
The setup is now complete.
No further requirements.