Bonaventure OgetoBy Bonaventure Ogeto|

Can You Pay for Coding Courses With M-Pesa in Kenya? (Yes, Here Is How)

Yes. All McTaba Academy courses accept M-Pesa payment directly. You do not need a credit card, a bank account, or a Visa/Mastercard. The process takes under two minutes: select your course, choose M-Pesa at checkout, enter your phone number, confirm the STK push on your phone, and you have instant access. This matters because M-Pesa is how most Kenyans actually move money, and no one should be locked out of coding education because they do not have a credit card.

Yes, M-Pesa Works. Here Is the Step-by-Step

If you want to enrol in any McTaba Academy course using M-Pesa, here is exactly what happens:

Step 1: Go to McTaba Academy and select the course you want. For example, Tech Foundations: Before You Code at KES 2,999.

Step 2: Click "Enrol" or "Buy Now." On the checkout page, select M-Pesa as your payment method.

Step 3: Enter your Safaricom phone number (the one linked to your M-Pesa account).

Step 4: You will receive an STK push notification on your phone. This is the standard M-Pesa prompt asking you to enter your M-Pesa PIN to confirm the payment.

Step 5: Enter your PIN. The payment processes. You get access to the course immediately. No waiting period, no manual verification, no emailing receipts to anyone.

The entire process takes less than two minutes. It is the same experience as paying for anything else with M-Pesa. If you have ever paid a Safaricom bill, bought data bundles, or sent money to someone, you already know how to enrol in a course.

Why M-Pesa Payment Is Not a Feature. It Is a Principle.

This might seem like a small thing if you have a credit card. It is not a small thing for most Kenyans.

Over 30 million Kenyans use M-Pesa. It is how people pay rent, buy groceries, send money to family, and pay school fees. But the global online education industry was built for credit cards. Udemy, Coursera, Codecademy, Pluralsight, and most international platforms assume you have a Visa or Mastercard. Some accept PayPal, which still requires a bank account or card in most cases.

Think about what that means in practice. A 24-year-old in Nakuru who earns KES 30,000 per month, has M-Pesa as their primary financial tool, and wants to learn to code faces a payment barrier before they even face a learning barrier. They have the KES 2,999. They have the motivation. They cannot get their money to the course because the checkout page demands a card number they do not have.

This is not an edge case. This is the majority. According to the Central Bank of Kenya, M-Pesa processes more transactions than all other payment methods combined in the country. Credit card penetration in Kenya remains in the single digits percentage-wise. Requiring a credit card for a coding course marketed to Kenyans is like requiring a fax machine to send an email. It gatekeeps access using a tool most people do not have and do not need for anything else in their daily life.

McTaba Academy accepts M-Pesa because we are built for Kenya. Not adapted for Kenya. Built for Kenya.

What About International Platforms? (Udemy, Coursera, Codecademy)

If you want to pay for an international coding platform with M-Pesa, here is the reality:

Udemy: Does not accept M-Pesa directly. You can sometimes use a virtual card service (like a Safaricom virtual Visa) linked to your M-Pesa, but the setup adds steps and the experience is not consistent. Some Kenyans report success, others report failed transactions.

Coursera: Similar situation. Credit card or PayPal at checkout. Some learners use virtual cards. Coursera does offer financial aid for free access to individual courses if you apply and wait for approval, which can take weeks.

Codecademy: Credit card or PayPal. No direct M-Pesa option.

freeCodeCamp: Free, so payment is not an issue. But if you want their paid certifications or want to donate, it is credit card only.

The virtual card workaround. Services like Safaricom's M-Pesa Virtual Visa Card and similar fintech products let you generate a virtual card number funded by your M-Pesa balance. This can work for international platforms, but it adds friction: you need to sign up for the virtual card service, load funds, and hope the international platform accepts it. It is a workaround, not a solution.

The point is not that it is impossible to pay international platforms from Kenya. It is that the experience is designed for someone else and adapted for you, rather than built for you. When a payment method requires three intermediary steps, the dropout rate at checkout rises sharply. People give up before they even start learning.

McTaba Academy Courses You Can Buy With M-Pesa Today

Every McTaba Academy course accepts M-Pesa. Here is what is available:

Tech Foundations: Before You Code (KES 2,999). The starting point. Covers how the internet works, how to think like a developer, what the African Stack is, and what to learn in what order. Self-paced. Accessible on any device.

Specialist courses. Deeper courses on specific skills like JavaScript, React, Node.js, and African Stack integration. Each accepts M-Pesa at checkout with the same STK push process.

Full programs. The complete journey from beginner to job-ready. All payable via M-Pesa.

