src/Http/Controllers/UssdController.php
public function infoMiniApp($user,$menu){

        echo "infoMiniAppbased on menu_id";
        exit;

        switch ($menu->id) {
            case 4:
                //get the loan balance

                break;
            case 5:

                break;
            case 6:

            default :
                $response = $menu->confirmation_message;

                $notify = new NotifyController();
                //$notify->sendSms($user->phone_no,$response);
                //self::resetUser($user);
                self::sendResponse($response,2,$user);

                break;
        }

    }
public function infoMiniApp($user,$menu){

        echo "infoMiniAppbased on menu_id";
        exit;

        switch ($menu->id) {
            case 4:
                //get the loan balance

                break;
            case 5:

                break;
            case 6:

            default :
                $response = $menu->confirmation_message;

                $notify = new NotifyController();
                //$notify->sendSms($user->phone_no,$response);
                //self::resetUser($user);
                self::sendResponse($response,2,$user);

                break;
        }

    }
public function infoMiniApp ( $ user , $ menu ) { echo "infoMiniAppbased on menu_id" ; exit ; switch ( $ menu -> id ) { case 4 : //get the loan balance break ; case 5 : break ; case 6 : default : $ response = $ menu -> confirmation_message ; $ notify = new NotifyController ( ) ; //$notify->sendSms($user->phone_no,$response); //self::resetUser($user); self :: sendResponse ( $ response , 2 , $ user ) ; break ; } }
info mini app
info mini app