This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Pay with MTN MoMo in WooCommerce

Description

MTN MoMo is a mobile payment system which is available in Uganda, Ghana, Cameroon, Zambia, Swaziland, Rwanda, Ivory Coast, Benin, Guinea-Conakry, Congo Brazza and Nigeria

๐Ÿ’ฅ November 2022 ๐Ÿ’ฅ also available in Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
๐Ÿ’ฅ January 2022 ๐Ÿ’ฅ also available in South Africa ๐Ÿ‡ฟ๐Ÿ‡ฆ and Liberia ๐Ÿ‡ฑ๐Ÿ‡ท

This plugin allows you to collect payments on your WooCommerce eShop using MTN MoMo in 13 countries ๐Ÿ‡ฌ๐Ÿ‡ญ๐Ÿ‡จ๐Ÿ‡ฒ๐Ÿ‡บ๐Ÿ‡ฌ๐Ÿ‡ฟ๐Ÿ‡ฒ๐Ÿ‡ธ๐Ÿ‡ฟ๐Ÿ‡ท๐Ÿ‡ผ๐Ÿ‡จ๐Ÿ‡ฎ๐Ÿ‡ง๐Ÿ‡ฏ๐Ÿ‡ฌ๐Ÿ‡ณ๐Ÿ‡จ๐Ÿ‡ฌ๐Ÿ‡ฟ๐Ÿ‡ฆ๐Ÿ‡ฑ๐Ÿ‡ท๐Ÿ‡ณ๐Ÿ‡ฌ

You must have WooCommerce because we developed this plugin as a WooCommerce payment gateway ๐Ÿš€

This is a fully functioning plugin not a demo version. It works in both Sandbox (development mode) and in Live (production mode).

Please keep in mind that MoMo Sandbox has several limitations imposed by MTN, see them here:

  • Sandbox is not requesting real money, means no USSD request on your phone. no matter how hard you try ๐Ÿ˜‚
  • In the Sandbox you can only use EUR currency and certain test numbers from Sweden ๐Ÿ‡ธ๐Ÿ‡ช ๐Ÿฅถ
  • Sandbox is not able to callback your application, to notify about payment status. This one is a sad limitation. ๐Ÿ˜ž
  • Test phones numbers to test for error conditions are limited to 46733123450, 46733123451, 46733123452, 46733123453
  • Only this number will be able to „pay“ after 30 seconds 46733123454 ๐Ÿ˜Ž
  • All other numbers will act like the payment was successful immediately!

How to use

  1. Install and activate WooCommerce plugin before activating this plugin
  2. Select EUR as your WooCommerce currency if you want to test in Sandbox
  3. Select your target currency if you have done KYC process with MTN (see below for more)
  4. Install and activate this plugin
  5. Enter your Merchant name, MTN phone number and Email to receive notifications
  6. Continue to the next step, see below

Plugin setup for MTN MoMo Sandbox – no real payments ๐Ÿคฎ

  1. Visit MoMo API Developer portal and sign-up ๐Ÿ“ง
  2. Enable Collection API (NOT the Collection Widget API please)
  3. Get Sandbox Collection Primary key and enter it in the Plugin settings
  4. Test payments in Sandbox you can only use EUR currency

IMPORTANT for Rwanda use https://momodeveloper.mtn.co.rw to sign-up and get the keys!

Plugin setup for MTN MoMo Live – with real payments ๐Ÿ’ฐ๐Ÿ˜Ž

  1. Visit MoMo API Developer portal and submit your KYC documents ๐Ÿ“๐Ÿ“๐Ÿ“
  2. โŒ› Wait for the MTN to process your application and send you access to the Partner Portal and API management dashboard โŒ›
  3. Login to the momoapi.mtn.com and get your Live Collection Primary key ๐Ÿ”‘
  4. Login to the MTN Partner Portal and generate API user and API key ๐Ÿ”‘
  5. Enter Collection Primary key, API user and API key in the Plugin settings
  6. Accept payments! ๐Ÿ’ฐ๐Ÿ’ฐ๐Ÿ’ฐ

IMPORTANT for Rwanda use https://momodeveloper.mtn.co.rw/go-live to go Live! Get Collection Primary key here https://momoapi.mtn.co.rw
Recently we got many reports that https://momodeveloper.mtn.co.rw Portal is not stable, so we advice to use https://momodeveloper.mtn.com instead.
Please check the Rwanda FAQ below for more information.

Supported currencies

  • EUR (Sandbox only, no real payments)
  • GHS Ghana / Ghanaian Cedi
  • UGX Uganda / Ugandan Shilling
  • XAF Cameroon / Central African CFA franc
  • RWF Rwanda / Rwandan Franc
  • XOF Benin / West African CFA franc
  • XOF Ivory Coast / West African CFA franc
  • XAF Congo Brazza / Central African CFA franc
  • SZL Eswatini/Swaziland / Swazi Lilangeni
  • GNF Guinea-Conakry / Guinean Franc
  • ZMW Zambia / Zambian Kwacha
  • ZAR South Africa / South African Rand
  • LRD Liberia / Liberian dollar & USD
  • NRN Nigeria / Naira

