Open mpesa.php
and add your own sandbox consumer secret and consumer key
Ensure you have the requirements to run a php app: - You may need a php server ie - Xampp - Wampp - Online Server
Demo Project: https://developer.safaricom.co.ke/APIs/DynamicQRCode
Demo Project: https://apitest.hostpay.co.ke/pesaqr/