src/Mpesa/Laravel/Http/Controllers/MpesaWebHookController.php
/**
     * Handle transaction status response.
     *
     * @param Request $request
     **/
Handle transaction status response.
@param Request $request
Handle transaction status response . @param Request $request
public function handleReversalResult(Request $request)
    {
        $data = $request->input('Result', []);
        $result = new Reversal($data);
        event(new Reversed($result));
        $this->logRequest($data, "-------- Transaction Reversal Request --------\r\n");
        return $this->responseResult();
    }
public function handleReversalResult ( Request $ request ) { $ data = $ request -> input ( 'Result' , [ ] ) ; $ result = new Reversal ( $ data ) ; event ( new Reversed ( $ result ) ) ; $ this -> logRequest ( $ data , " -------- Transaction Reversal Request -------- \r \n " ) ; return $ this -> responseResult ( ) ; }
Handle transaction status response.
Handle transaction status response .