Please set your server key from sandbox

In file: /home/genakzjh/public_html/vendor/midtrans/midtrans-php/examples/core-api/transaction-manipulation.php

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