src/Mpesa/Laravel/Http/Controllers/MpesaWebHookController.php
/**
     * Handle account balance response.
     *
     * @param Request $request
     **/
Handle account balance response.
@param Request $request
Handle account balance response . @param Request $request
public function handleAccountBalanceResult(Request $request)
    {
        $data = $request->input('Result', []);
        $result = new AccountBalance($data);
        event(new AccountResponse($result));
        $this->logRequest($data, "-------- Account Balance Request --------\r\n");
        return $this->responseResult();
    }
public function handleAccountBalanceResult ( Request $ request ) { $ data = $ request -> input ( 'Result' , [ ] ) ; $ result = new AccountBalance ( $ data ) ; event ( new AccountResponse ( $ result ) ) ; $ this -> logRequest ( $ data , " -------- Account Balance Request -------- \r \n " ) ; return $ this -> responseResult ( ) ; }
Handle account balance response.
Handle account balance response .