Please set your client key from sandbox

In file: /home/nusk3123/public_html/payment.nusasync.id/midtrans-php-native/vendor/midtrans/midtrans-php/examples/core-api/checkout.php

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