Difference between revisions of "IWHMCS iPhone App"

From WHMCS Documentation

m
(Access Denied)
Line 61: Line 61:
 
===Access Denied===
 
===Access Denied===
 
iWHMCS uses the API to communicate with your WHMCS installation. Therefore the Administrator Roles of staff using the app will require the "API Access" permission. To grant this permission:
 
iWHMCS uses the API to communicate with your WHMCS installation. Therefore the Administrator Roles of staff using the app will require the "API Access" permission. To grant this permission:
* Navigate to '''Setup > Staff Management > Administrator Roles'''
+
* Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > Admin Users''' or, prior to WHMCS 8.0, '''Setup > Staff Management > Administrator Roles'''.
* Edit the role to which your staff member belongs
+
* Edit the staff member's role.
* Tick the ''API Access'' checkbox
+
* Check the ''API Access'' checkbox.
* Click ''Save Changes''
+
* Click '''Save Changes'''.
  
 
===iWHMCS features other than the home screen require the iWHMCS addon to be purchased===
 
===iWHMCS features other than the home screen require the iWHMCS addon to be purchased===

Revision as of 16:44, 4 August 2020

Acceptable Password Characters
The following characters should not be used in an administrator password & " ' < > (ampersand, double quotes, single quotes, less than or greater than). Any other symbols such as # ! £ $ % ^ * ( ) . , / etc… are perfectly acceptable.

Please see http://www.iwhmcs.com/ for details.

Setup Instructions

1. To begin with (if you haven't already done so), you will need to order the iPhone addon from our client area. It's available as an addon to a license and can be ordered by logging into our client area @ www.whmcs.com/members/clientarea.php and selecting "View Available Addons" from the navigation bar.

2. Once you've ordered and paid, the addon will be instantly activated and you'll just need to perform a local key update by going to Help > License Information > Force License Update inside your WHMCS installation to have it take effect.

3. Now, you're ready to download the iWHMCS app from the Apple iTunes App Store which you can do by simply searching for iWHMCS in iTunes or using this link to take you directly there: http://itunes.apple.com/gb/app/iwhmcs/id343647658?mt=8

4. Once downloaded, simply sync your phone to install the app as normal

5. Now locate and open the app on your iphone's home screen

6. The first time you start it, you'll be asked to enter your authentication details. These consist of your WHMCS URL, admin username & password and an access key.

7. The WHMCS URL should be the URL to the frontend (client area), for example "http://demo.whmcs.com/" or "http://www.yourdomain.com/whmcs/" and the admin username & password the same as you use to login to the main admin area.

8. For the access key, you need to open up the configuration.php file for your WHMCS installation and add a line to it such as the one below:

$api_access_key = "abc123";

The abc123 in the above should be replaced with a random series of letters and numbers created by you, and that same value is what you'll need to enter into the Access Key field of the iWHMCS configuration screen.

9. Then simply click Save and the connection will be tested. If any of the details were entered incorrectly you'll receive an Access Denied (username/password failure) or Invalid Access Key error message and be returned to re-enter the details.

10. If all was correct, you'll be taken straight to the homepage overview.

Security PIN

The app offers a security Personal Identification Number (PIN) feature. When a PIN has been configured you will be prompted to enter it when starting or returning to the aWHMCS app, so that even if your device is lost, stolen or being used by friends/family, they cannot access your business data. To configure the PIN:

Edit Security PIN
  • From the Home screen, tap the options icon,
  • Tap Settings
  • Tap PIN code
  • Follow on on screen instructions to choose your 4 digit PIN and confirm it.

To change or remove the security PIN:

  • From the Home screen, tap the options icon,
  • Tap Settings
  • Tap PIN code
  • Enter your current PIN
  • Enter the new PIN and press OK to confirm, or tap Clear and the PIN protection will be removed.

Common Problems

The common error responses from the API can be found at API:Responses

Invalid IP

This error means the API Access Key has not been added successfully to the configuration.php file. Please refer to step 8 above. The $api_access_key line should go before the closing ?> tag.

No Server Response/Invalid URL

Seeing either the "No Server Response" or "Invalid URL" error suggests an empty or malformed response was received by the server. This is often caused by a blank space in user modifiable files. Please refer to Blank_Pages#Blank_Pages_Elsewhere for steps to resolve this error.

Access Denied

iWHMCS uses the API to communicate with your WHMCS installation. Therefore the Administrator Roles of staff using the app will require the "API Access" permission. To grant this permission:

  • Navigate to Configuration () > Admin Users or, prior to WHMCS 8.0, Setup > Staff Management > Administrator Roles.
  • Edit the staff member's role.
  • Check the API Access checkbox.
  • Click Save Changes.

iWHMCS features other than the home screen require the iWHMCS addon to be purchased

In order to view pages other than the app home screen it is necessary to purchase the iWHMCS addon for your main WHMCS licence. If you haven't done so already, this can be ordered by logging into our client area and selecting View Available Addons from the navigation bar.

If the addon has already been purchased, please ensure it is associated with the correct licence key. In our client area, navigate to Services > Licences & Services, click "View Details" next to your main WHMCS licence key, select the Addons tab, and ensure the iWHMCS addon is listed. If you're unsure which licence key you're using, navigate to Help > Licence Information inside your WHMCS installation's admin area.

Finally, remote licence checks are performed occasionally, so to have the purchase take immediate effect please force a remote licence check. To do this visit Help > Licence Information and click Force Licence Update. The action of loading the page will initiate a connection to our licensing server and update your local licence file.