Type

magento2-module

License

GPL-2.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

emerchantpay Gateway Module for Magento 2 CE, EE, ECE

Build Status 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 upto 2.4.3)
  • GenesisPHP v1.19.1 - (Integrated in Module)
  • PCI-certified server in order to use emerchantpay Direct

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:[email protected]
    
  • 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 or emerchantpay Direct 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.

Configure Magento over secured HTTPS Connection

This configuration is needed for emerchantpay Direct Method to be usable.

Steps: * Ensure you have installed a valid SSL Certificate on your Web Server & you have configured your Virtual Host correctly. * Login to Magento 2 Admin Panel * Navigate to Stores -> Configuration -> General -> Web * Expand Tab Base URLs (Secure) and set Use Secure URLs on Storefront and Use Secure URLs in Admin to Yes * Set your Secure Base URL and click Save Config * It is recommended to add a Rewrite Rule from http to https or to configure a Permanent Redirect to https in your virtual host

GenesisPHP Requirements

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.