public function parse()
    {
        $notification = (isset($_POST) && isset($_POST["xml"])) ? $_POST["xml"] : null;

        if (! $notification) {
            throw new \Exception('Notification error', 5000);
        }
        return new \SimpleXMLElement($notification);
    }