WHMCS AddOn
Introduction
Given the case installing Aflexi WHMCS plugin and cPanel plugin in your environment, Aflexi Addon in WHMCS supports the seamless experience between cPanel, WHMCS, and Aflexi CDN.
Manual Synchronization (All CDN Packages & Users)

- This page is accessible via [Utilities]->[Addon Modules]->[Aflexi Cdn]
- This page shows a table shows a list of products, each with a checkbox to indicate whether the product has been CDN enabled.
- Tick or untick the checkbox to enable or disable CDN.
- Click [Save Settings] to synchronize the user (publisher) account and package to Aflexi.
Automated Synchronization (Per CDN User/Publisher)
| When a payment is made to a CDN enabled product | The user (publisher) account and package is synchronized to Aflexi |
| When user email or name is changed | The latest email or name is synchronized to Aflexi |
| When a user account is closed or deleted | User account in Aflexi is suspended |
| When a invoice is being refunded, cancelled or set to unpaid | User account in Aflexi is suspended |
NOTE: Changing the statuses from a bulk operation or directly from the status dropdown menu will not trigger the automated synchronization.
Show Synchronized Users

- This page is accessible via [Utilities]->[Addon Modules]->[Aflexi Cdn]->[Show Synchronized Publishers]
- The purpose of this page is to show users accounts that had been synchronized to Aflexi, and their Aflexi password (as of the time they are being synced) and package. If publisher changes the password in Aflexi, it will not be reflected here.
Charging for Aflexi CDN AddOn
- By default, the addon for Aflexi CDN is configured as a free product.
- If you wish to charge for it, go to [Setup]->[Product Addons], and configure the addon named “Aflexi CDN”. Change the “Billing Cycle” and the “Pricing” fields to fit your requirement.
Notes
- Aflexi package is synchronized by the webhosting package name (if available) or product name specified in the module settings under the WHMCS product.
- Aflexi user account is synchronized by the WHMCS's orders username. If username doesn't exist, email address will be taken in this case.
- Free products (and the users) are not synchronized.
- Each package created in Aflexi through the synchronization process.
