Sms Module Setup Help

0

Hello, We have All POS Module.
We need to connect our own SMS Gateway API.

API Credentials
https://smsapi.greenline.lk/api/sendSMS/?key=&message=&number=

Explain clearly how to make this. how to fill your Param and Send to Name / Message Name

Thank you.

Question Resolved For: POS Print Server (Windows Installer) 0 Votes 1 Answers 274 Views
Asked by Thizz 2 years ago

0

Answered by Mian Saleem 2 years ago

Hello,

I don't know how your gateway works. You need to provide detailed version. What I can do now is to ask how can I explain the setting further so you can understand it better.

    'url' => 'http://example.com/api/sms.php?',
    'params' => [
      'send_to_name' => 'mobile',
      'msg_name' => 'message',
      'others' => [
        'param1key' => 'param1value',
        'param2key' => 'param2value',
        'param3key' => 'param3value',
        'param4key' => 'param4value',
        'param5key' => 'param5value',
      ]
    ]

Let me know what is no clear so that I can explain further. What I guess from your url is this.

URL = https://smsapi.greenline.lk/api/sendSMS/?
Send to name = number
Message name = message
param1key = key
param1value = theValueOfYourKeyHere

If you are not sure, you can check with your gateway team with above details.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.