after test code mix hhh voilla gift
simple add this code on OrderContoller.php
after this line
$this->sendPushNotificationStoreOwner($restaurant_id, $unique_order_id);
replace XXXX to your WhatsApp number & apikey
CODE
/* START SEND WHATSAPP WITH API TO OWNER AFTER ORDER PLACED*/
$msgMessage = "*New Order Arrived!*
*Restaurant Name* -". $restaurant->name."
*Customer No* - ". $user->phone."
*Order ID* - #". $newOrder->unique_order_id."
*Order Price* -". config('appSettings.currencyFormat') .$newOrder->total;
$message= urlencode($msgMessage);
//The URL with parameters / query string.
$url = 'https://api.callmebot.com/whatsapp.php?phone=XXXXXXXX&text='.$message.'&apikey=XXXXXX';
//Once again, we use file_get_contents to GET the URL in question.
$contents = file_get_contents($url);
/* END SEND WHATSAPP WITH API TO OWNER AFTER ORDER PLACED*/