emerchantpay / magento2-emp-plugin

emerchantpay/magento2-emp-plugin

emerchantpay Payment Gateway for Magento 2

magento2-module Compatibility: 2.4.7-2.4.8 Code Quality: Fail Tests: Fail Security: Pass GPL-2.0

Are you the maintainer of emerchantpay?

Packagento pulls emerchantpay's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

emerchantpay Gateway Module for Magento 2 CE, EE, ECE

Latest Stable Version
Total Downloads
Software License

This is a Payment Module for Magento 2, that gives you the ability to process payments through emerchantpay's Payment Gateway - Genesis.

Requirements

  • Magento 2 CE, EE, ECE or higher (Tested up to 2.4.8-p1)
  • GenesisPHP v2.2.0 - (Integrated in Module)

Installation (composer)

  • 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
      

Installation (manual)

  • Upload the contents of the folder (excluding README.md) to a new folder <root>/app/code/EMerchantPay/Genesis/ of your Magento 2 installation

  • Install GenesisGateway Client Library

    $ composer require genesisgateway/genesis_php:2.2.0@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
    

Configuration

  • Login inside the Admin Panel and go to Stores -> Configuration -> Sales -> Payment Methods
  • If the Payment Module Panel 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
  • Go back to Payment Methods and click the button Configure under the payment method emerchantpay Checkout to expand the available settings
  • Set Enabled to Yes, set the correct credentials, select your prefered transaction types and additional settings and click Save config
  • Set 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.

GenesisPHP Requirements

Supported Transactions

  • emerchantpay Checkout Payment Method
    • Apple Pay
    • Argencard
    • Aura
    • Authorize
    • Authorize (3D-Secure)
    • Baloto
    • Bancomer
    • Bancontact
    • Banco de Occidente
    • BitPay
    • Boleto
    • Cabal
    • CashU
    • Cencosud
    • Davivienda
    • Efecty
    • Elo
    • eps
    • eZeeWallet
    • Fashioncheque
    • Google Pay
    • iDeal
    • iDebit
    • InstaDebit
    • Intersolve
    • Multibanco
    • MyBank
    • Naranja
    • Nativa
    • Neosurf
    • Neteller
    • Online Banking
      • Interac Combined Pay-in (CPI)
      • Bancontact (BCT)
      • BLIK (BLK)
      • SPEI (SE)
      • PayID (PID)
    • OXXO
    • P24
    • Pago Facil
    • PayPal
    • PaySafeCard
    • PayU
    • PIX
    • POLi
    • Post Finance
    • RapiPago
    • SafetyPay
    • Sale
    • Sale (3D-Secure)
    • Sepa Direct Debit
    • SOFORT
    • Tarjeta Shopping
    • TCS
    • Trustly
    • TrustPay
    • UPI
    • WebMoney
    • WeChat

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.

Development

  • 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
    

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
1.4.4 stable Fail Magento 2.4.7-2.4.8 Details 2025-09-30 11:41:57
1.4.3 stable Not tested Not yet tested Details 2025-07-22 06:46:41
1.4.2 stable Not tested Not yet tested Details 2025-07-02 12:23:09
1.4.1 stable Not tested Not yet tested Details 2025-03-21 13:22:02
1.4.0 stable Not tested Not yet tested Details 2024-11-01 11:48:38
1.3.11 stable Not tested Not yet tested Details 2024-10-25 13:50:20
1.3.10 stable Not tested Not yet tested Details 2024-08-13 07:01:24
1.3.9 stable Not tested Not yet tested Details 2024-08-12 11:17:11
1.3.8 stable Not tested Not yet tested Details 2024-07-22 10:00:40
1.3.7 stable Not tested Not yet tested Details 2023-12-13 14:56:04
1.3.6 stable Not tested Not yet tested Details 2023-10-26 10:45:17
1.3.5 stable Not tested Not yet tested Details 2023-08-02 10:32:14
1.3.4 stable Not tested Not yet tested Details 2023-07-06 11:56:05
1.3.3 stable Not tested Not yet tested Details 2023-03-07 16:33:39
1.3.2 stable Not tested Not yet tested Details 2022-12-08 16:04:23
1.3.1 stable Not tested Not yet tested Details 2022-11-11 07:41:02
1.3.0 stable Not tested Not yet tested Details 2022-10-14 10:03:35
1.2.13 stable Not tested Not yet tested Details 2022-08-31 11:43:21
1.2.12 stable Not tested Not yet tested Details 2022-05-30 15:02:30
1.2.11 stable Not tested Not yet tested Details 2022-03-31 13:37:07
1.2.10 stable Not tested Not yet tested Details 2022-03-11 17:41:22
1.2.9 stable Not tested Not yet tested Details 2022-02-03 14:06:01
1.2.8 stable Not tested Not yet tested Details 2021-11-03 15:00:37
1.2.7 stable Not tested Not yet tested Details 2021-06-24 13:22:31
1.2.6 stable Not tested Not yet tested Details 2021-04-28 14:17:55
1.2.5 stable Not tested Not yet tested Details 2020-11-20 08:45:01
1.2.4 stable Not tested Not yet tested Details 2020-07-17 15:39:51
1.2.3 stable Not tested Not yet tested Details 2020-07-09 14:38:18
1.2.2 stable Not tested Not yet tested Details 2020-06-23 16:08:52
1.2.1 stable Not tested Not yet tested Details 2020-06-15 16:16:28
1.2.0 stable Not tested Not yet tested Details 2020-04-22 14:24:11
1.1.9 stable Not tested Not yet tested Details 2019-04-24 10:38:50
1.1.8 stable Not tested Not yet tested Details 2019-03-05 14:08:29
1.1.7 stable Not tested Not yet tested Details 2018-05-11 08:56:14
1.1.6 stable Not tested Not yet tested Details 2017-11-03 15:58:54
1.1.5 stable Not tested Not yet tested Details 2017-08-02 14:07:33
1.1.4 stable Not tested Not yet tested Details 2017-03-06 13:44:01
1.1.3 stable Not tested Not yet tested Details 2016-12-28 07:09:09
1.1.2 stable Not tested Not yet tested Details 2016-12-22 23:03:03
1.1.1 stable Not tested Not yet tested Details 2016-12-08 10:36:14
1.1.0 stable Not tested Not yet tested Details 2016-09-01 11:47:18
1.0.4 stable Not tested Not yet tested Details 2016-07-12 13:45:09
1.0.3 stable Not tested Not yet tested Details 2016-05-12 10:47:47
1.0.2 stable Not tested Not yet tested Details 2016-05-11 10:38:26
1.0.1 stable Not tested Not yet tested Details 2016-05-10 15:35:32

Requires 2

Package Constraint
php 7.0.2|7.0.4|~7.0.6|7.1.*|7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*|8.4.*
genesisgateway/genesis_php 2.2.0

Requires-dev 5

Package Constraint
fakerphp/faker ^1.20
magento/magento-coding-standard *
squizlabs/php_codesniffer ~3.6.0
dealerdirect/phpcodesniffer-composer-installer ^0.7.0
phpmd/phpmd ^2.9.1

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass not tested

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 1 1 warning (ruleset: Magento2) — 1 auto-fixable with phpcbf
PHPMD Warning 5 5 rule violations (ExcessiveMethodLength:4, ExcessiveParameterList:1)
Cpd Warning 2 2 duplicated chunks spanning 95 total lines (min-lines=5, min-tokens=70)
Composer validate Info 3 valid; 3 advisory notes (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 98 98
2.4.8 98 98
2.4.9 98 N/A

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Error Error
2.4.8 Error not tested
2.4.9 Error N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
GPL-2.0
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.