ModulesGarden Documentation
Back Home Home

WHMCS Widget For Zendesk

  • Navigation
    • Main Page
    • ModulesGarden Website
    • Help
  • WHMCS Modules
    • Abandoned Cart
    • Account Synchronization
    • AdminBolt Licenses
    • Advanced Billing
    • Alibaba Cloud Virtual Machines
    • Amazon EC2
    • Amazon Lightsail
    • Anti-Fraud And Email Verification
    • Client Area Designer
    • Client Area Popup
    • Client Profile Viewer
    • Cloud Billing
    • cPanel Extended
    • cPanel Manage2
    • CRM
    • DigitalOcean Droplets
    • DirectAdmin Extended
    • DirectAdmin Licenses
    • Discount Center
    • DNS Manager
    • Domain Allocator
    • Domain & Email Forwarding
    • Domain Orders Extended
    • Domains Reseller
    • EasyDCIM Colocation
    • EasyDCIM Dedicated Servers
    • Email Notifications Organizer
    • Emoji Picker
    • EURid Registrar
    • Expense Tracker
    • Freshdesk
    • Freshservice
    • Geolocation Hook
    • GoDaddy Domain Registrar
    • GoGetSSL
    • Google Analytics
    • Google Cloud Virtual Machines
    • Google Workspace
    • Hetzner Cloud Servers
    • Hosting Quota Notifications
    • Hosting Renewals
    • IBM Cloud Virtual Servers
    • IP Manager
    • Lagom Smart Order Form
    • Login-Free Payments
    • Marketing Triggers Automation
    • MetricsCube Business Analytics
    • MikroTik WireGuard VPN
    • Multibrand
    • NIC IT Registrar
    • Office 365
    • OpenStack Projects
    • OpenStack VPS & Cloud
    • OVHcloud VPS & Dedicated Servers
    • Password Manager
    • Payment Gateway Allocator
    • Payment Gateway Charges
    • Plesk Extended
    • Plesk Key Administrator
    • Portainer Docker Containers
    • Premium Support Tickets
    • Product Cross-Selling
    • Product Feedback Center
    • Product Free Trial Manager
    • Product Linker
    • Products Reseller
    • Proxmox Mail Gateway
    • Proxmox VE Cloud VPS (Legacy)
    • Proxmox VE VPS & Cloud
    • QuickBooks Desktop
    • QuickBooks Online
    • QuickBooks Online Survey
    • Quotes Automation
    • R1Soft Backups
    • Rackspace Email Extended
    • Recurring Contract Billing
    • Report Generator
    • Resellers Center
    • Server Allocator
    • Secure Support Messages
    • Server Monitoring
    • SMS Center
    • Social Media Login
    • SolusVM 2 VPS & Cloud
    • SolusVM Extended VPS
    • SolusVM Extended Cloud
    • SolusVM Extended Reseller
    • Stripe SEPA Payments
    • Support PIN
    • Support Tickets Allocator
    • Time & Task Manager
    • Unban Center
    • Virtuozzo Hybrid Infrastructure S3
    • Virtuozzo Hybrid Server
    • Vultr VPS
    • WithoutDNS
    • WordPress Manager
    • Zendesk
    • Zimbra & Carbonio Email
  • Legacy Versions
    • Advanced Billing 3.X
    • Domain Orders Extended 2.X
    • Domains Reseller 1.X
    • EasyDCIM Colocation V1.X
    • EasyDCIM Dedicated Servers V1.X
    • EasyDCIM Dedicated Servers V2.X
    • Hosting Quota Notifications 1.X
    • Hosting Renewals 2.X
    • IP Manager 2.5.X
    • Lagom One Step Order Form 1.2.X
    • Multibrand 1.X
    • Office 365 1.0.0
    • Payment Gateway Charges 1.X
    • Proxmox Cloud 2.X
    • Proxmox VPS 2.X
    • Quotes Automation 1.X
    • Recurring Contract Billing 1.5.X
    • Report Generator 3.X
    • Resellers Center 2.X
    • SMS Center 2.X
    • Unban Center 1.X
    • Zimbra Email For WHMCS
    • Zimbra Email 1.X
  • WHMCS Module Bundles
    • Accounting
    • Commerce
    • CRM
    • Customer Experience
    • Domain Reseller
    • Hosting Accounts Provisioning
    • IaaS VPS And Cloud Provisioning
    • On-Premises VPS And Cloud Provisioning
  • WHMCS Widgets
    • Freshdesk Customer Widget
    • ModulesGarden Widget
    • WHMCS Widget For Zendesk
  • Tools And Applications
    • Access Control Tool
    • App Templates Tool
    • Automations Tool
    • Logs
    • Proxmox Proxy Application
    • Task Queue Tool
    • Theme Management Tool
  • Translations
    • Translations Tool
    • Translations
    • Polish Language Translation
    • Polska Wersja Językowa (PL)
  • General
    • 7-Day Free Access
    • How To Change WHMCS Module Language
    • How To Debug Module
    • How To Solve Problems With Module License
    • How To Change WHMCS Module Design
    • How To Update WHMCS Module
    • How To Upgrade WHMCS Module
    • How To Use Configurable Options
  • FAQ
    • Common Questions
    • WHMCS Module Bundles
  • Community
    • Forums
    • Blog
    • Facebook
    • X
    • LinkedIn
    • Instagram
    • Reddit
    About WHMCS Widget For Zendesk Installation Tips Common Problems

# WHMCS Widget For Zendesk

  • About WHMCS Widget For Zendesk
  • Installation
  • Tips
  • Common Problems

