Questions tagged [whmcs]

WHMCompleteSolution, also known as WHMCS, is a commercial billing and automation software program developed by WHMCS Ltd.

Originally, WHMCS was designed to integrate only with cPanel and WHM, a leading web hosting control panel. However, WHMCS has expanded to support additional integration with other web hosting control panels, and it now includes support for a wide range of control panels, payment gateways and other third party software.

WHMCS features automated signups for web hosting customers, automatic invoicing and payment processing in multiple currencies, account provisioning, domain registration and management, as well as a fully featured web ticketing and support system for end users.

516 questions
3
votes
2 answers

Open a PHP Page without redirect?

I have been writing a module for our billing system at work, and it works beautifully. Unfortunately the API lacks a function that I need to terminate services immediately leaving me with the only option of calling the URL directly…
user470760
2
votes
1 answer

WHM/Cpanel API Cron::listcron request using cURL

I'm using the code below to get a cron list but only thing I get is a blank page. Also when I replace port 2087 by 2083 the output is {"data":{"reason":"Access denied","result":"0"},"type":"text"} with a 403 HTTP status. Can you help me fix this…
Stephane
  • 4,978
  • 9
  • 51
  • 86
2
votes
1 answer

Odd cURL Error - errno 104 (Code 56) In WHMCS

Have just installed WHMCS on my CentOS 6.0 x86 VPS server with cPanel. I've tired to use the WHM Import tool and I'm receiving the following error: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 (Code 56) - Check IP/Blocked Firewall…
Mark
  • 302
  • 4
  • 14
2
votes
2 answers

custom fields not inserting using WHMCS API

I am trying to insert some extra client details using WHMCS API's 'add client'. However the insertion takes place , but the customfields gets no effect,when I checked in WHMCS client area.I have customfield[1],[2]...[5] added as fields in client…
benji
  • 681
  • 9
  • 23
2
votes
5 answers

Get Windows Uptime/Load with PHP?

Our billing system supports network monitoring and shows uptime and load percentage, however, the PHP status script they provide says it is Linux only. Configuring PHP to work with Server 2008 is not an issue, but I don't know PHP. Would it be…
user470760
2
votes
1 answer

Display Dedicated IP into clientareainvoices.tpl list in WHMCS?

I'm using WHMCS 8.x and Smarty PHP is already enabled. I hope to use some code or hook function to let the dedicated ip or hostname to display on the page clientareainvoices.tpl (/clientarea.php?action=invoices) list . I hope anyone can help me with…
Ref
  • 21
  • 2
2
votes
3 answers

Creating a Login Form for Multiple Sites

Our web-designer just finished up our site, and it has an HTML Form with Text Inputs for Username/Password, and a Drop-Down box so they can choose where they are logging in. Since HTML doesn't have anything that will work with this I don't believe,…
user470760
2
votes
1 answer

Add user in WHMCS by api

My question how to get https://www.example.com/includes/api.php. Means api.php file or related liberary. And how to use it. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.example.com/includes/api.php'); curl_setopt($ch,…
2
votes
1 answer

How to create custom WHMCS page to display database results

Please, I am working on a WHMCS custom page, but getting errors. I want to display data from a table - I am using the clients' table as a reference. I will be grateful to get assistance. If I remove the table part of the tpl code, the other part…
2
votes
0 answers

Centos-Webpanel Server Module, Login to Control Panel 404 error in WHMCS

I have installed the Centos-Webpanel WHMCS Server Module in WHMCS. Once in WHMCS, usually we are able to configure such addon modules such that one can click on a link within WHMCS in order to be directed straight to the CWP Administrator Dashboard…
adam
  • 75
  • 2
  • 15
2
votes
1 answer

Redirect the url to login page WHMCS development

From the WHMCS development tutorial, I created a page success. but in the example code: if ($ca->isLoggedIn()) { $clientName = Capsule::table('tblclients') ->where('id', '=', $ca->getUserID())->pluck('firstname'); // 'pluck' was…
sof-03
  • 2,255
  • 4
  • 15
  • 33
2
votes
2 answers

WHMCS Invalid Csrf Protection Token Error

I am using whmcs for a long time but 2 days ago my licence was suspended due to unknown reason, now its unsuspended but i was unable to login, it shows "INVALID CSRF PROTECTION TOKEN". i have tried my best but not resolved .
Nadir Hussain
  • 21
  • 1
  • 3
2
votes
1 answer

Error when rendering .tpl file from SQL query

I'm trying to get a result from a MySQL database and display selected values into a .tpl template file. This is what I tried so far: {php} $clienthosting = $this->get_template_vars(service);//Here is where the exception is thrown $dbid =…
Dr.MTR
  • 207
  • 7
  • 19
2
votes
2 answers

WHMCS Modifying Clients Table

How can you add a custom field to the table under View/Search Clients in the admin portal. I have seen a lot of examples for ClientArea but nothing for the ADMIN Area. Any light shed on this would be truly helpful. Thanks.
2
votes
0 answers

WHMCS - Payment gateway with the iframe approach

Hoping someone here who has worked with WHMCS before can assist me. Background: I'm working on developing a Payment Gateway module for WHMCS which loads the provider's payment page in an iframe. The issue: WHMCS documentation has this method…
LifeSteala
  • 63
  • 7
1
2
3
34 35