Notification-handler are not meant to be opened via browser / GET HTTP method. It is used to handle Midtrans HTTP POST notification / webhook.

Please set your server key from sandbox

In file: /var/www/html/lms/vendor/midtrans/midtrans-php/examples/notification-handler.php

Config::$serverKey = '<your server key>';