Difference between revisions of "Testing WHMCS"

From WHMCS Documentation

(Disabling Outgoing Emails)
Line 11: Line 11:
  
 
==Disabling Outgoing Emails==
 
==Disabling Outgoing Emails==
 
 
[[File:disable-emails.png|200px|thumb|right|Disable Email Toggle]] When testing, it is desirable in most cases (unless the test is specific to receiving emails) to prevent WHMCS from sending emails. To achieve this, navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > Mail tab''' and toggle the  Disable Email Sending option to "On".
 
[[File:disable-emails.png|200px|thumb|right|Disable Email Toggle]] When testing, it is desirable in most cases (unless the test is specific to receiving emails) to prevent WHMCS from sending emails. To achieve this, navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > Mail tab''' and toggle the  Disable Email Sending option to "On".
  
Line 17: Line 16:
 
Disabling emails is a feature available in WHMCS 8.1 or above.  
 
Disabling emails is a feature available in WHMCS 8.1 or above.  
 
</div>
 
</div>
 +
 +
==Placing Orders==
 +
Once you have configured your required modules in test mode, as detailed above, you will want to place test orders. To place test orders within the admin user interface, you will want to first create a client/account. Details on how to do this can be found in the [https://help.whmcs.com/m/installation/l/682009-manually-adding-a-client/# Manually Adding a Client] guide.

Revision as of 14:56, 11 January 2021

This page details how to test a WHMCS installation before going live, then resetting it ready for production use.

Testing Modules

WHMCS shipped registrar and gateway modules come with, where possible, a test mode or the ability to use a test environment, that can be utilised to test transactions and domain orders. Referring to our documentation for the module being used will detail how test mode can be used. For example, with the eNom registrar module, this is detailed here: https://docs.whmcs.com/Enom#Test_Mode

An example of enabling test mode in the eNom module can be seen here:

Enom-test-mode.png

When testing provisioning modules, there is no test mode required, however, it is advisable that all actions be reversed, as not only does this tidy things up, it tests that actions as well. An example of this would be provisioning a cPanel account on a remote server, then using the Terminate module command button to remove it.

Disabling Outgoing Emails

Disable Email Toggle
When testing, it is desirable in most cases (unless the test is specific to receiving emails) to prevent WHMCS from sending emails. To achieve this, navigate to Configuration () > System Settings > Mail tab and toggle the Disable Email Sending option to "On".

Disabling emails is a feature available in WHMCS 8.1 or above.

Placing Orders

Once you have configured your required modules in test mode, as detailed above, you will want to place test orders. To place test orders within the admin user interface, you will want to first create a client/account. Details on how to do this can be found in the Manually Adding a Client guide.