user_notelbimbit = $user_notelbimbit; $this->user_namapembida = $user_namapembida; } /** * Execute the job. * * @return void */ public function handle() { $mobile_no = ltrim($this->user_notelbimbit, '+'); $message = 'AR-RAHN PKB: Terima Kasih '.$this->user_namapembida .', Pembayaran Anda Telah Disahkan, Sila Ke Cawangan Berkenaan Untuk Tuntutan Barang Bidaan Anda Hari Ini.'; if(config('app.env') != 'production'){ $mobile_no = config('app.admin_phone_number'); } $response = Http::get(env('WABOT_API'), [ 'number' => $mobile_no, 'type' => 'text', 'message' => $message, 'instance_id' => env('WABOT_INSTANCES_ID'), 'access_token' => env('WABOT_TOKEN_KEYS') ]); Log::info("WABOT - Akaun Telah Sahkan Pembayaran: ".$this->user_namapembida .'' . $response); } }