Kount moved hosting of the Magento SDK from third-party space to their own GitHub repository. As a result of this move, a few steps must be followed to update your Kount/Magento integration. The steps vary depending on how you integrated the SDK.
Integrated using Composer (preferred method):
- Remove the old dependency:
composer remove swarming/magento2-kount
- Add the new dependency:
composer require kount/magento2-kount
- Update any references from the old namespace (
Swarming\Kount\
) to the new namespace (Kount\Kount\
). - Build/reconfigure the module:
php bin/magento setup:upgrade
- Reconfigure the extension within Magento administration:
- Log into Magento with admin credentials.
- Navigate to the configuration for the Kount plugin.
- Click Save.
Integrated using a direct download:
- Remove the old download code from Swarming Tech.
- Download the new code from the Kount repository.
- Download latest/desired release zip file starting with
Sdk-Ris-Php-$VERS-$TIMESTAMP.zip
from GitHub Releases Section. - Go to your project directory. If you do not have one, create a directory and use
cd
to navigate to it. Make sure the Risk Inquiry Service (RIS) SDK dependency is available:
mkdir project
cd project - Unzip, and copy the directory to your project location.
This is how the directory should be structured: - Make sure the SDK is placed in
vendor/kount/kount-ris-php-sdk
. - Update any references from the old namespace (
Swarming\Kount\
) to the new namespace (Kount\Kount\)
. - Build/reconfigure the module:
php bin/magento setup:upgrade
- Reconfigure the extension within Magento administration:
- Log into Magento with admin credentials.
- Navigate to the configuration for the Kount plugin.
- Click Save.
NOTE: For both integration processes, any customizations to the code downloaded from the Swarming repository must be updated/reapplied to the new downloaded code.
Comments
0 comments
Please sign in to leave a comment.