Type
magento2-module
emerchantpay Payment Gateway for Magento 2
magento2-module
GPL-2.0
None
None
None
None
None
This is a Payment Module for Magento 2, that gives you the ability to process payments through emerchantpay's Payment Gateway - Genesis.
Install Composer - Composer Download Instructions
Install emerchantpay Payment Gateway
Install Payment Module
$ composer require emerchantpay/magento2-emp-plugin
Enable Payment Module
$ php bin/magento module:enable EMerchantPay_Genesis --clear-static-content
$ php bin/magento setup:upgrade
Deploy Magento Static Content (Execute If needed)
$ php bin/magento setup:static-content:deploy
README.md
) to a new folder <root>/app/code/EMerchantPay/Genesis/
of your Magento 2 installationInstall GenesisGateway Client Library
$ composer require genesisgateway/genesis_php:2.0.3@stable
Enable Payment Module
$ php bin/magento module:enable EMerchantPay_Genesis --clear-static-content
$ php bin/magento setup:upgrade
Deploy Magento Static Content (Execute If needed)
$ php bin/magento setup:static-content:deploy
Stores
-> Configuration
-> Sales
-> Payment Methods
emerchantpay
is not visible in the list of available Payment Methods,
go to System
-> Cache Management
and clear Magento Cache by clicking on Flush Magento Cache
Payment Methods
and click the button Configure
under the payment method emerchantpay Checkout
to expand the available settingsEnabled
to Yes
, set the correct credentials, select your prefered transaction types and additional settings and click Save config
Enable e-mail notification
to Yes
to receive emails after successful payment.
Note: If you consider sending Order e-mail after a successful payment, make sure to enable the configuration option from the payment method config and enable
the Order e-mails from the Stores
-> Configuration
-> Sales
-> Sales Emails
in the Order section.emerchantpay Checkout
Payment Method
Note: If you have trouble with your credentials or terminal configuration, get in touch with our support team
You're now ready to process payments through our gateway.
Composer script to install Magento and emerchantpay Payment Gateway in Test/Dummy folder.
$ composer install-magento
If the Test/Dummy folder already exists the script will only update the emerchantpay Payment Gateway without installing Magento.
The credentials for repo.magento.com
can be provided in an auth.json
file inside the root of the project or by passing repo_user
and repo_name
.
$ composer install-magento repo_user=XXX repo_pass=XXX
Composer script to run PHPUnit tests
$ composer test-phpunit
Composer script to install Magento and run PHPUnit tests
$ composer test-magento
or
$ composer test-magento repo_user=XXX repo_pass=XXX
Composer script to run PHP Code Sniffer
$ composer test-phpcs
Composer script to run PHP Mess Detector
$ composer test-phpmd