This plugin supports Magento 2 up to version 2.2.1. It might work on more recent versions, but we cannot make any guarantees.
The usage of this module requires that you have obtained CardGate RESTful API credentials. Please visit My Cardgate and retrieve your RESTful API username and password, or contact your accountmanager.
The CardGate Module for Magento 2 is installed via Composer.
-
Go to Magento 2 root folder.
-
Enter following commands to install module:
composer require cardgate/magento2
Wait while dependencies are updated.
-
Enter following commands to enable module:
php bin/magento module:enable Cardgate_Payment php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:clean
-
If Magento is running in production mode, deploy static content:
php bin/magento setup:static-content:deploy
- Open the Magento Admin panel and view the CardGate plugin-configuration:
- Stores > Configuration
- Sales > CardGate
- Fill in the CardGate configuration section using the API credentials obtained earlier.
- Save config.
- Refresh the active payment methods:
- CardGate information section
- Paymentmethods > Refresh active paymentmethods
- Check the output
- After the paymentmethods are refreshed successfully, all active Paymentmethod sections can be enabled and edited.
This extension requires the CardGate API client library for PHP.
When using composer this will be installed automatically. To install manually, enter the following command in your Magento 2 root folder:
composer require cardgate/cardgate-clientlib-php