CURL Notification Provider

CURL Notification Provider

Developed By Peter Kelly

Compatible with WHMCS v8.0

About

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.

Features

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.

Instructions

  1. Download the latest version.
  2. Upload "CustomCurl" folder to "/WHMCS_INSTALLATION_DIRECTORY/modules/notifications/".
  3. Login to your WHMCS installation admin, navigate to Setup > Notifications then click "Configure" under the WHMCS Curl Notification provider.
  4. Press Save Changes.
  5. Click "Create New Notification Rule" and choose the notification event you want creating and then choose CustomCurl and then enter the url to where your custom web page is hosted (Please note this must be publicly accessible).

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.

Frequently Asked Questions

  1. How do I access the 3 variables passed to the custom web page?

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"];

 

There are no reviews yet!

Be the first to review CURL Notification Provider.

Version Compatibility


Compatible with WHMCS v8.0

Full Version Compatibility


  • Selected versions of WHMCS v8.0
        8.0.0
  • Selected versions of WHMCS v7.10
        7.10.0 - 7.10.1
  • All versions of WHMCS v7.9
  • All versions of WHMCS v7.8
  • All versions of WHMCS v7.7

System Requirements


  • PHP 5.6+
  • PHP Curl Extension

* Requirements listed are in addition to the WHMCS default system requirements.

Support for this product

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.

Developed By Peter Kelly

Changelog

vV1.0 Released April 3rd, 2020

Latest Version


First Version.

 

See also

Discord Notifications

A simplistic, free & open source hook allowing instant Discord notifications when an action is triggered.

Free
Netgsm Sms

Netgsm Sms addon provides you sending customized bulk sms and creating sms templates.

Free
MSG91 SMS/OTP Plugin

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.

Free
SMS Manager

More Advanced SMS System

Commercial
SMS Alert

Send automated SMS alert from WHMCS, and verify users mobile with OTP

Free