Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Reseller's Account Suspension

Discussion in 'Workarounds and Optimization' started by Popetrix, Aug 28, 2015.

  1. Popetrix

    Popetrix Registered

    Joined:
    Aug 17, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lubbock TX
    cPanel Access Level:
    Root Administrator
    Hi,

    I am using WHMCS to manage my customers and to interact with cPanel/WHM. Before, when a reseller owed me money and didn't pay on time, WHMCS would send the "Suspend" command to cPanel/WHM and cPanel/WHM would suspend the reseller's account AND whatever sub-accounts he/she might had. In that way the reseller was forced to pay quickly because their customers would put pressure on the reseller.

    For some reason, after a while, when WHMCS sends the "Suspend" command cPanel/WHM will ONLY suspend the reseller's account and not the accounts under the reseller. I know I can go to the reseller --> view reseller usage and manage account status and manually suspend the reseller's sub-accounts but it is time consuming. I want it to be a single command issue and all accounts under the reseller (including the reseller) to be suspended.

    I mean, if the reseller's customers are down because the reseller is not paying (and they are paying the reseller) it will put pressure on the reseller to pay in time.

    Is there a fix to this? I talked to WHMCS and they told me that the "Suspend" command WHMCS sends to cpanel/WHM hasn't change through updates.

    Thanks,

    Francisco
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You could utilize the suspendreseller WHM API 1 function as documented at:

    WHM API 1 - suspendreseller

    Per it's documentation:

    This function also suspends all of the cPanel accounts that the reseller owns.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Popetrix

    Popetrix Registered

    Joined:
    Aug 17, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lubbock TX
    cPanel Access Level:
    Root Administrator
    Sorry. I am not a developer so this will sound stupid but, How do I tell or instruct WHMCS to do or use that API?

    Thanks,

    Francisco
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Basically, you can't.
    I'm not aware of this ever being the case. It might bring pressure for you to get paid as you suggest, but you'd also make that Reseller and you, look bad if you did this.

    My 2.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice