PHPackages                             boolfly/module-zalopay - 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. boolfly/module-zalopay

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

boolfly/module-zalopay
======================

ZaloPay Payment Gateway

v1.0.0(5y ago)81769OSL-3.0PHPPHP ~7.1.3||~7.2.0||~7.3.0

Since May 20Pushed 5y ago2 watchersCompare

[ Source](https://github.com/boolfly/zalopay)[ Packagist](https://packagist.org/packages/boolfly/module-zalopay)[ RSS](/packages/boolfly-module-zalopay/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Boolfly ZaloPay Wallet for Magento 2
====================================

[](#boolfly-zalopay-wallet-for-magento-2)

Read more about Zalopay:

Installation
------------

[](#installation)

##### Using Composer (we recommended)

[](#using-composer-we-recommended)

```
composer require boolfly/module-zalopay

```

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

[](#configuration)

### Setup Currency

[](#setup-currency)

First of all, we need to make sure our website supporting Vietnamese Dong.

Log in to Admin, **STORES &gt; Configurations &gt; GENERAL &gt; Currency Setup &gt; Currency Options &gt; Allowed Currencies**. Make sure the Vietnamese Dong is selected.

[![Zalopay Wallet currency](https://github.com/boolfly/wiki/raw/master/magento/magento2/images/zalopay/zalopay-wallet-currency-01.png)](https://github.com/boolfly/wiki/blob/master/magento/magento2/images/zalopay/zalopay-wallet-currency-01.png)

Go to Currency Rates, **STORES &gt; Currency &gt; Currency Rates**

[![Zalopay Wallet currency](https://github.com/boolfly/wiki/raw/master/magento/magento2/images/zalopay/zalopay-currency-rates-01.png)](https://github.com/boolfly/wiki/blob/master/magento/magento2/images/zalopay/zalopay-currency-rates-01.png)

### Config API

[](#config-api)

Log in to Admin, **STORES &gt; Configurations &gt; SALES &gt; Payment Methods &gt; Zalopay**

[![Zalopay Wallet Configuration](https://github.com/boolfly/wiki/raw/master/magento/magento2/images/zalopay/configuration_zalopay.png)](https://github.com/boolfly/wiki/blob/master/magento/magento2/images/zalopay/configuration_zalopay.png)

Read more here:

- [https://docs.zalopay.vn/en/faq/#f-a-q-frequently-asked-questions\_3-is-zalopay-support-sandbox-for-developer](https://docs.zalopay.vn/en/faq/#f-a-q-frequently-asked-questions_3-is-zalopay-support-sandbox-for-developer)
-

After registering Zalo Pay system will see the application the following information:

- appid : positive integer, identifier for the application during the payment process with Zalo Pay system.
- key1 : secret key used to create authentication data for orders
- key2 : the secret key used to authenticate data sent by ZaloPayServer via MerchantServer at callback.

Configuration info to integrate with MoMo API.

- Enabled: enable or disable this method.
- App Id: Use the info above.
- Key 1: Use the info above.
- Key 2: Use the info above.
- App User: Identification information of the user of the payment order application: id / username / name / phone number / email of the user. If it is not identifiable, the default information can be used, such as the application name.
- Sandbox Mode: when testing, we should enable this mode

How does it work?
-----------------

[](#how-does-it-work)

### Checkout

[](#checkout)

After enabling this method, go to the checkout, we can see this method.

[![Zalopay Wallet Checkout](https://github.com/boolfly/wiki/raw/master/magento/magento2/images/zalopay/m2_checkout_zalopay.png)](https://github.com/boolfly/wiki/blob/master/magento/magento2/images/zalopay/m2_checkout_zalopay.png)

Zalopay Payment page:

[![Zalopay Payment page](https://github.com/boolfly/wiki/raw/master/magento/magento2/images/zalopay/zalo_pay_scan_qr.png)](https://github.com/boolfly/wiki/blob/master/magento/magento2/images/zalopay/zalo_pay_scan_qr.png)

### Purchased Successfully

[](#purchased-successfully)

[![Zalopay Payment page](https://github.com/boolfly/wiki/raw/master/magento/magento2/images/zalopay/zalopay_sucess_payment.png)](https://github.com/boolfly/wiki/blob/master/magento/magento2/images/zalopay/zalopay_sucess_payment.png)

Contribution
------------

[](#contribution)

Want to contribute to this extension? The quickest way is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests)

Support
-------

[](#support)

If you encounter any problems or bugs, please open an issue on [GitHub](https://github.com/boolfly/zalopay/issues).

Need help settings up or want to customize this extension to meet your business needs? Please email  and if we like your idea we will add this feature for free or at a discounted rate.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

2181d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3464a535f2d51de0e39842bea692eeac9046022a77e4ef04d5ab69af385517c?d=identicon)[thaopv](/maintainers/thaopv)

![](https://www.gravatar.com/avatar/cb1a2be2e009cbf4ebe979de606f212a41ede335e7ad8c4bc1aad6b8c3888713?d=identicon)[mrkhoa99](/maintainers/mrkhoa99)

---

Top Contributors

[![thaopw](https://avatars.githubusercontent.com/u/16154068?v=4)](https://github.com/thaopw "thaopw (3 commits)")[![mrkhoa99](https://avatars.githubusercontent.com/u/6185767?v=4)](https://github.com/mrkhoa99 "mrkhoa99 (1 commits)")

---

Tags

magento2magento2-extensionmagento2-modulemagento2-module-freepayment-gatewaywalletzalopay

### Embed Badge

![Health badge](/badges/boolfly-module-zalopay/health.svg)

```
[![Health](https://phpackages.com/badges/boolfly-module-zalopay/health.svg)](https://phpackages.com/packages/boolfly-module-zalopay)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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