Difference between revisions of "AWHMCS Android App"

From WHMCS Documentation

m
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
aWHMCS is the Official Android App for WHMCS.
+
<div class="docs-alert-warning">
 +
<span class="title">Acceptable Password Characters</span><br />
 +
Don't use the following characters in an administrator password: <tt>& " ' < ></tt> (ampersand, double quotes, single quotes, less than or greater than). Any other symbols (for example, <tt># ! £ $ % ^ * ( ) . , /</tt>) are perfectly acceptable.
 +
</div>
  
The price of aWHMCS is a $34.95 one-off charge which allows as many instances of aWHMCS to be used by as many different staff on as many different phones as you wish (the same licensing scheme as with all our mobile editions).
+
aWHMCS is the Official Android App for WHMCS. For the iOS App, see [[IWHMCS iPhone App]].
  
Please visit http://www.whmcs.com/androidapp.php for more information.
+
The app is available for either $2.99 monthly or $29.99 per year. After you purchase a license, all of your staff can use aWHMCS in conjunction with your WHMCS installation on any of their Android devices (the same licensing scheme as with all our mobile editions).
 +
 
 +
For more information, see the [https://www.whmcs.com/mobile-apps/ aWHMCS website].
  
 
==Setup Instructions==
 
==Setup Instructions==
  
1. To begin with (if you haven't already done so), you will need to order the Android App addon from our client area. It's available as an addon to a license and can be ordered by logging into our client area @ [http://www.whmcs.com/members/clientarea.php www.whmcs.com/members/clientarea.php] and selecting "View Available Addons" from the navigation bar.
+
To set up the app:
 +
 
 +
# If you haven't already done so, order the ''Android App'' addon from our client area. It's available as an addon to a license and you can order it by logging in to our [http://www.whmcs.com/members/clientarea.php Client Area] and selecting '''View Available Addons''' from the navigation bar. When you pay, we will instantly activate the addon.
 +
# Perform a local key update by going to '''Help > [[License Information]]''' inside your WHMCS installation and clicking '''Force License Update'''.
 +
# Download the aWHMCS App. You can download this from the Google Play Store [https://play.google.com/store/apps/details?id=com.whmcs.awhmcs2 by searching for "aWHMCS"].
 +
# Find and open the app on your Android device. The first time that you open the app, you will see a configuration screen to fill out your WHMCS connection details.
 +
#* For the URL, use the URL to your WHMCS directory without a trailing slash. For example, if you installed WHMCS at <tt><nowiki>http://demo.whmcs.com/</nowiki></tt> then the URL setting would be <tt><nowiki>http://demo.whmcs.com</nowiki></tt> and the admin username and password would be the same as your login for the main admin area. Remember that your Admin account role needs to have API Access permission.
 +
#* For the access key, open the <tt>configuration.php</tt> file for your WHMCS installation and add a line to it like the one below:<div class="source-cli">$api_access_key = "abc123";</div>Replace <tt>abc123</tt> with a random series of letters and numbers. You will also need to enter that value in the Access Key field on your phone.
 +
# Click '''Save''' and the system will test the connection. If you entered any of the details incorrectly, you'll receive an ''Access Denied'' (username and password failure) or ''Invalid Access Key'' error message. Otherwise, the home page will appear and you will be able to start using the app.
  
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 > Check for Updates''' inside your WHMCS installation to have it take effect.
+
===Security PIN===
  
3. Now, you're ready to download the aWHMCS App - you can download this directly from us @ http://www.whmcs.com/members/dl.php?type=d&id=55 or from the Android App Store by searching for "aWHMCS Official WHMCS App" - http://www.androidpit.com/en/android/market/apps/app/com.whmcs.awhmcs/aWHMCS-Official-WHMCS-App
+
The app offers a security Personal Identification Number (PIN) feature. When you configure a PIN, you will need to enter it when starting or returning to the aWHMCS app. If your device is lost, stolen, or friends or family use it, they won't be able to access your business data.
  
4. Now locate and open the app on your Android device
+
[[File:android_pin.png|thumb|Edit Security PIN]]
  
5. The first time you start the app, you'll be taken straight to the configuration screen for you to input your WHMCS connection details.  These consist of your WHMCS URL, admin username & password and an access key.
+
To configure the PIN:
  
6. The domain should be the URL to your main site url , for example if installed @  "http://demo.whmcs.com/" then the Domain setting would be "demo.whmcs.com" and the Path would be the directory for the client area so if installed in the root directory, the path would be "/" and the admin username & password the same as you use to login to the main admin area.
+
#From the '''Home''' screen, tap the '''options''' icon.
 +
#Tap '''Settings'''.
 +
#Tap '''PIN code'''.
 +
#Follow the onscreen instructions to choose your four-digit PIN and confirm it.
  
If installed  @ "http://yourdomain.com/whmcs/" then the domain setting would be "yourdomain.com" and the Path setting would be the directory for the client area  "/whmcs/" and the admin username & password the same as you use to login to the main admin area.
+
To change or remove the security PIN:
  
Please note that your Admin account role needs to have API Access permission.
+
#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''' to remove the PIN protection.
  
7. The access key is slightly more complicated. For this, you need to open up the configuration.php file for your WHMCS installation and add a line to it such as the one below:
+
==Using the App==
 +
Don't forget to press the menu button on your handset to access extra options. Almost every screen has this ability.
 +
If your handset does not have an options button, an icon consisting of three dots will appear in the top corner instead.
  
$api_access_key = "abc123";
+
[[File:Android ss2.png]]
  
The '''abc123''' in the above should be replaced with a random series of letters and numbers, you can think of it like a second password, and that same value is what you'll need to enter into the Access Key field on your phone
+
==Common Problems==
  
8. 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.
+
===Invalid IP===
 +
An ''Invalid IP'' error indicates that you didn't add the API Access Key to the <tt>configuration.php</tt> file successfully. For help with this, see the instructions above. The <tt>$api_access_key</tt> line should go before the closing <tt>?></tt> tag.
  
9. If all was correct, you'll be taken to the home screen and can begin using the app.
+
===Access Denied===
 +
iWHMCS uses the API to communicate with your WHMCS installation. The Administrator Roles of staff using the app will require the "API Access" permission.  
  
 +
To grant this permission:
 +
#Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > [[Administrator Users|Admin Users]]''' or, prior to WHMCS 8.0, '''Setup > Staff Management > Administrator Roles'''.
 +
#Edit the role to which your staff member belongs.
 +
#Check the '''API Access''' checkbox.
 +
#Click '''Save Changes'''.
  
==Common Problems==
+
===404 URL Not Found===
===Invalid IP===
+
A ''Not Found'' error indicates that the system can't find the <tt>/includes/api.php</tt> file from the URL that you entered into the app's connection settings.
This error means the API Access Key has not been added successfully to the configuration.php file. Please refer to step 7 above. The $api_access_key line should go before the closing ?> tag.
+
 
 +
Make sure that the URL to your WHMCS client area is correct. It should be the same as the URL of your WHMCS Client Area. WHMCS will then navigate up the folder tree from this URL to find the <tt>api.php</tt> file.
 +
 
 +
A common mistake is to enter the Administration Area URL. The app '''requires''' the Client Area URL instead.
 +
 
 +
===aWHMCS features other than the home screen require the aWHMCS addon to be purchased===
 +
In order to view pages other than the app home screen, you must purchase the aWHMCS addon for your main WHMCS license. If you haven't done so already, log in to our [http://www.whmcs.com/members client area] and select '''View Available Addons''' from the navigation bar.
 +
 
 +
If you have already purchased the addon, make sure you associated it with the correct license key:
 +
 
 +
# In your account in WHMCS's members area, navigate to '''Services > Licences & Services'''.
 +
# Click '''View Details''' next to your main WHMCS license key.
 +
# Select the '''Addons''' tab.
 +
# Check whether the list includes the aWHMCS addon.  
 +
 
 +
If you're unsure which license key you're using, navigate to '''Help > [[License Information]]''' inside your WHMCS installation's admin area.
 +
 
 +
To ensure the purchase takes immediate effect, 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 license file.

Latest revision as of 15:01, 19 May 2023

Acceptable Password Characters
Don't use the following characters in an administrator password: & " ' < > (ampersand, double quotes, single quotes, less than or greater than). Any other symbols (for example, # ! £ $ % ^ * ( ) . , /) are perfectly acceptable.

aWHMCS is the Official Android App for WHMCS. For the iOS App, see IWHMCS iPhone App.

The app is available for either $2.99 monthly or $29.99 per year. After you purchase a license, all of your staff can use aWHMCS in conjunction with your WHMCS installation on any of their Android devices (the same licensing scheme as with all our mobile editions).

For more information, see the aWHMCS website.

Setup Instructions

To set up the app:

  1. If you haven't already done so, order the Android App addon from our client area. It's available as an addon to a license and you can order it by logging in to our Client Area and selecting View Available Addons from the navigation bar. When you pay, we will instantly activate the addon.
  2. Perform a local key update by going to Help > License Information inside your WHMCS installation and clicking Force License Update.
  3. Download the aWHMCS App. You can download this from the Google Play Store by searching for "aWHMCS".
  4. Find and open the app on your Android device. The first time that you open the app, you will see a configuration screen to fill out your WHMCS connection details.
    • For the URL, use the URL to your WHMCS directory without a trailing slash. For example, if you installed WHMCS at http://demo.whmcs.com/ then the URL setting would be http://demo.whmcs.com and the admin username and password would be the same as your login for the main admin area. Remember that your Admin account role needs to have API Access permission.
    • For the access key, open the configuration.php file for your WHMCS installation and add a line to it like the one below:
      $api_access_key = "abc123";
      Replace abc123 with a random series of letters and numbers. You will also need to enter that value in the Access Key field on your phone.
  5. Click Save and the system will test the connection. If you entered any of the details incorrectly, you'll receive an Access Denied (username and password failure) or Invalid Access Key error message. Otherwise, the home page will appear and you will be able to start using the app.

Security PIN

The app offers a security Personal Identification Number (PIN) feature. When you configure a PIN, you will need to enter it when starting or returning to the aWHMCS app. If your device is lost, stolen, or friends or family use it, they won't be able to access your business data.

Edit Security PIN

To configure the PIN:

  1. From the Home screen, tap the options icon.
  2. Tap Settings.
  3. Tap PIN code.
  4. Follow the onscreen instructions to choose your four-digit PIN and confirm it.

To change or remove the security PIN:

  1. From the Home screen, tap the options icon.
  2. Tap Settings.
  3. Tap PIN code.
  4. Enter your current PIN.
  5. Enter the new PIN and press OK to confirm, or tap Clear to remove the PIN protection.

Using the App

Don't forget to press the menu button on your handset to access extra options. Almost every screen has this ability. If your handset does not have an options button, an icon consisting of three dots will appear in the top corner instead.

Android ss2.png

Common Problems

Invalid IP

An Invalid IP error indicates that you didn't add the API Access Key to the configuration.php file successfully. For help with this, see the instructions above. The $api_access_key line should go before the closing ?> tag.

Access Denied

iWHMCS uses the API to communicate with your WHMCS installation. The Administrator Roles of staff using the app will require the "API Access" permission.

To grant this permission:

  1. Navigate to Configuration () > Admin Users or, prior to WHMCS 8.0, Setup > Staff Management > Administrator Roles.
  2. Edit the role to which your staff member belongs.
  3. Check the API Access checkbox.
  4. Click Save Changes.

404 URL Not Found

A Not Found error indicates that the system can't find the /includes/api.php file from the URL that you entered into the app's connection settings.

Make sure that the URL to your WHMCS client area is correct. It should be the same as the URL of your WHMCS Client Area. WHMCS will then navigate up the folder tree from this URL to find the api.php file.

A common mistake is to enter the Administration Area URL. The app requires the Client Area URL instead.

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

In order to view pages other than the app home screen, you must purchase the aWHMCS addon for your main WHMCS license. If you haven't done so already, log in to our client area and select View Available Addons from the navigation bar.

If you have already purchased the addon, make sure you associated it with the correct license key:

  1. In your account in WHMCS's members area, navigate to Services > Licences & Services.
  2. Click View Details next to your main WHMCS license key.
  3. Select the Addons tab.
  4. Check whether the list includes the aWHMCS addon.

If you're unsure which license key you're using, navigate to Help > License Information inside your WHMCS installation's admin area.

To ensure the purchase takes immediate effect, 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 license file.