diff --git a/src/utils/callback.php b/src/utils/callback.php index 1a54ce4..6d2e85c 100644 --- a/src/utils/callback.php +++ b/src/utils/callback.php @@ -17,7 +17,7 @@ public function process() { ->where('token', $data['token']) ->firstOrFail(); // check status from jeeb.io server - $status = Status::check($data['token']); + $status = Status::check($data['token'])->json(); // get stateId from status $stateId = $status['result']['stateId'];