Billing and support integration Cpanel
Billing and support integration Cpanel

Sometime for some reason we may need to remove billing and support integration in Cpanel. The purpose of the integration is to easily manage billing and support from CPanel particularly for provider who is using WHMCS as a hosting billing software.

For example you are allowing your developer to access Cpanel but you don’t want them to access your billing info in WHMCS.

The simplest step is just disable Single Sign On in the WHMCS members area in the billing site. But how about you want to mass disable completely the features form server.

To remove billing and support from cpanel, you can run below command;

cd /var/cpanel/users

for user in *; 
do /usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_knowledgebase; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_announcements; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_tickets; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_emails; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_downloads; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_product_details; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_shopping_cart_domain_register; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_invoices; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_upgrade; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_submit_ticket; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_shopping_cart_domain_transfer; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_profile; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_billing_info; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_knowledgebase; 
/usr/local/cpanel/bin/whmapi1 remove_integration_link version=1 user=$user app=WHMCS_clientarea_network_status;  
done

And of course you must have full access to the server.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.
Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock