WHMCS - https://whmcs.com is a client management, billing and support solution primarily used for web hosting. Orders are placed, tickets are raised, invoices are generated and all the bits in between. All of it, within WHMCS.
Usually the staff or administrator of WHMCS receives an email notification whenever a new event occurs. But what if you want to write a web script to automate an action when a notification is received? This script uses PHP & CURL to post 3 WHMCS notification variables to a remote web page of your choosing. An example of how to do this is featured below.
This script uses the official WHMCS API to integrate itself as a new Notification Provider. Once set-up this script, using PHP & CURL will pass the notification through to the web page of your choosing.
Once setup within WHMCS you can then move to configuring your custom web page to perform any variety of actions when a notification is received. An example page is given.
Now any time the notification rule created in Step 5 is met, your custom web page will be notified. You can create as many custom notifications as you want. Just keep repeating Step 5 with different events.
The 3 array keys passed to $_POST are "notification_title", "notification_url", & "notification_message" can be access in PHP by calling $_POST["notification_title"], $_POST["notification_url"] and $_POST["notification_message"];
Be the first to review CURL Notification Provider.
The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.
MSG91 WHMCS SMS plugin gives you the power and flexibility to stay connected with your customers by sending them an SMS and OTP's for 2FA at the crucial steps that matters the most.
Transactional email support for Sendgrid, Mailgun, Postmark, Sendinblue, Mailjet, Sparkpost, Mandrill and AmazonSES
More Advanced SMS System (Two-Factor Authentication)
Netgsm Sms addon provides you sending customized bulk sms and creating sms templates.
Professional business e-mail for your users