boolfly / module-zalopay
ZaloPay Payment Gateway
Installs: 176
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 10
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.1.3||~7.2.0||~7.3.0
This package is auto-updated.
Last update: 2024-10-28 17:36:32 UTC
README
Read more about Zalopay: https://fintechnews.sg/10595/vietnam/vietnams-zalo-pay-brings-payments-social-media/
Installation
Using Composer (we recommended)
composer require boolfly/module-zalopay
Configuration
Setup Currency
First of all, we need to make sure our website supporting Vietnamese Dong.
Log in to Admin, STORES > Configurations > GENERAL > Currency Setup > Currency Options > Allowed Currencies. Make sure the Vietnamese Dong is selected.
Go to Currency Rates, STORES > Currency > Currency Rates
Config API
Log in to Admin, STORES > Configurations > SALES > Payment Methods > Zalopay
Read more here:
- https://docs.zalopay.vn/en/faq/#f-a-q-frequently-asked-questions_3-is-zalopay-support-sandbox-for-developer
- https://developers.zalopay.vn/docs/gateway/index.html#dang-ky-ng-d-ng
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?
Checkout
After enabling this method, go to the checkout, we can see this method.
Zalopay Payment page:
Purchased Successfully
Contribution
Want to contribute to this extension? The quickest way is to open a pull request on GitHub
Support
If you encounter any problems or bugs, please open an issue on GitHub.
Need help settings up or want to customize this extension to meet your business needs? Please email boolfly.inc@gmail.com and if we like your idea we will add this feature for free or at a discounted rate.