How to setup any gateway with the smshare module for Opencart
Posted on June 16, 2015
Update on October 24, 2021
Tags: Opencart
In this quick post we will see how to setup any gateway with the smshare module for Opencart. Smshare modules for Opencart are available on the smshare official store for both Opencart 1 and Opencart 2
Every SMS gateway out there will provide you with an API to send SMS programmatically. They often provide you with a GET URL or in some case with a POST endpoint.
The GET URL provided looks like the following:
http://www.sms-gateway.com/send-sms?num=12345679&msg=hello¶m1=xyz¶m2=abc&...
URL part | Name | Description | Optional? |
---|---|---|---|
http://www.sms-gateway.com/send-sms | The API Gateway URL | Enter the gateway URL in the API URL field in smshare module configuration. | Required |
num | The destination field | This is the name of the variable that represents the destination numbers. | Required |
msg | The message field | This is the name of the variable that reprensents the message. | Required |
param1, param2, etc | Additional fields | These are additional parameters that may be required by your gateway. | Optional |
Here is a screenshot of how you enter these values in smshare module configuration.
Malath gateway is a SMS gateway from Saudi Arabia, created in 2008. They have more than 200,000 users. Malath is known to perform well in Saudi Arabia and all other Gulf countries
thanks to their direct connections.
They have good rates too. Register now!
Here are the configuration values for malath gateway as shown in the screenshot above for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://sms.malath.net.sa/httpSmsProvider.aspx | |
The destination field | mobile | |
The message field | message | |
username | Your malath username | Additional field |
password | Your malath password | Additional field |
sender | Your senderID | Additional field |
unicode | U | Additional field |
safa-sms gateway is a SMS gateway that is known to perform well in Saudi Arabia and all other Gulf countries
thanks to their direct connections.
They have good rates too. Register now!
Here are the configuration values for safa-sms gateway as shown in the screenshot above for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://www.safa-sms.com/api/sendsms.php | |
The destination field | numbers | |
The message field | message | |
username | Your safa-sms username | Additional field |
password | Your safa-sms password | Additional field |
sender | Your senderID | Additional field |
liveall.eu is a Greek SMS gateway.
Here are the configuration values shown in the screenshot above, for liveall for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://sms.liveall.eu/apiext/Sendout/SendSMS | |
The destination field | destination | |
The message field | message | |
apitoken | Your liveall API token | Additional field |
senderid | Your senderID | Additional field |
Here are the configuration values shown in the screenshot above, for mobily.ws for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://www.mobily.ws/api/msgSend.php | |
The destination field | numbers | |
The message field | msg | Check the "unicode the message" setting. This gateway requires the message body to be converted to Unicode |
mobile | Your mobile number used when you registered with mobily.ws | Additional field |
password | Your password used when you registered with mobily.ws | Additional field |
sender | Your senderID you registered with mobily.ws | Additional field |
applicationType | 24 | Additional field |
Here are the configuration values shown in the screenshot above, for mobile.net.sa for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://mobile.net.sa/sms/gw | |
The destination field | numbers | |
The message field | msg | |
userName | Your mobile.net.sa username | Additional field |
userPassword | Your mobile.net.sa password | Additional field |
userSender | Your senderID | Additional field |
By | standard | Additional field |
Here are the configuration values shown in the screenshot above, for mobishastra for easy copy/paste.
Name | Value | Note |
---|---|---|
The API URL | https://mshastra.com/sendurlcomma.aspx | |
The destination field | mobileno | |
The message field | msgtext | |
user | Your mobishastra username | Additional field |
pwd | Your mobishastra password | Additional field |
senderid | Your sender ID | Additional field |
priority | High | Additional field |
CountryCode | ALL | Additional field |
Here are the configuration values shown in the screenshot above, for Msegat for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://www.msegat.com/gw/sendsms.php | |
The destination field | numbers | |
The message field | msg | |
userName | Your msegat username | Additional field |
apiKey | required, string, apiKey associated with the account | Additional field |
userSender | required, string, sender name, should be activated from Msegat.com | Additional field |
msgEncoding | required, string, UTF8 or windows-1256 | Additional field |
msg91.com is an Indian gateway
Here are the configuration values shown in the screenshot above, for MSG91 for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://control.msg91.com/api/sendhttp.php | |
The destination field | mobiles | |
The message field | message | |
route | 4 | Additional field |
authkey | Your API authkey | Additional field |
sender | Your senderID | Additional field |
Here are the configuration values shown in the screenshot above, for mVaayoo for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://api.mVaayoo.com/mvaayooapi/MessageCompose | |
The destination field | receipientno | Note that they made a spelling mistake (recipient is correct) but you must stick with receipientno |
The message field | msgtxt | |
user | the value looks like: username@example.com:123456 | Additional field |
senderID | Your mvaayoo sender id | Additional field |
NetGSM is an Turkish SMS gateway.
Here are the configuration values shown in the screenshot above, for NetGSM for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://api.netgsm.com.tr/sms/send/otp | |
The destination field | no | |
The message field | msg | |
usercode | Your NetGSM username | Additional field |
password | Your NetGSM password | Additional field |
msgheader | Your NetGSM sender ID | Additional field |
Here are the configuration values for oursms.net gateway as shown in the screenshot above for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://www.oursms.net/api/sendsms.php | |
The destination field | numbers | |
The message field | message | |
username | Your oursms username | Additional field |
password | Your oursms password | Additional field |
sender | Your senderID | Additional field |
unicode | E | Additional field |
smsexperience.com is a Nigerian SMS gateway.
Here are the configuration values shown in the screenshot above, for smsexperience for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://smsexperience.com/components/com_spc/smsapi.php | |
The destination field | recipient | |
The message field | message | |
username | Your smsexperience username | Additional field |
password | Your smsexperience password | Additional field |
sender | Your sender ID | Additional field |
SMSViro is an Indonesian SMS gateway. It requires HTTP basic auth. For Opencart users, your need the smshare Basic Auth extension (advanced feature)
Here are the configuration values shown in the screenshot above, for SMSViro for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://api.smsviro.com/restapi/sms/1/text/single | |
The destination field | to | |
The message field | text | |
from | Your smsviro sender ID | Additional field |
www.ismartsms.net is a Middle east SMS gateway.
Here are the configuration values shown in the screenshot above, for ismartsms for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://www.ismartsms.net/iBulkSMS/HttpWS/SMSDynamicAPI.aspx | |
The destination field | MobileNo | |
The message field | Message | |
UserId | Your ismartsms user id | Additional field |
Password | Your ismartsms password | Additional field |
Lang | 0 for english, 64 for arabic | Additional field |
bulksmsgateway.in is an Indian SMS gateway.
Here are the configuration values shown in the screenshot above, for bulksmsgateway for easy copy/paste. For more info checkout their documentation
Name | Value | Note |
---|---|---|
The API URL | https://www.bulksmsgateway.in/sendmessage.php | |
The destination field | mobile | |
The message field | message | |
user | Your bulksmsgateway username | Additional field |
password | Your bulksmsgateway password | Additional field |
sender | Your sender ID | Additional field |
type | 3 | Additional field |
victorylink.com can be used in Egypt
Here are the configuration values shown in the screenshot above, for victorylink for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | https://smsvas.vlserv.com/VLSMSPlatformResellerAPI/NewSendingAPI/api/SMSSender/SendSMSWithUserSMSIdAndValidity | |
The destination field | SMSReceiver | |
The message field | SMSText | |
UserName | Your victorylink username | Additional field |
Password | Your victorylink password | Additional field |
SMSSender | Your senderID | Additional field |
SMSLang | A | Additional field. A for arabic |
SMSId | {uuid} | Additional field. Put {uuid} so that we replace it with random guid |
A Romanian gateway provider
A thai gateway provider
A thai gateway provider
A Greek gateway provider
yamamah.com is a Saudi Arabian SMS gateway.
Here are the configuration values shown in the screenshot above, for yamamah for easy copy/paste
Name | Value | Note |
---|---|---|
The API URL | http://api.yamamah.com/SendSMSV2 | |
The destination field | RecepientNumber | |
The message field | Message | |
Username | Your yamamah username | Additional field |
Password | Your yamamah password | Additional field |
Tagname | Your senderID | Additional field |
EnableDR | true | Additional field: enabled delivery report |
SendDateTime | 0 | Additional field: required |
VariableList | Additional field: required, leave it empty |
In this post we saw how to setup any gateway with the smshare module for opencart. If you have questions you can ask them in the comment section below or contact us.