emerchantpay / magento2-emp-plugin
emerchantpay Payment Gateway for Magento 2
Installs: 781
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 26
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- 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.*
- genesisgateway/genesis_php: 2.0.3
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.0
- fakerphp/faker: ^1.20
- magento/magento-coding-standard: *
- phpmd/phpmd: ^2.9.1
- squizlabs/php_codesniffer: ~3.6.0
This package is not auto-updated.
Last update: 2024-11-15 12:12:47 UTC
README
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.7-p3)
- GenesisPHP v2.0.3 - (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.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
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 toSystem
->Cache Management
and clear Magento Cache by clicking onFlush Magento Cache
- Go back to
Payment Methods
and click the buttonConfigure
under the payment methodemerchantpay Checkout
to expand the available settings - Set
Enabled
toYes
, set the correct credentials, select your prefered transaction types and additional settings and clickSave config
- Set
Enable e-mail notification
toYes
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 theStores
->Configuration
->Sales
->Sales Emails
in the Order section.
GenesisPHP Requirements
- PHP version 5.5.9 or newer
- PHP Extensions:
Supported Transactions
emerchantpay Checkout
Payment Method- Apple Pay
- Argencard
- Aura
- Authorize
- Authorize (3D-Secure)
- Baloto
- Bancomer
- Bancontact
- Banco de Occidente
- Banco do Brasil
- BitPay
- Boleto
- Bradesco
- Cabal
- CashU
- Cencosud
- Davivienda
- Efecty
- Elo
- eps
- eZeeWallet
- Fashioncheque
- Google Pay
- iDeal
- iDebit
- InstaDebit
- Intersolve
- Itau
- Multibanco
- MyBank
- Naranja
- Nativa
- Neosurf
- Neteller
- Online Banking
- Interac Combined Pay-in (CPI)
- Bancontact (BCT)
- BLIK (BLK)
- SPEI (SE)
- LatiPay (PID)
- OXXO
- P24
- Pago Facil
- PayPal
- PaySafeCard
- PayU
- PIX
- POLi
- Post Finance
- PSE
- RapiPago
- Redpagos
- SafetyPay
- Sale
- Sale (3D-Secure)
- Santander
- Sepa Direct Debit
- SOFORT
- Tarjeta Shopping
- TCS
- Trustly
- TrustPay
- UPI
- WebMoney
- WebPay
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 anauth.json
file inside the root of the project or by passingrepo_user
andrepo_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