1. Home
  2. Docs
  3. WHMPress
  4. Getting Started
  5. Settings & Configuration

Settings & Configuration

 

Synchronizing WHMPress with WHMCS

Once you have successfully installed both the WHMPress WordPress plugin and the WHMPress Helper module, and completed the configuration under WCOM → Config, your WordPress website will automatically establish a secure connection with your WHMCS installation.

Automatic Synchronization

After entering your WHMCS URL and Authorization Token under WCOM → Config, click Save Settings and then click Check License Status.

Once the verification is successful:

  • Your WHMPress plugin will be securely connected to your WHMCS installation.
  • The plugin will automatically synchronize your WHMCS data, including products, pricing, product groups, currencies, and other required configuration settings.
  • No manual database configuration or database credentials are required.

Verify Synchronization

To verify that your website has been synchronized successfully:

  1. Log in to your WordPress Dashboard.
  2. Navigate to WHMPress → Sync.
  3. The Sync page displays the current synchronization status and confirms whether your WordPress website is successfully connected to your WHMCS installation.

You can also use this page to manually synchronize your WHMCS data whenever required by clicking the Sync Now button.


Automatic WHMCS Sync via Server Cron Job

If you would like WHMPress to keep your products, pricing, and other WHMCS data synchronized automatically, you can configure a server cron job.

Navigate to WHMPress → Sync, where you’ll find the required cron information.

Cron File Path

/home/test/public_html/demo/wp-content/plugins/whmpress/cron-sync.php

Cron Command

php /home/test/public_html/demo/wp-content/plugins/whmpress/cron-sync.php 

Example Cron Entries

Every 6 Hours

0 */6 * * * php /home/test/public_html/demo/wp-content/plugins/whmpress/cron-sync.php 

Every 12 Hours

0 */12 * * * php /home/test/public_html/demo/wp-content/plugins/whmpress/cron-sync.php 

Once Daily

0 0 * * * php /home/test/public_html/demo/wp-content/plugins/whmpress/cron-sync.php 

Note: Before configuring the cron job, make sure you have successfully completed the setup under WCOM → Config, including entering your WHMCS URL, Authorization Token, and verifying the connection by clicking Check License Status. The cron synchronization will only work after the plugin has been successfully connected to your WHMCS installation.

Once the cron job has been configured, your server will automatically execute the synchronization script at the scheduled interval, ensuring that your WordPress website always remains up to date with the latest data from your WHMCS installation.

Recommendation: We recommend running the synchronization every 6 or 12 hours, depending on how frequently your products, pricing, and configuration change.