PHPackages                             begateway/magento2-payment-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. begateway/magento2-payment-module

ActiveMagento2-module[Payment Processing](/categories/payments)

begateway/magento2-payment-module
=================================

BeGateway Magento 2 payment module

2.4.5(2mo ago)59.5k6OSL-3.0PHPPHP ~5.5.0|~5.6.0|~7.0|~8.0

Since Aug 9Pushed 2mo ago8 watchersCompare

[ Source](https://github.com/begateway/magento2-payment-module)[ Packagist](https://packagist.org/packages/begateway/magento2-payment-module)[ RSS](/packages/begateway-magento2-payment-module/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (5)Versions (9)Used By (0)

beGateway Payment Module for Magento 2 CE
=========================================

[](#begateway-payment-module-for-magento-2-ce)

[Русская версия](#%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%BE%D0%BF%D0%BB%D0%B0%D1%82%D1%8B-begateway-%D0%B4%D0%BB%D1%8F-magento-2-ce)

This is a Payment Module for Magento 2 Community Edition, that gives you the ability to process payments through payment service providers running on beGateway platform.

Requirements
------------

[](#requirements)

- Magento 2 Community Edition 2.x (Tested up to 2.4.8)
- [BeGateway PHP API library ](https://github.com/begateway/begateway-api-php) - (Integrated in Module)

*Note:* Module name: `BeGateway_BeGateway` (used in Magento commands). Package name: `begateway/magento2-payment-module` (used with Composer).

*Note:* this module has been tested only with Magento 2 **Community Edition**, it may not work as intended with Magento 2 **Enterprise Edition**

Installation (composer)
-----------------------

[](#installation-composer)

- Install **Composer** - [Composer Download Instructions](https://getcomposer.org/doc/00-intro.md)
- Install Payment Module

    ```
    $ composer require begateway/magento2-payment-module
    ```
- Enable Payment Module

    ```
    $ php bin/magento module:enable BeGateway_BeGateway
    ```

    ```
    $ php bin/magento setup:upgrade
    ```
- This step is only required if your Magento installation is configured in compiled mode (most standard installations skip this):

    ```
    $ php bin/magento setup:di:compile
    ```
- Deploy Magento Static Content (**Execute If needed**)

    ```
    $ php bin/magento setup:static-content:deploy en_GB en_US
    ```

    To see the full list of [ISO-636](http://www.loc.gov/standards/iso639-2/php/code_list.php) language codes, run:

    ```
    $ php bin/magento info:language:list
    ```

Installation (manual)
---------------------

[](#installation-manual)

- [Download the Payment Module archive](https://github.com/beGateway/magento2-payment-module/archive/master.zip), unpack it and upload its contents to a new folder `/app/code/BeGateway/BeGateway/` of your Magento 2 installation
- Install beGateway PHP API Library

    ```
    $ composer require begateway/begateway-api-php "~4.4.0"
    ```
- Enable Payment Module

    ```
    $ php bin/magento module:enable BeGateway_BeGateway --clear-static-content
    ```

    ```
    $ php bin/magento setup:upgrade
    ```
- Deploy Magento Static Content (**Execute If needed**)

    ```
    $ php bin/magento setup:static-content:deploy en_GB en_US
    ```

    To see the full list of [ISO-636](http://www.loc.gov/standards/iso639-2/php/code_list.php) language codes, run:

    ```
    $ php bin/magento info:language:list
    ```

Configuration
-------------

[](#configuration)

- Login inside the **Admin Panel** and go to `Stores` -&gt; `Configuration` -&gt; `Sales` -&gt; `Payment Methods`
- If the Payment Module Panel `beGateway` is not visible in the list of available Payment Methods, go to `System` -&gt; `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 `beGateway 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`

Verification
------------

[](#verification)

- Go to your store's checkout page and confirm `beGateway Checkout` appears as a payment option
- Place a test order using the test card details provided below to verify the integration is working

Test data
---------

[](#test-data)

If you setup the module with default values, you can use the test data to make a test payment:

- Shop Id `361`
- Shop Secret Key `b8647b68898b084b836474ed8d61ffe117c9a01168d867f24953b776ddcb134d`
- Checkout Domain `checkout.begateway.com`
- Gateway Domain `demo-gateway.begateway.com`
- Enable test mode `Yes`

### Test card details

[](#test-card-details)

Use the following test card to make successful test payment:

- Card number: `4200000000000000`
- Name on card: `JOHN DOE`
- Card expiry date: `01/30`
- CVC: `123`

Use the following test card to make failed test payment:

- Card number: `4005550000000019`
- Name on card: `JOHN DOE`
- Card expiry date: `01/30`
- CVC: `123`

Модуль оплаты beGateway для Magento 2 CE
========================================

[](#модуль-оплаты-begateway-для-magento-2-ce)

Модуль оплаты для Magento 2 Community Edition, который даст вам возможность начать принимать платежи через провайдеров платежей, использующих платформу beGateway.

Требования
----------

[](#требования)

- Magento 2 Community Edition 2.x (тестировалось на версиях до 2.4.8)
- [BeGateway PHP API библиотека](https://github.com/beGateway/begateway-api-php) - (поставляется с модулем)

*Примечание:* этот модуль тестировался только с Magento 2 **Community Edition** и может работать не стабильно с Magento 2 **Enterprise Edition**

Установка (composer)
--------------------

[](#установка-composer)

- Установите **Composer** - [инструкция по установке Composer](https://getcomposer.org/doc/00-intro.md)
- Установите модуль оплаты

    ```
    $ composer require begateway/magento2-payment-module
    ```
- Включите модуль оплаты

    ```
    $ php bin/magento module:enable BeGateway_BeGateway
    ```

    ```
    $ php bin/magento setup:upgrade
    ```
- Этот шаг необходим только если Magento настроена для работы в режиме компиляции (большинство стандартных установок его пропускают):

    ```
    $ php bin/magento setup:di:compile
    ```
- Создайте статичный контент Magento (**выполните если необходимо**)

    ```
    $ php bin/magento setup:static-content:deploy en_GB ru_RU
    ```

    Чтобы получить полный список [ISO-636](http://www.loc.gov/standards/iso639-2/php/code_list.php) кодов языковых локалей, поддерживаемых Magento, выполните:

    ```
    $ php bin/magento info:language:list
    ```

Установка (ручная)
------------------

[](#установка-ручная)

- [Скачайте архив модуля](https://github.com/beGateway/magento2-payment-module/archive/master.zip), распакуйте его и скопируйте его содержимое в новую директорию `/app/code/BeGateway/BeGateway/` вашей Magento 2 инсталляции
- Установите beGateway PHP API библиотеку

    ```
    $ composer require begateway/begateway-api-php "~4.4.0"
    ```
- Включить модуль оплаты

    ```
    $ php bin/magento module:enable BeGateway_BeGateway --clear-static-content
    ```

    ```
    $ php bin/magento setup:upgrade
    ```
- Этот шаг необходим только если Magento настроена для работы в режиме компиляции (большинство стандартных установок его пропускают):

    ```
    $ php bin/magento setup:di:compile
    ```
- Создайте статичный контент Magento (**выполните если необходимо**)

    ```
    $ php bin/magento setup:static-content:deploy en_GB ru_RU
    ```

Настройка
---------

[](#настройка)

- Войдите в личный кабинет администратора и перейдите в `Магазины` -&gt; `Конфигурация` -&gt; `Продажи` -&gt; `Методы оплаты`
- Если панель модуля оплаты `beGateway` не видна в списке доступных методов оплаты, то перейдите в `Система` -&gt; `Управление кэшем` и очистите Magento кэш, нажав `Очистить кэш Magento`
- Вернитесь назад в `Методы оплаты` и нажмите кнопку `Настроить` под способом оплаты `beGateway Checkout`, чтобы раскрыть доступные настройки
- Выберите `Да` в выпадающем списке параметра `Включено`, задайте данные вашего магазина, выберите тип операции, доступные способы оплаты и прочие настройки. Нажмите `Сохранить конфигурацию`, чтобы их сохранить

Тестовые данные
---------------

[](#тестовые-данные)

Вы можете использовать приведенные ниже тестовые данные, чтобы протестировать оплату.

- Id магазина `361`
- Секретный ключ магазина `b8647b68898b084b836474ed8d61ffe117c9a01168d867f24953b776ddcb134d`
- Домен страницы оплаты `checkout.begateway.com`
- Домен платежного шлюза `demo-gateway.begateway.com`
- Включить тестовый режим `Да`

### Тестовая карта

[](#тестовая-карта)

Используйте следующие данные карты для успешного тестового платежа:

- Номер карты: 4200000000000000
- Имя на карте: JOHN DOE
- Месяц срока действия карты: 01/30
- CVC: 123

Используйте следующие данные карты для неуспешного тестового платежа:

- Номер карты: 4005550000000019
- Имя на карте: JOHN DOE
- Месяц срока действия карты: 01/30
- CVC: 123

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance85

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~452 days

Recently: every ~436 days

Total

8

Last Release

79d ago

Major Versions

1.2.0 → 2.2.02021-06-30

PHP version history (3 changes)1.1.0PHP ~5.5.0|~5.6.0|~7.0.0

1.2.0PHP ~5.5.0|~5.6.0|~7.0

2.4.0PHP ~5.5.0|~5.6.0|~7.0|~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e6f62ec8ea88685196a7d7c2f8ca70a63b47daf344e97fa0d45e68cc33b6b9a?d=identicon)[begateway](/maintainers/begateway)

---

Top Contributors

[![avsh](https://avatars.githubusercontent.com/u/616241?v=4)](https://github.com/avsh "avsh (60 commits)")

---

Tags

payment processingrecurringe-commercecapturepayment gatewayauthorizerefundvisamastercardcredit-cardmagento2 modulefraudvoiddebit card3d-securechargebackbepaidbegatewaymagento2\_payment\_modulemagento2\_payment\_gatewaymagento2\_payment\_processingeripecomchargebelkarthalvaхалва

### Embed Badge

![Health badge](/badges/begateway-magento2-payment-module/health.svg)

```
[![Health](https://phpackages.com/badges/begateway-magento2-payment-module/health.svg)](https://phpackages.com/packages/begateway-magento2-payment-module)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.8M12](/packages/mollie-magento2)[paynl/magento2-plugin

Pay. Payment methods for Magento 2

30323.3k6](/packages/paynl-magento2-plugin)[cybersource/rest-client-php

Client SDK for CyberSource REST APIs

40930.1k6](/packages/cybersource-rest-client-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
