SMSGlobal
The Easy Services Booking - Send SMS plugin sends the SMS templates to your clients through SMSGlobal.
What you need
- An SMSGlobal account (smsglobal.com) with credit.
- Your SMSGlobal HTTP API username and password. These are API credentials from the SMSGlobal web app, not the login you use for the website.
- A phone number field in your booking form. The default form has Mobile with the variable name
mobile.
Set up the plugin
Go to System > Manage > Plugins, search for Easy Services Booking - Send SMS and open the plugin. It is installed disabled.
| Setting | What it does |
|---|---|
| Send on Create | Send on_event_created right after a client books |
| Send on Validate | Send on_event_validation when a pending booking is confirmed |
| Send on Reminder | Send on_event_reminder with the reminder email |
| SMSGlobal API Username | Your SMSGlobal API username |
| SMSGlobal API Password | Your SMSGlobal API password |
| Default country code to add | The country code without +, for example 61 |
| Strip leading 0 | Yes removes a leading 0 from the number |
| Mobile # customfield | The Variable Name of the phone field, for example mobile |
| Enable Test? | Yes does not send anything: the message and number are written to the log file plg_easyservicesbooking_smsevents.logs.php in your Joomla logs folder and shown on the page |
| The sender number of ID | The sender shown to the client: a number or a short sender name allowed on your SMSGlobal account |
Set Status to Enabled and save.
How the number is built
Easy Services Booking removes every character that is not a digit, removes a leading 0 if Strip leading 0 is Yes, and puts the Default country code to add in front. The country code is always added, so ask clients to enter their number without it.
Example: with 61 and Strip leading 0 on, 0412 345 678 becomes 61412345678.
When sending fails
If SMSGlobal does not answer with "OK", Easy Services Booking emails the site email address with SMSGlobal's answer. Check the credentials, the credit and the sender.
Start with Enable Test? set to Yes to check the texts and numbers, then set it to No.