Integrating on Magento 2
Use the same instructions to upgrade the humm plugin to a newer release.
Locate your humm Credentials
To integrate humm you will need your
- Merchant Number
- API Key
Integrating humm using Composer
Add the humm repository, in Magento's root directory
composer config repositories.shophumm git https://github.com/shophumm/humm-magento2.x.git
Require the Humm Payment Gateway Module
composer require humm/module-humm-payment-gateway:dev-master
Enable the module
./bin/magento module:enable Humm_HummPaymentGateway --clear-static-content
Update the database
Integrating humm Manually
1 - Download the humm plugin zip from GitHub.
2 - Unzip it then copy the inner
Humm folder into the
MAGENTO_DIR/app/code directory on your webserver.
codefolder doesn't exist, then create it manually.
3 - Run
MAGENTO_DIR/bin/magento setup:upgrade to enable humm.
You should see
Module 'Humm_HummPaymentGateway' in the output of the command.
Depending on your tech stack, you might have to use the
php MAGENTO_DIR/bin/magento setup:upgrade) when running the various
4 - Flush Magento's Cache: Settings -> Cache Management -> Flush Magento Cache.
MAGENTO_DIR/bin/magento cache:flush from command line.
You may need to run
Navigate to Stores -> Configuration -> Sales -> Payment Methods.
If your server utilises a Varnish cache it is important that you whitelist any URLs associated with the humm plugin.
This should at least include the following:
* YOUR_DOMAIN/HummPayments/payment/start/ * YOUR_DOMAIN/HummPayments/payment/cancel/ * YOUR_DOMAIN/HummPayments/payment/complete/