AzamPay Gateway for WooCommerce
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.
Take AzamPay payments easily and directly on your store
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.
Use Of Azampay for Woocommerce Plugin as a Third-Party Service
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.
User Manual
Test Environment
- Go to Sandbox and register your website.
- From the sandbox retrieve your credentials.
- Go back to the plugin settings and enable Test Mode.
- Enter your credentials to the plugin settings.
- Test payments from the checkout Page.
Live Environment
- Submit KYCs to AzamPay to get Live credentials.
- Disable Test Mode in the Plugin settings.
- Enter live credentials. Checkout is now enabled for live environment.
SUPPORTED CURRENCIES
TZS
SUPPORTED MOBILE MONEY CHANNELS
- AzamPesa
- AirtelMoney
- Halopesa
- TigoPesa
Important Links
- https://authenticator.azampay.co.tz and https://authenticator-sandbox.azampay.co.tz are authentication URLs to get the access token for the Checkout API of AzamPay Payment Gateway in the sandbox and production environment respectively.
- https://sandbox.azampay.co.tz and https://checkout.azampay.co.tz are used in the sandbox and production environment respectively to process checkout payment requests and related APIs.
- https://developers.azampay.co.tz/sandbox/registerapp is used to register new users to get new client IDs, client secrets, and other required access to use the plugin.
Source Code and Build Tools
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!