Free tier. A free McTaba Academy account lets you preview course material, explore the curriculum, and understand what you are getting before you spend anything. No M-Pesa required. No credit card required. Just an email address.

The free account is worth creating even if you are not ready to buy anything. It shows you the full learning path, what each course covers, and how the pieces fit together. When you are ready to invest, M-Pesa gets you enrolled in under two minutes.

Common Concerns About Paying With M-Pesa for Courses

"What if the payment fails?" M-Pesa STK push transactions occasionally fail due to network issues, insufficient balance, or timeout (you took too long to enter your PIN). If this happens, try again. The course will not charge you twice. If you experience a persistent issue, McTaba support can help resolve it.

"Is my payment secure?" The M-Pesa payment goes through Safaricom's standard payment infrastructure. It is the same level of security as any other M-Pesa transaction. McTaba does not see or store your M-Pesa PIN.

"Can I get a refund to my M-Pesa?" McTaba Academy's refund policy applies to all payment methods. If you are eligible for a refund, it goes back to the M-Pesa number you paid from.

"Can I pay in installments via M-Pesa?" For larger programs, installment options may be available. For individual courses like Tech Foundations at KES 2,999, the amount is typically paid in one transaction.

"I do not have Safaricom M-Pesa. Can I use Airtel Money?" Check the checkout page for available payment options. M-Pesa is the primary mobile money option.

From M-Pesa Transaction to Career Change

It takes less than two minutes to go from "I want to learn to code" to "I have access to a structured course." That is what M-Pesa payment means in practice. The gap between deciding and starting is a single STK push.

Here is the path:

Right now: Create a free McTaba Academy account. Browse the courses. Preview the material. Make sure the teaching style and content feel right for you.

When you are ready: Enrol in Tech Foundations: Before You Code for KES 2,999. Pay with M-Pesa. Start learning within minutes.

After completing foundations: Use the roadmap from the course to continue learning. Combine structured McTaba courses with free resources like freeCodeCamp and YouTube. Build projects. Build a portfolio. Build a career.

The entire coding education industry used to be behind a credit card wall. That wall does not exist at McTaba. If you have M-Pesa and the motivation to learn, nothing else stands between you and getting started.

Key Takeaways

  • All McTaba Academy courses accept M-Pesa payment. No credit card, no bank transfer, no PayPal account needed.
  • The payment process is the same STK push you use for any M-Pesa transaction: select course, choose M-Pesa, enter phone number, confirm on your phone. Access is instant after payment.
  • This matters because an estimated 80% of Kenyan adults use M-Pesa but only a fraction have credit cards. Requiring credit card payment locks out most of the population from online education.
  • Tech Foundations: Before You Code costs KES 2,999 via M-Pesa. That is roughly two M-Pesa transactions away from starting a structured tech education.
  • Many international coding platforms (Udemy, Coursera, Codecademy) accept M-Pesa through indirect methods, but the experience is often clunky. McTaba is built for M-Pesa from the ground up.

Frequently Asked Questions

Do I need a Safaricom line to pay with M-Pesa?
Yes. M-Pesa is a Safaricom service, so you need an active Safaricom SIM with M-Pesa registered and funds in your account. If you use a different network, check whether the course checkout supports your mobile money provider, or use a friend or family member's M-Pesa to make the payment.
Is there a transaction fee for paying with M-Pesa?
Standard M-Pesa transaction fees may apply depending on your M-Pesa tier and the transaction type (Paybill vs Buy Goods). The course price displayed is the amount you pay for the course. Any M-Pesa fees are the standard Safaricom fees that apply to all M-Pesa transactions.
Can I pay for someone else using my M-Pesa?
Yes. You can pay from your M-Pesa account for a course that someone else will access. During or after checkout, make sure the learner's email and account details are used for the Academy account, even if the M-Pesa payment comes from a different phone number. This is common for parents paying for their children or friends splitting the cost.
What happens if my M-Pesa balance is lower than the course price?
The transaction will fail, and you will not be charged. Top up your M-Pesa balance to at least the course price (plus a small buffer for any transaction fees) and try again. No partial charges will go through.
Can I pay for international coding platforms with M-Pesa?
Not directly in most cases. Platforms like Udemy and Coursera require a credit card or PayPal. Some Kenyans use virtual card services funded by M-Pesa as a workaround, but the experience is inconsistent. McTaba Academy accepts M-Pesa natively because it is built for the Kenyan market.

Ready to build real-world apps?

Join the McTaba Labs full-stack marathon (4 months full-time · 6 months part-time). Learn M-Pesa, USSD, and WhatsApp engineering while shipping 8 production apps.

Apply to the McTaba Marathon