# About WHMCS Widget For Zendesk

WHMCS Widget For Zendesk is a free addition which you can easily install in your own Zendesk.

It allows you to see a preview of customers' details, products, domains and due invoices stored in multiple WHMCS instances within the Zendesk admin area.

  • WHMCS Customer Info Features

    • View Profile Details
    • View Ordered Products
    • View Assigned Domains
    • View Due Invoices
  • General Info

    • Toggle Display Of Client Contact Info, Products And Due Invoices
    • Connects Multiple Zendesk Brands With WHMCS Instances
    • Supports .htaccess Base Authentication
    • Supports Role Restrictions
    • Supports WHMCS Proxy And IP Addresses Whitelist
    • Logs Unauthorized WHMCS Access Attempts

# Installation

Installation process of this widget is very simple and should not cause many problems. Let's begin!

  1. Download the widget from here (opens new window) and extract it. You can also install it directly from Zendesk Marketplace (opens new window).
    Inside you will find:
  • whmcs_customer_info_app.zip - actual app you need to install on your Zendesk server.
  • includes - folder that you need to upload onto your WHMCS server, required for successful connection.
  1. Log in to your Zendesk admin area, go to 'Manage' under 'APPS' category and click on 'Upload private app' button.

Note: If you do not see the 'Upload private app' button, then you most likely have an insufficient plan. Private apps are only available for 'Professional' and 'Enterprise' Zendesk plans.
In that case try installing app directly from Zendesk Marketplace (opens new window) but you will still have to manually upload some files to your WHMCS.

  1. Afterwards enter app name, add previously downloaded 'whmcs_customer_info_app.zip' file and press 'Upload'.
  1. Enter the required installation details
  • Title - provide any name that will help you identify the widget installation in Zendesk.
  • URL to your WHMCS system – enter the full URL to your WHMCS installation (e.g. https://yourdomain.com).
  • Domain of your WHMCS system – enter the domain of your WHMCS installation (e.g. yourdomain.com). This value is used internally for domain whitelisting.
  • Secure Code – enter the secure code configured in your WHMCS Zendesk Widget module.
    Note: after saving the configuration, this field will appear empty for security reasons.
  • Select the information you want to display in Zendesk by enabling the available options:
  • Display Client Contact Info
  • Display Client Products
  • Display Client Due Invoices
    If your WHMCS installation is protected with HTTP Basic Authentication (.htaccess), you can also provide:
  • Base Authentication Username
  • Base Authentication Password
    These credentials will be used to authorize requests sent from Zendesk to your WHMCS installation.
    Finally, click Install to complete the widget installation.

Note: If you use 'Zendesk Multibrand (opens new window)' feature you can also put several addresses in brand_name|brand_URL format to establish communication with your multiple WHMCS instances. For example:

  1. As it is shown on the screen below, app has been installed correctly.
  1. Afterwards upload 'includes' folder, mentioned in the 1st step of this guide, into your main WHMCS directory.
    Files included in the folder are responsible for communication between Zendesk widget and WHMCS data.
    Proceed to 'your_whmcs/includes/zendesk_app' and set 'unauthorized_access_attempts.txt' file as writable.
    Note: You can obtain from this file the required Zendesk IP addresses.

  2. Now, edit 'customer_info.php' file.
    Enter your secure code into $widgetSecureCode variable and whitelist Zendesk servers IP under $widgetIpWhitelist variable as presented on the following screen.
    The typical Zendesk IP addresses are:

    • 192.161.144.144
    • 192.161.144.145
    • 192.161.144.146
    • 192.161.144.147
      Since version 1.1.0 of the widget you can also provide IP addresses using CIDR method. For example:
    • 192.161.144.159/26
      Note: Please keep in mind that there are more possible IP addresses, keep track of the Zendesk official documentation with the current list.
  1. That's all, you have just successfully finished the installation of WHMCS Widget For Zendesk.
    Let's check the details of your WHMCS customer in Zendesk. To do so, press 'Apps' button when viewing a particular client ticket.
  1. On the right side of the screen you can see now complete client details, information on products, domains and due invoices.
    Additionally, you can quickly get more details about specific customer info with just a single click.

# Tips

  1. If you are using proxy the module also supports the 'Proxy IP Header' and 'Trusted Proxies' provided in WHMCS security settings.

# Common Problems

WHMCS Problems:

  1. Wrong IP Address: This problem occurs when connection to WHMCS is not authorized. Reason: IP address of the host, which is trying to connect, is not on the whitelist.
    Solution: Add the IP address to the '$widgetIpWhitelist ' array at the top of the customer_info.php file.
    You can find IPs of the recent connection attempts in 'unauthorized_access_attempts.txt' file (the file needs 'write' permissions).

  2. Wrong Secure Code: This problem occurs when the secure code is not set properly. Reason: Secure code set in Zendesk APP is not the same as '$widgetSecureCode' at the top of the 'customer_info.php' file.
    Solution: Set the same code in both places.

  3. Client not found: This error occurs when the client is not registered in WHMCS. Reason: WHMCS cannot find the client's email in the database.
    Solution: Register the client in WHMCS. Zendesk App Problems:

  4. Connection Error: This problem occurs when Zendesk cannot connect to WHMCS to get the client's details. Possible Reasons: URL to your WHMCS system is not set properly. Firewall, .htaccess etc. is blocking access to the 'customer_info.php' file. Solution: Check URL set in APP settings. Allow access to the 'customer_info.php' file from the outside of the server (you can also try to access the file from your browser).