** IMPORTANT Do not forget to select your country and the currency in WooCommerce settings **

DEMO eShop – in Sandbox mode

No real payments can be done, eShop currency EUR demo.momo.clickon.ch

How to get Support

You have several ways to request support for this plugin:

  • You can send us an Email to momo-plugin@clickon.ch ๐Ÿ™‹๐Ÿ“ง
  • Submit your question to the plugin discussion board on wordpress.com ๐Ÿ™‹๐Ÿ—ฃ๏ธ
  • Visit MTN MoMo Skype forums (ask for Mindaugas) ๐Ÿ™‹๐Ÿ˜‹

We will be more than happy to help you! ๐Ÿ‘

Disclaimer

ClickOn GmbH, the company behind this plugin and MTN MoMo Gateway, are not affiliated with MTN or WooCommerce. Please keep this in mind. ๐Ÿ˜Ž
This is a free plugin with Free gateway package, upgrade to Pro for more features, drop us an Email to momo-plugin@clickon.ch

Privacy policy

Please check our Privacy policy and see how we are handling your private data like name, phone numbers, Email address and any other data.

Screenshots

  • WooCommerce Shop demo purchase with MTN MoMo
  • Plugin settings, Live setup
  • Plugin settings, Sandbox setup

Installation

This section describes how to install the plugin and get it working.

  1. Unzip pay-with-mtn-momo-woocommerce.zip to the /wp-content/plugins/ directory, or install from the WordPress Plugins Directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure plugin under WooCommerce->Payments, look for MTN MoMo

FAQ

Do you have a demo website?

Yes, it is here demo.momo.clickon.ch, no real payments can be done, eShop currency EUR

Do you have a Live demo?

No yet. We are working on it. However, you can check https://kivea.net for inspiration ๐Ÿ˜Ž

Which phone number the MoMo request is sent?

We are sending the MoMo Pay request to the phone number provided on the checkout form. The format is 256XXXXXXXXX, where 256 is country code.

How can we do real payments?

To accept real aka Live payments you must be approved by MTN, the process is called „Go Live“ you can read about it here https://momodeveloper.mtn.com/go-live
Remember it will require you do submit the KYC documents, your passport copy etc. it is quite some paper work, so please seek legal advice!

What is the phone number format to use during the checkout?

We are sending MoMo requests to the phone number provided during the checkout, so it must follow a certain format, for example:

  • 237698936XXX – Cameroon
  • 233204701XXX – Ghana
  • 256700908XXX – Uganda
  • 268782XXXXX – Eswatini
  • 24206422XXXX – Congo B

No „+“ in front and always with the country code!

For Rwanda is it possible to use momodeveloper.mtn.com to get Sandbox primary key?

In case you are in Rwanda you should use a dedicated portal at https://momodeveloper.mtn.co.rw, however if you
set your WooCommerce Country / State to anything but Rwanda you can use Sandbox Primary key from https://momodeveloper.mtn.com

Recently there were many reports that https://momodeveloper.mtn.co.rw Portal is not very stable, so we do advice to use https://momodeveloper.mtn.com instead.

Reviews

13. Januar 2023.
I am someone who is interested in having the abilities of running an ecommerce website where clients will be able to pay using MoMo. I am not a programmer and that's why I approached the developer for help. I am moved by the time he took answering all my questions and guiding me with steps to take. I received all the support I needed and in a very short time. He is always available. I also like the fact that this plugin is consistently updated. Thank you.
13. Decembar 2022. 2 replies
It took me almost 10 min to install and start using it on our website gumaho.com Awesome support, I recommend Pay with MTN MoMo in WooCommerce to my friends and and local developer community. Thank you
Read all 18 reviews

Contributors & Developers

“Pay with MTN MoMo in WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.6

  • WordPress 6.1 support added and WooCommerce 7.1
  • Add support for Nigerian Naira NGN and MTN Nigeria
  • Uses WordPress AJAX call to get payment status, more secure
  • Delay checkout in Sandbox
  • Checkout warning message in Sandbox

1.0.5

  • WordPress 6.0 support added
  • Fixes order with floating point amounts like 0.2 USD etc.
  • Fixes for Liberia to support both USD and LRD currencies

1.0.4

  • Removed request count
  • Better handling of WordPress multisite instalations

1.0.3

  • Fixed setup issues for AWS Lightsail
  • Fixed XAF currency support in Cameroon and Congo Brazza

1.0.2

  • Documentation updated
  • Fixed REST callback, permission_callback added
  • Deprecation warnings removed

1.0.1

  • Tested with WordPress 5.7
  • Fixed PHP notices
  • Support for Rwanda portal momodeveloper.mtn.co.rw

1.0.0

  • Our first version with MTN MoMo Live and Sandbox, Collection API is fully supported