You can just get the PESAPI
here and ask your developer to integrate it in your app or he can do it without the PESAPI, you only need to automate the manual process. The main thing is to have a program that can forward messages from MPESA via an HTTP POST request into the payments table in your app (I have done it once on a Rails Application and it works like magic).