This tutorial teaches on how to integrate mpesa c2b api in your website. this project contain 5 important file
- index.php // this run the normal functions called
- functions.php //which handles accesstoken, regitration of urls 3.confirmation.php // which returns the mpesa confirmation response 4.validation.php //which handles the validation logics of the mpesa 5.mpesa_confirmation.txt // which temporarily stores the raw data of the response e.g confirmed MXTIIII566 blah..blah.. 6.sample.text //which contains the sample respnse data 7.......NEXT .....We ara going to store the response data in the database and later perform some logics to users.