<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Snospark on Medium]]></title>
        <description><![CDATA[Stories by Snospark on Medium]]></description>
        <link>https://medium.com/@snospark?source=rss-5dfb8f781612------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uhaIIAe9XkIAkx0p</url>
            <title>Stories by Snospark on Medium</title>
            <link>https://medium.com/@snospark?source=rss-5dfb8f781612------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:23:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@snospark/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Complete guide on how to integrate Mpesa Express Daraja 2.0 payments API into you django app]]></title>
            <link>https://snospark.medium.com/complete-guide-on-how-to-integrate-mpesa-express-daraja-2-0-payments-api-into-you-django-app-227bc44b0577?source=rss-5dfb8f781612------2</link>
            <guid isPermaLink="false">https://medium.com/p/227bc44b0577</guid>
            <category><![CDATA[django]]></category>
            <category><![CDATA[mpesa-api]]></category>
            <category><![CDATA[mpesa]]></category>
            <category><![CDATA[daraja-2]]></category>
            <dc:creator><![CDATA[Snospark]]></dc:creator>
            <pubDate>Mon, 06 Sep 2021 20:37:59 GMT</pubDate>
            <atom:updated>2021-09-07T05:26:25.532Z</atom:updated>
            <content:encoded><![CDATA[<p>I have found that the process of integrating mpesa into your app and going live with an absolutely new paybill or till number is not very straight forward. The process is not fully documentation anywhere. I had to struggle through guessing, through multiple exchanges with the bank that provided me the paybill, and a back and forth with safaricom business, and safaricom api team. Phew!! I wouldn’t want anyone to go through that.</p><p>So let’s say we want our simple django app to simply charge a user a specified amount. Our app will <br>- send a request to the mpesa daraja 2.0 api which will initiate a stk push to the user’s phone number. The users is informed of the amount to be deducted and the to whom the money will be sent and given the option to authorize the transaction by entering their pin. The user can cancel the request or wait for it to timeout. <br>- record the results of the mpesa transaction based on the responses we get from safaricom.</p><h3>1. Set up the app</h3><p>Assuming you have python and django installed in a virtual environment(if not, understand the basics <a href="https://medium.com/analytics-vidhya/creating-and-understanding-your-first-django-project-991d56f84944">here</a>), and using this simple minimal app on github (or you can create your own project and app and read on to the relevant parts of this article):</p><pre>git clone --single-branch --branch basic <a href="https://github.com/chainedcoder/mpayments.git">https://github.com/chainedcoder/mpayments.git</a></pre><h3>2. Mpesa developers portal</h3><p>Visit <a href="https://developer.safaricom.co.ke/">https://developer.safaricom.co.ke/</a> and signup for an Mpesa developer portal account.</p><p>Once you’ve created the account login and create an app.</p><blockquote>Follow this instruction video to create an app→ <a href="https://developer.safaricom.co.ke/api/v1/Repository/videos/CreatingAnApp.mp4">https://developer.safaricom.co.ke/api/v1/Repository/videos/CreatingAnApp.mp4</a></blockquote><p>Once you create your portal account and an app, you’ll see it in the list of your apps as shown below. Take note of the <strong>Consumer Key</strong> and the <strong>Consumer Secret </strong>in your new app. We’ll be using these values to get an access_token that is needed for each request to the Mpesa Api.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B73XhL4LFp5oZNa0WDRahg.jpeg" /></figure><h3>3. A bit of context on how the Mpesa Express payment(Lipa Na Mpesa) API works</h3><p>To make an mpesa request we will post to the the mpesa api url:</p><pre><a href="https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest"><strong>https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest</strong></a></pre><p><em>But when we go into production we won’t be using the sandbox url but will post to</em></p><pre><a href="https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest">https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest</a></pre><p>The request body sample for mpesa express payment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TfsSewNy-NkZ6yn3iCaAsw.png" /></figure><p>Just so you know, when we make a successful payment request, we’ll get two responses from safaricom (Get to know the Mpesa api over → <a href="https://developer.safaricom.co.ke/Documentation">here</a>):</p><ol><li>The immediate response of our post request</li><li>The callback response</li></ol><p>The result of the post requests would look something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MLj7xizR4wy119YagftfxA.png" /></figure><p>The request response would look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdNY3lKMs5PLG9H3M_BpyA.png" /></figure><p>Once payment request is processed, we’ll get a callback with a successful or unsuccessful response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXNIM98npnzqwN8iVDoUuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aLzCm7i0bnjyYY9pT83ZsA.png" /></figure><h3>4. Completing the mpayments django App and integrating Mpesa</h3><p>We set up our Transaction model as shown below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/114c8779682e33b5ad6c3e83c09a4c38/href">https://medium.com/media/114c8779682e33b5ad6c3e83c09a4c38/href</a></iframe><p>Then we’ll add .env file in the folder that has the settings file. We’ll use it to store the urls and variables that we need for Mpesa API such as the consumer_key, consumer_secret, checkout_url, callback_url etc.</p><p>We’ll install django-environ and then add the following code to the settings file. You don’t have to use django-environ to don’t even have to use environment variable. You can use a config file or some other dot-env alternative. You do you.</p><pre># settings.py</pre><pre>import environ</pre><pre>...</pre><pre>env = environ.Env(DEBUG=(bool, False))</pre><pre># reading .env file</pre><pre>environ.Env.read_env()</pre><pre>...</pre><p>Once that’s out of the way, we’ll use the simple code below to verify if the phone number provided is a valid. We not checking if it is a safaricom number — That is not immediately necessary. We are only checking if the number is a valid phone .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/204fbdd6862ef25d86de0d51630aceab/href">https://medium.com/media/204fbdd6862ef25d86de0d51630aceab/href</a></iframe><p>Then well write the error_codes.py file to help manage different types of errors.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ef86647449f3a940f4cbf15398223b0/href">https://medium.com/media/4ef86647449f3a940f4cbf15398223b0/href</a></iframe><p>Then the serializer class for processing the input and response we give to our customers or users.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce9b00ecc506f2a4a340364128aac5ec/href">https://medium.com/media/ce9b00ecc506f2a4a340364128aac5ec/href</a></iframe><p>Then the view.py</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1266231d9d775a18f10164744b099920/href">https://medium.com/media/1266231d9d775a18f10164744b099920/href</a></iframe><p>Then urls.py</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91530ccfd2d89a9e0117d0eab415864b/href">https://medium.com/media/91530ccfd2d89a9e0117d0eab415864b/href</a></iframe><p>Before we write the logic for the MpesaGateway class, let’s write our .env file. It will have the following variables:</p><pre>consumer_key=xxxx<br>consumer_secret=xxxx<br>shortcode=174379<br>pass_key=bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919</pre><pre>access_token_url=https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials<br>checkout_url=https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest</pre><p>The shortcode and the pass_key are provided as test credentials by safaricom. Enter the consumer_key and consumer_secret using the values in the app you created on the Mpesa portal. Follow this link → <a href="https://developer.safaricom.co.ke/MyApps">https://developer.safaricom.co.ke/MyApps</a> You&#39;ll need to login if you are not.</p><p>Now we’ll use the values set in our .env to post or get from the Safaricom Mpesa Sandbox servers.</p><h4>Get the Access Token</h4><p>We need this token to initiate a payment request. Simply, the code will be something like.</p><pre>access_token_url = env(&quot;access_token_url&quot;)<br>consumer_key = env(&quot;consumer_key&quot;)<br>consumer_secret = env(&quot;consumer_secret&quot;)</pre><pre>requests.get(access_token_url,auth=HTTPBasicAuth(consumer_key, consumer_secret))</pre><p>The token received will expire after about 3599 seconds. So we’ll need to renew it every time it’s about to expire. We’ll write a decorator class that would allow us to do just that. Then we’ll just add the decorator to methods that need to use the access_token.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b31ca462986db4abc6d04163b011681e/href">https://medium.com/media/b31ca462986db4abc6d04163b011681e/href</a></iframe><p>So everytime we initialize the MpesaGateway class the token we be generated. The response looks something like</p><pre>{<br>    &quot;access_token&quot;: &quot;gzKTJOpGkJErKUpYD2nAGIO5hkXH&quot;,<br>    &quot;expires_in&quot;: &quot;3599&quot;<br>}</pre><p>Now that we have the token, we can initiate the payment request. We write this method into our MpesaGateway class. We’ll call the method stk_push_request.</p><p>For that request, we’ll need to generate a password and then make a post request as shown below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91cf9a33dc80b7831c95fb6a6b392277/href">https://medium.com/media/91cf9a33dc80b7831c95fb6a6b392277/href</a></iframe><p>We’ll then add this to our class. The updated MpesaGateway class now looks like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc06f45ffc1527201e875db315883e90/href">https://medium.com/media/fc06f45ffc1527201e875db315883e90/href</a></iframe><p>Now lets handle the callback. We are going to keep it simple. We won’t do error handling for the different types of failures such as invalid phone number (number that is not an mpesa number), or if the users phone is off etc. We simply generally handle failure and success.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2128a79fbc83127383fed6176309bd1/href">https://medium.com/media/f2128a79fbc83127383fed6176309bd1/href</a></iframe><p>The end product of our MpesaGateway class is now:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fbb1b7096bc8e421c57fa7006596b88e/href">https://medium.com/media/fbb1b7096bc8e421c57fa7006596b88e/href</a></iframe><p>Now everything works. The STK prompt is made and the user is prompted for their Mpesa pin, and we are able to get a callback for success, timeout, wrong pin, or any other failure.</p><p>Here’s what it looks like:</p><h4>Testing on localhost</h4><p>To get the callback (since you can’t use an IP address and it must be a https:// secure url), you can install <a href="https://ngrok.com/download">ngrok</a> to tunnel connection to your localhost. When installed locally, it will provide you with a https url that will reach your localhost. You’ll provide this as callback in the mpesa express payment post request. Here’s a screenshot of what ngrok looks like when installed and running →</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HkuB0nDvUd8H_DS7Ou_gTA.png" /></figure><h3>GOING LIVE</h3><p>The most important thing is starting to receiving payment in the real production environment. It’s easy if you know what you are doing. If you don’t, we help you out.</p><p>Before clicking the <strong>Go Live</strong> link on the mpesa developer portal:</p><ol><li>Get an mpesa paybill or till number. You can register online (check out the requirements for opening a paybill → <a href="https://www.safaricom.co.ke/personal/m-pesa/lipa-na-m-pesa/paybill">here</a>). Once you have everything required, visit the mpesa portal link and register online → <a href="https://m-pesaforbusiness.co.ke/LNM/">here</a>, or visit any safaricom shop for further guidance, or open a till number through your bank.</li><li>Create an mpesa portal. For this you’ll send an email to <a href="/service/mailto:M-PESABusiness@Safaricom.co.ke">M-PESABusiness@Safaricom.co.ke</a> and request for an <strong>mpesa portal </strong>(this is different from the developer portal we created at the beginning of this article). You’ll need to provide your mpesa paybill or till number. They’ll send you the application form that you will need to fill and sign.<br>If you open your paybill through the bank then safaricom won’t be able to set you up for a mpesa portal — in which case you liaise with the bank that provided you with the till number or paybill so that they can create a portal for you.<br>Once done, you’ll be sent the shortcode, the password, and the username (the username is generally what you provide in the application form you filled). Once these credentials are received, for your initial login, you’ll need to login ASAP before the password expires. Otherwise you’ll need the password to be reset. <br>You can then use this administrator user for your app or create a new one by logging into the mpesa portal (mpesa-org.safaricom.co.ke.</li><li>̶T̶o̶ ̶l̶o̶g̶ ̶i̶n̶t̶o̶ ̶t̶h̶e̶ ̶p̶o̶r̶t̶a̶l̶ ̶y̶o̶u̶’̶l̶l̶ ̶n̶e̶e̶d̶ ̶a̶ ̶w̶i̶n̶d̶o̶w̶s̶ ̶c̶o̶m̶p̶u̶t̶e̶r̶.̶ ̶Y̶o̶u̶ ̶c̶a̶n̶ ̶b̶o̶r̶r̶o̶w̶ ̶a̶ ̶c̶o̶m̶p̶u̶t̶e̶r̶ ̶f̶o̶r̶ ̶t̶h̶i̶s̶ ̶s̶t̶e̶p̶ ̶i̶f̶ ̶d̶o̶n̶’̶t̶ ̶h̶a̶v̶e̶ ̶o̶n̶e̶ ̶o̶r̶ ̶i̶n̶s̶t̶a̶l̶l̶ ̶w̶i̶n̶d̶o̶w̶ ̶o̶n̶ ̶y̶o̶u̶ ̶c̶o̶m̶p̶u̶t̶e̶r̶;̶ ̶o̶r̶ ̶e̶a̶s̶i̶e̶r̶(̶w̶h̶i̶c̶h̶ ̶w̶h̶a̶t̶ ̶I̶ ̶d̶i̶d̶)̶,̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶c̶r̶e̶a̶t̶e̶ ̶a̶ ̶v̶i̶r̶t̶u̶a̶l̶ ̶w̶i̶n̶d̶o̶w̶s̶ ̶e̶c̶2̶ ̶s̶e̶r̶v̶e̶r̶ ̶i̶n̶s̶t̶a̶n̶c̶e̶ ̶o̶n̶ ̶A̶W̶S̶ ̶a̶m̶a̶z̶o̶n̶ ̶u̶n̶d̶e̶r̶ ̶t̶h̶e̶ ̶f̶r̶e̶e̶ ̶t̶i̶e̶r̶,̶ ̶o̶r̶ ̶i̶f̶ ̶y̶o̶u̶ ̶h̶a̶v̶e̶ ̶f̶r̶e̶e̶ ̶c̶r̶e̶d̶i̶t̶ ̶o̶n̶ ̶G̶o̶o̶g̶l̶e̶ ̶C̶l̶o̶u̶d̶ ̶S̶e̶r̶v̶i̶c̶e̶s̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶c̶r̶e̶a̶t̶e̶ ̶o̶n̶e̶ ̶t̶h̶e̶i̶r̶.̶<br>̶O̶n̶c̶e̶ ̶y̶o̶u̶ ̶h̶a̶v̶e̶ ̶y̶o̶u̶r̶ ̶w̶i̶n̶d̶o̶w̶s̶ ̶c̶o̶m̶p̶u̶t̶e̶r̶ ̶u̶p̶,̶ ̶r̶e̶q̶u̶e̶s̶t̶ ̶f̶o̶r̶ ̶t̶h̶e̶ ̶c̶e̶r̶t̶i̶f̶i̶c̶a̶t̶e̶ ̶b̶y̶ ̶e̶m̶a̶i̶l̶i̶n̶g̶ ̶a̶ ̶b̶l̶a̶n̶k̶ ̶e̶m̶a̶i̶l̶ ̶t̶o̶ ̶m̶-̶p̶e̶s̶a̶c̶e̶r̶t̶p̶a̶s̶s̶w̶o̶r̶d̶@̶s̶a̶f̶a̶r̶i̶c̶o̶m̶.̶c̶o̶.̶k̶e̶<br>̶Y̶o̶u̶’̶l̶l̶ ̶r̶e̶c̶e̶i̶v̶e̶ ̶a̶ ̶c̶e̶r̶t̶i̶f̶i̶c̶a̶t̶e̶ ̶w̶i̶t̶h̶ ̶a̶ ̶f̶e̶w̶ ̶m̶i̶n̶u̶t̶e̶s̶ ̶w̶i̶t̶h̶ ̶i̶n̶s̶t̶r̶u̶c̶t̶i̶o̶n̶s̶ ̶o̶n̶ ̶h̶o̶w̶ ̶t̶o̶ ̶i̶n̶s̶t̶a̶l̶l̶ ̶i̶t̶ ̶o̶n̶ ̶w̶i̶n̶d̶o̶w̶s̶.̶ ̶<br>O̶n̶c̶e̶ ̶d̶o̶n̶e̶ ̶i̶n̶s̶t̶a̶l̶l̶i̶n̶g̶ ̶t̶h̶e̶ ̶c̶e̶r̶t̶i̶f̶i̶c̶a̶t̶e̶.̶ ̶L̶o̶g̶i̶n̶ ̶t̶o̶ ̶t̶h̶e̶ ̶p̶o̶r̶t̶a̶l̶.<br>.<br><strong>To login into the mpesa portal, go to </strong><a href="https://org.m-pesaforbusiness.co.ke/#/login"><strong>https://org.m-pesaforbusiness.co.ke/#/login</strong></a><strong> <br>.</strong><br>Create a user with administrator privileges for your app. Or simply use current administrator user you are logging in with.</li><li>Now you can click the GO LIVE link on the <strong>developer</strong> portal(not the mpesa portal). Here is the direct link→ <a href="https://developer.safaricom.co.ke/GoLive">golive</a> (you’ll need to be logged in). Fill in the details, select your app and you are good to go. You’ll need the OTP password sent to your mobile phone to complete this step.<br>- Mpesa(or your bank, depending on who created the portal for you) will send you an email confirming the app has been approved for live, the email will have the pass_key, and the short_code it is associated with. This is sent to the email registered with the paybill or till number.<br>- You’ll also get another email sent to the email associated with the developer portal. This email will have the production api links.</li><li>Replace the consumer_key, consumer_secret, shortcode, pass_key, access_token_url, checkout_url With the production value.<br>The consumer_key and consumer_secret you’ll find in the live app created by safaricom (not the sandbox app you created). Click M<strong>y Apps</strong>, then select the appropriate app under <strong>active entity</strong>. The default option is<strong> sandbox.<br></strong>The .env file will be:</li></ol><pre>consumer_key=xxxx<br>consumer_secret=xxx<br>shortcode=xxx</pre><pre>pass_key=xxxx</pre><pre>access_token_url=https://api.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials</pre><pre>mpesa_query_check_url=https://api.safaricom.co.ke/mpesa/stkpushquery/v1/query</pre><pre>checkout_url=https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest</pre><p>And just like that we are done!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=227bc44b0577" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How the elusive equal society is steered away by pretend-kindness of relatives]]></title>
            <link>https://snospark.medium.com/how-the-elusive-equal-society-is-steered-away-by-pretend-kindness-of-relatives-8a9f23f340b8?source=rss-5dfb8f781612------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a9f23f340b8</guid>
            <category><![CDATA[human-rights]]></category>
            <category><![CDATA[women]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[equality]]></category>
            <category><![CDATA[inequality]]></category>
            <dc:creator><![CDATA[Snospark]]></dc:creator>
            <pubDate>Fri, 21 May 2021 15:36:14 GMT</pubDate>
            <atom:updated>2021-05-21T21:24:59.990Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OU4jVuXQzgC6EMxc" /><figcaption>Photo by <a href="https://unsplash.com/@kj2018?utm_source=medium&amp;utm_medium=referral">Kat J</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Being a woman, especially a single, a divorced, or a widowed mother, in a mostly fundamentalist society, calls for incredible stamina, courage and luck to live out a near successful life, if ever successful. The plight of women who have to contend with a highly sexist society is real, is grueling, is exhausting. With more than their mouths to feed, with more than their health to worry about, with more than themselves to shelter, their struggle is mostly futile. For the sake of the innocent toddler’s or teenager’s whose blank eyes are waiting on them (because society has made bringing up children a women’s responsibility), for the sake of their children, these women whether the beating rain a little longer — far too long.</p><p>When these women, with this beautiful fighting spirit, reach the end of their life’s journey; when having given their all and more; when having hoped, gotten disappointed, and hoped again then gotten disappointed; when in the despondency of the box they’re encased in or vase their ashes will fill; when we grace this ceremony to nod their success; They are nothing but an empty shell of themselves.</p><p>When all that the prose-written-and-told-in-tears[eulogy] tells is how they were whipped about and scarred in their struggle for a better life; then must it be stark clear in everyone’s mind that there is nothing that can satisfy the so often repeated saying “hard work pays”. Nothing.</p><p>This wonderfully popular cliche is a perfect anecdote to pacify and make those in suffering forget that they’re trapped within walls that their measly hard work will never break. These wall erected with social norms, traditions, and customs; these walls whose mortar is laws and policies, and whose builders are the privileged in society[men], create the perfect cage that traps them.</p><p>When the hardworking woman meets the dead-end in this spectacular maze of her life, she can only sigh at how the cosmos steals and keeps the very reward of perseverance that it promises them — the reward of hard work. Their skin — often paled, dry, burnt, and/or heavily bruised by their daily labors or struggle and fights — is far from the reward that they most obviously deserve. Their eyes, just before they forever shut, show the turbulence and tempest that has raged in their heart and their life. On their deathbed, they want to fight for one more breath with the hope of seeing their children rise to better lives and perhaps redeem them from the misery that a gender-biased society tossed them. They want to live just a bit longer to ensure the safety and comfort of their children.</p><p>Yet while this yearning is overwhelming, with equal intensity is the longing of a momentary rest — a crushing desire to close their eye to a painful life lived and fought. They wish to end the pain of a cruel world. Not that the physical world is inherently evil — the cosmos has no bias. It is not that the fields weren’t yielding crop, while that might sometimes be true, it is the people in the world that are too ruthless, too selfish, too greedy. Scratch that. It is the <em>men</em> in the world that are towering slave masters. They have created this “world”, and they rule it. A man’s world for men indeed!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J5u61iZbAIYak5YR" /><figcaption>Photo by <a href="https://unsplash.com/@enginakyurt?utm_source=medium&amp;utm_medium=referral">engin akyurt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The flaw in this world that drives these women to despair is that humanity is to a larger extent not what it professes. While we may want to fill books with stories of the happiness at the end of struggles and of the rewards that await women that persevere or suffer in silence, perhaps as an encouragement to others that struggle, or perhaps in tribute to our faith(like how that the bible <em>teaches</em> women should keep their mouth shut), I shall not record this falsehood and foolishness here. The deception that there’s a happy home when women submit to their husbands (or men) and endure the hardship of their “inferiority”, is fit for no other place than the abodes of trash and senseless talk.</p><p>Let me offer context here.</p><p>Judy, a mother, like others, was born in an OK family. Though born to a tea farmer that owns several hectares of land in an agriculturally productive part of Kenya where the fields are evergreen, she — sadly — wasn’t lucky enough to be born a man. And as if that wasn’t bad enough, she got violently domestically abused by her husband and she was left off to raise several children on her own in an economy and society that is not forgiving to empty pockets. And to women. Without land, without income, without any skill besides home caregiving, without any formal education, she gropes and stumbles through life with her ten children.</p><p>Her brothers aren’t <em>cruel</em> people. They are willing to give her a small aboard for a short while until her mother dies or until her children are old enough and wealthy enough to buy her a piece of land — where when her story is ended, she may be laid to rest — whichever comes first (death or redemption by her children). Of cause it’s not said explicitly in words. But it’s strongly implied. What I mean by her brothers offering her a small piece of land, is that she is <em>allowed</em> to lodge with her mother. I’ll explain.</p><p>In the community that she hails, the land is split equally to the sons upon the demise of the father (or split to the sons according to the will). A very small part of the lastborn son’s piece of land is given to the mother(wife of the late) for subsistence. This property is then requited to the last born male child when the mother dies. Women can’t inherit their parent’s property not unless there are no male descendants, and even then, it is not guaranteed that they would be able to— the process is fraught with cleverly crafted frustrations from uncles or brothers. Judy isn’t even this lucky as she is not an only child. So when her father dies[not that it would make a difference], and she’s divorced, and the land is inherited by her brothers, she can only hope for their <em>kindness</em> in letting her stay and act as her mother’s caregiver. That way as Lazarus, she and her mother may benefit from the few crumbs that fall off from the high table of the patriarchy.</p><p>The law in many places is incomprehensive or often carefully crafted to oppress women. The instruments of justice that are generally frail and slow, never offer justice. While the constitution gives her the right to inheritance, there is no legal recourse, at least not any promising path, for her to claim her right to ancestral property. The law defends women’s right to property acquired in marriage, but the court has before denied widows’ right to their husband’s ancestral property.</p><p>As a smokescreen, lawmakers would occasionally make tiny contributions of law to right this gross inequality. At the rate at which they write and implement these changes, Judy, like many other women, will die with nothing to her name, not even a 4x6ft piece of land for her grave. After her last breath and the hope that her children will lead a better life, she will be sent off to the public cemetery. If she is lucky, her generous and kind brothers would donate a small piece of the ancestral land for her to be laid to rest.</p><p>Is this kindness, is it hypocrisy, or is it brutish ignorance? Viciousness is more like it, or borderline. It doesn’t count that her brothers took her children to school. It doesn’t count that they <em>“happily”</em> paid her medical bills when she got sick. All this help they offered does not right the glaring wrong of disinheriting her off her right to ancestral property. Married or not, she was born just as much in that family as the brothers. She wasn’t born to be sold off in marriage and have her fate tied to the<em> kindness</em> of the husband she marries; that if she got a wealthy husband, well and good, but if she gets divorced, separated, and abused, then it’s too bad.</p><p>It is no wonder despite abusive marriages, women tend to hold on. Though they lose their dignity, though they are psychologically tortured, and are physically assaulted, their biological relatives will most of the time require them to hold on tight in that unhealthy marriage. When all else fails and she is kicked out of her home, they will offer food and a little help. When or if she dies, they will sing her praise in her eulogy of how persevering she was. But this is no kindness they offer. Kindness doesn’t wear such an ugly and smug face. This is cruelty. Even when done ignorantly, it is a no less cold-hearted monstrosity.</p><p>This is the reality of millions of women across the world(especially in Africa and Asia). While it may not be this grim in the more <em>progressive</em> countries on this specific question of inheritance, there exists in all jurisprudences different shades of every form of gender inequality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7hy7ZjlfC3oVDpdZNskmIg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@dannylines?utm_source=medium&amp;utm_medium=referral">Danny Lines</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We are all just as much guilty for watching in silence acts of gender bias. Guilty for waiting for this inequality to resolve itself. I will not praise the stupid pretenses of progress that people claim. That “the law is a bit more inclusive and protective now”. Unless justice is offered fully, it is not offered at all. Unless it is given fully and quickly, it is denied. No woman should feel as though it’s a favor to have an equal footing as her brothers in the inheritance of land, in the right to have a place to call home, or in any privileges whatsoever. She should never feel as though she might as well worship her brothers who are <em>tender-hearted</em> to (disinherit her and then in pretense) give some little help to feed and educate her children.</p><p>It’s not the time for long debates, baby steps, and compromises, it’s an all-out war for justice. And I for one, will not relent.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a9f23f340b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>