
AzamPay Momo for WooCommerce is a WordPress plugin that allows merchants to receive mobile money payments through their woo-commerce checkout pages. This allows merchants to receive payments from their AzamPesa, TigoPesa, AirtelMoney, and HaloPesa customers.
This plugin works in both sandbox and production environments.
The plugin extends WooCommerce allowing you to take payments directly on your store via AzamPay’s API.
AzamPay is available for store owners and merchants in Tanzania.
This plugin is developed to enable merchants and businesses to receive payment through the AzamPay payment gateway provided by AzamPay Tanzania Limited.
Upon checkout, a push request is sent to the customer’s handset where they can then confirm payment.
TZS
This plugin uses build tools (npm/webpack) to generate compressed JavaScript and CSS files for production use.
All human-readable source code for compressed files (such as assets/js/ui/wc-azampay-blocks.js) is included in the plugin directory under:
resources/js/blocks/
You can also find the maintained source at:
https://github.com/AZAMPAY-LTD/AzamPayWooCommercePlugin
To build the production files from source:
1. Install Node.js and npm.
2. Run npm install in the plugin directory.
3. Run npm run build to generate the production assets.
Please review, study, and adapt the code as needed. Contributions and forks are welcome!