Skip to main content

Installation in Magento 2

ePay has developed a free payment module for Magento 2 which makes it easy and smooth to accept payment cards in your online store.

Magento 2 is a free open-source solution for creating online shops. ePay offers a free module that is easy to install and integrate with your Magento 2 solution.

1. Create an ePay account

You need a test account to try the module. It's free to sign up, and it only takes a few minutes. Once your account is created, you'll receive a unique test merchant number for testing.

Get a free account

Please state that you want a test account in the comment field in step 2. You can disregard prices etc.

When you've tested the module and are ready to accept real payments, simply tell us you're ready and we'll upgrade your test account to a production account. Doing it this way means you don't have to create a new ePay account.

2. Install the module in Magento 2

If you are on Magento 2.3.* and wish to utilize the Web Setup Wizard, be aware that it has been removed starting from version 2.4.0.

To install this module we will be using SSH terminal.

info

The installation is done using Composer. Please visit getcomposer.org to install Composer.

Access your Linux server terminal and navigate to the root folder of your Magento 2 installation. Execute the command:

composer require epay/magento2-payment-module

Follow it up with:

php bin/magento setup:upgrade

and then:

php bin/magento cache:flush

2.1. Installing for production

If your Magento 2 is in production mode, you need to execute these two commands:

php bin/magento setup:static-content:deploy

and:

run php bin/magento indexer:reindex

With the completion of these steps, the module is now installed. Next we're going to configure the module.