Mpesa Integration - Part 2 (Android Application)

Author image Lawrence Karanja

Part 1.1: Mpesa Integration (Android & Python) And we are back with another post!. On this post we are going to be covering how to implement the Mpesa API in an android application. This is a headache for most and with good reason, there’s virtually no resource out there that is simple enough to follow along and understand. So we are going to try and solve that in a way that hopefully will make it very clear even to beginners.

Read more

Encryption and You: E2EE and Diffie-Hellman

Author image Joyce Wambui

Encryption is all around us. From connecting to websites via HTTPS to sending messages with WhatsApp, Signal and Telegram. But how does it all work? End to End Encryption(E2EE) When data is sent through the web, say sending an email to a person, it goes through a server then the server relays the email to the recipient. In a channel where there is no encryption, third parties can intercept the message, read or tamper with it.

Read more

Terminal aliases

Author image Newton Karanu

The one thing programmers like is efficiency. How lean is their code, how much time does it take for their code to run? Were they fast enough? Is there a simpler way to implement it without corrupting data. A lot flows into our mind as we continue churning out applications day in day out in terms of how to scale it and make it more efficient. What I found I was not efficient at, a while back that is, is typing.

Read more

Mpesa Integration (Android & Python)

Author image Lawrence Karanja

Between April and June 2018, Statistics from the Communications Authority of Kenya (CAK) show that a total of Sh1.92 Trillion was transacted through mobile money. Mpesa, a service provided by Safaricom accounted for 76.87 per cent of the mobile commerce transactions. For a developer, this provides a large pool of possibilities to make your users’ transactions simpler given that most Kenyans now own a mobile phone. For a long time, the documentation provided by Safaricom guiding developers on how to integrate the Mpesa services in their applications was at best patchy but this has somewhat improved in recent times.

Read more

Deploying django applications to heroku

Author image Newton Karanu

Install heroku CLI Sign up to Heroku. Then install the Heroku Toolbelt. It is a command line tool to manage your Heroku apps After installing the Heroku Toolbelt, open a terminal and login to your account: $ heroku login Enter your Heroku credentials. Email: newtonkiragu@herokudeploying.com Password (typing will be hidden): Authentication successful. Preparing the Application In this tutorial I will deploy an existing project, moringa-tribune-hosting. It’s an very simple open-source Django project, that shows news posted.

Read more