Skip to content

Smart2Pay/magento2

Repository files navigation

Smart2Pay Plugin for Magento 2.1+ E-Commerce Platform

Tested on Magento 2.1.15, 2.2.5, 2.2.6 and 2.3.4.

Composer installation (recommended)

  1. Install Smart2Pay Magento plugin using composer:

    composer require smart2pay/magento2
  2. Follow steps from Magento setup section.

  3. Login in admin area of your Magento shop and configure the plugin.

Manual installation notes

  1. Copy Smart2Pay plugin files:

    1.1. Zip file

    Download zip file from Smart2Pay Magento 2 releases and unzip it in a temporary location on your Magento 2 server.

    1.2. git clone

    Execute git clone https://github.com/Smart2Pay/magento2 in a temporary directory on your Magento 2 server.

  2. In {Magento_root}/app/code directory create Smart2Pay/GlobalPay directories. If you don't have a code directory in {Magento_root}/app/, create it first.

  3. Copy plugin files from the temporary directory created at step 1 in {Magento_root}/app/code/Smart2Pay/GlobalPay directory.

  4. To check if the files were copied correctly, check if there is a registration.php file in {Magento_root}/app/code/Smart2Pay/GlobalPay directory.

  5. Run composer require smart2pay/sdk-php in {Magento_root} directory (not in module's directory).

  6. Complete steps from Magento setup section.

  7. Login in admin area of your Magento and configure the plugin.

If you have problems with any version please let us know your Magento, Smart2Pay module and Smart2Pay SDK versions at support@smart2pay.com.

Magento setup

  1. Open a shell in Magento 2 root directory.

  2. To make sure the plugin is enabled run bin/magento module:enable Smart2Pay_GlobalPay.

  3. Run following commands:

    bin/magento setup:upgrade
    bin/magento setup:di:compile