How to send SMS from Opencart using a specific smartphone or SMS gateway created in your ProWebSms dashboard
Posted on July 15, 2016
Update on JUly 16, 2016
In this quick post we will see how to send SMS from Opencart using a specific smartphone or SMS gateway created in your ProWebSms dashboard
Smshare modules for Opencart are available on the smshare official store for both Opencart 1 and Opencart 2 .
If you own multiple Android smartphones and multiple ecommerce sites, you can choose to have each smartphone associated with a website, without creating multiple ProWebSms accounts.
You can manage all your smartphones from your dashboard.
You can install the ProWebSms app on each smartphone, login with your smshare login and password and forget about the smartphone for now.
Connect to your prowebsms dashboard and navigate to your device list then click on the [view] button of your device.
You will see access token as well as smartphone uuid that we will use below to setup opencart.
Here is a screenshot of how you enter these values in ProWebSms module configuration.
Here is the explanation of the configuration shown in the screenshot.
|The API URL||https://www.smshare.fr/api/v3/texting||The ProWebSms API texting URL. Put in the API URL field in ProWebSms module configuration.|
|The destination field||numbers||This is the name of the variable that represents the destination numbers.|
|The message field||message||This is the name of the variable that reprensents the message.|
|The access token||access_token||These the access token of the gateway or the smartphone.|
|The smartphone uuid||gateway||These the uuid of the gateway or the smartphone.|
In this post we saw how to setup any gateway or smartphone declared in your ProWebSms dashboard, as a sending mode within the ProWebSms module for opencart. If you have questions you can ask them in the comment section below or contact us.