I'm stuck with a problem that is simple in thought but technically challenging. Basically i'm using a simple laravel package called Simple-qrcode (Package Website) that is able to create QR Codes that can then be scanned. Everything works as it should, however i want to be able to Scan a QR Code to call a phone number. The problem is that the phone number is a USSD e.g *123#. I want to be able to scan the QR Code so that it can execute the *123# USSD Code which will give the user a Menu with options just like the one given by Telco's to recharge, check balance, e.t.c. Here is example of the code i use to generate QR Code
public function generateQRCode()
{
return QrCode::size(300)->phoneNumber('*123#');
}
This creates the QR Code and i can scan it. But when i click the "Call" button on any QRCode scanning App it fails to call. Can anyone advice me on this issue. I'm currently using Laravel version 5.7. Thank you
via Chebli Mohamed



Aucun commentaire:
Enregistrer un commentaire