Re: [Skunkworks] Building A Library for M-Pesa 2G

Hmm,
Hi Kingori,
Do you mean something like this developed by Eugene http://kn9ts.github.io/project-mulla/ Project Mulla as a solution to your SOAP problems.
Project Mulla is a MPESA API RESTful mediator. It lets you make familiar HTTP REST requests, transforming your requests to the fiddling dreaded SOAP/XML requests that the Safaricom MPESA G2 API only understands. It then communicates with the MPESA API gateway, transforming all SOAP responses from the SAG to RESTful JSON responses that you then consume effortlessly
Hmm, interesting. MPESA is a very recent service and I suspect REST had proven itself by then. I wonder why the decided to use SOAP at a point when everybody was dumping it? Would be a great read on how they came to that decision Regards Muriithi
Regards, James I'm On Saturday, 9 July 2016, King'ori Maina via skunkworks < skunkworks@lists.my.co.ke> wrote:
Hey Skunks,
I’m considering working on a wrapper for the M-PESA 2nd generation platform <
http://www.safaricom.co.ke/business/corporate/m-pesa-payments-services/m-pesa-api> (in
my primary programming language) to have closer integration with Safaricom MPesa and also to possibly make it easier for others to integrate (read … abstract all the SOAP stuff). I’m willing to have it open sourced from the word go (even through development). Some people might find it useful.
participants (1)
-
William Muriithi