Please set your client key from sandbox

In file: /home/akfr3566/public_html/gateway.akfarmitseda.ac.id/vendor/midtrans/midtrans-php/examples/core-api/checkout.php

Config::$clientKey = '<your client key>';