{"id":333670,"date":"2026-07-06T07:54:41","date_gmt":"2026-07-06T07:54:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/bila-payment-gateway-for-woocommerce\/"},"modified":"2026-07-06T07:54:19","modified_gmt":"2026-07-06T07:54:19","slug":"devdraft-bila-payment-gateway","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/devdraft-bila-payment-gateway\/","author":23365858,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Devdraft - Bila Payment Gateway for WooCommerce","header_author":"Bila","header_description":"Accept payments via Bila mobile money (Airtel Money, MTN MoMo, Zamtel Kwacha) in Zambia.","assets_banners_color":"","last_updated":"2026-07-06 07:54:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/usebila.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":31,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"devdraft","date":"2026-07-06 07:54:19"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[141805,6593,1887,286,226653],"plugin_category":[45],"plugin_contributors":[249971],"plugin_business_model":[],"class_list":["post-333670","plugin","type-plugin","status-publish","hentry","plugin_tags-mobile-money","plugin_tags-payment-gateway","plugin_tags-payments","plugin_tags-woocommerce","plugin_tags-zambia","plugin_category-ecommerce","plugin_contributors-devdraft","plugin_committers-devdraft"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/devdraft-bila-payment-gateway.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Devdraft - Bila Payment Gateway for WooCommerce lets your store accept mobile money payments through the <a href=\"https:\/\/usebila.com\">Bila<\/a> platform, a Devdraft product.<\/p>\n\n<p><strong>Supported operators<\/strong><\/p>\n\n<ul>\n<li>Airtel Money<\/li>\n<li>MTN MoMo<\/li>\n<li>Zamtel Kwacha<\/li>\n<\/ul>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Real-time mobile money collection (push payment prompt on the customer's phone)<\/li>\n<li>Sandbox and live API modes<\/li>\n<li>Webhook handling for <code>payment.completed<\/code> and <code>payment.failed<\/code> events<\/li>\n<li>Account name resolution at checkout<\/li>\n<li>Thank-you page status polling when webhooks are delayed<\/li>\n<li>Configurable fee bearer and enabled operators<\/li>\n<li>Compatible with WooCommerce High-Performance Order Storage (HPOS)<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin requires an active <a href=\"https:\/\/usebila.com\">Bila<\/a> merchant account and connects to the Bila API to process mobile money payments (Airtel Money, MTN MoMo, Zamtel Kwacha) in Zambia. It is needed to initiate payment collections, resolve mobile money account names, check payment status, and receive payment confirmation webhooks. This plugin acts as the WooCommerce integration layer; all payment processing itself is handled by Bila.<\/p>\n\n<p>The plugin sends the following data to Bila's servers (<code>api.usebila.com<\/code> for live mode, <code>sandbox.usebila.com<\/code> for test mode):<\/p>\n\n<ul>\n<li>Mobile phone number and network operator \u2014 sent when the customer enters payment details at checkout (for account name resolution) and when the order is placed (to initiate the payment).<\/li>\n<li>Order amount, reference, and country \u2014 sent when the order is placed, to initiate the payment collection.<\/li>\n<li>Customer name \u2014 sent when the order is placed, used for payment narration and account resolution.<\/li>\n<\/ul>\n\n<p>This data is sent every time a customer pays with Bila Mobile Money, and again when the thank-you page polls Bila for payment status. Bila may also send webhooks (<code>payment.completed<\/code>, <code>payment.failed<\/code>) back to your store to update order status.<\/p>\n\n<p>This service is provided by Bila, a Devdraft product: <a href=\"https:\/\/usebila.com\/terms\">Terms of Service<\/a>, <a href=\"https:\/\/usebila.com\/privacy\">Privacy Policy<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install the ZIP via <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen.<\/li>\n<li>Ensure WooCommerce is installed and active.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Settings \u2192 Payments<\/strong> and enable <strong>Bila \u2013 Mobile Money<\/strong>.<\/li>\n<li>Enter your Bila API key and wallet ID, then save changes.<\/li>\n<li><strong>Webhook setup (required)<\/strong> \u2014 In your <a href=\"https:\/\/usebila.com\">Bila merchant dashboard<\/a>, create a webhook with the following settings:<\/li>\n<\/ol>\n\n<ul>\n<li><strong>Endpoint URL:<\/strong> <code>https:\/\/yourstore.com\/?wc-api=bila_webhook<\/code> (replace <code>yourstore.com<\/code> with your store domain)<\/li>\n<li><strong>Events:<\/strong> <code>payment.completed<\/code>, <code>payment.failed<\/code><\/li>\n<li><strong>Signing secret:<\/strong> Copy the signing secret from Bila into <strong>WooCommerce \u2192 Settings \u2192 Payments \u2192 Bila \u2013 Mobile Money \u2192 Webhook Signing Secret<\/strong>, then save. The signing secret is required; incoming webhooks are rejected if it is not configured.<\/li>\n<\/ul>\n\n<p>Without webhooks configured, orders may remain on hold until the thank-you page polling confirms payment.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20bila%20account%3F\"><h3>Do I need a Bila account?<\/h3><\/dt>\n<dd><p>Yes. Sign up at <a href=\"https:\/\/usebila.com\">usebila.com<\/a> to obtain API credentials.<\/p><\/dd>\n<dt id=\"which%20currencies%20are%20supported%3F\"><h3>Which currencies are supported?<\/h3><\/dt>\n<dd><p>This gateway is intended for Zambian Kwacha (ZMW) mobile money collections via Bila.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20hpos%3F\"><h3>Does this work with HPOS?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares compatibility with WooCommerce custom order tables (HPOS).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Added Bila mobile money payment gateway for WooCommerce (Airtel Money, MTN MoMo, Zamtel Kwacha)<\/li>\n<li>Added webhook handler for payment.completed and payment.failed events<\/li>\n<li>Added sandbox and live API modes with configurable API key and wallet ID<\/li>\n<li>Added account name resolution at checkout before order placement<\/li>\n<li>Added thank-you page status polling as a fallback when webhooks are delayed<\/li>\n<li>Added configurable fee bearer and enabled mobile money operators<\/li>\n<\/ul>","raw_excerpt":"Accept mobile money payments in Zambia via Bila \u2014 Airtel Money, MTN MoMo, and Zamtel Kwacha.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/333670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=333670"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/devdraft"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=333670"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=333670"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=333670"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=333670"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=333670"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=333670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}