Please set your client key from sandbox

In file: /home/digihostmaya/public_html/app-config.digihostmaya.com/paymentOnline/midtrans-php-master/examples/core-api/checkout.php

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