-
This will be a short guide to help in consuming the M-PESA STK Callback. The purpose is to simplify the rather complex unstructured JSON object into a simple PHP Array that you can easily consume in your application.
-
This is NOT STK PUSH Tutorial. You can find the whole tutorial here https://www.youtube.com/watch?v=_jdJx47fHsk&list=PLcKuwRUZRXZL36Lb3e5eryz8K4mmrqgqs&index=12&ab_channel=CodewithBen
NOTE: You are solely responsible for the security of your application. This code is offered as is and without any support or guarantees that it will work. I am not responsible for how you use this code.