Jump to content

Suspension Fee


Recommended Posts

Lots of webhosts are starting to charge a "Suspension fee" when a user's account is suspended.

 

The API docs on the suspend function are pretty pathetic - it can only return the hosting account ID.

 

I also don't see any docs in the Invoice API for a way to add a charge to an existing invoice.

 

When WHMCS auto suspends an account for late payment, I'd like to tack on a $10 "suspension fee" to the overdue invoice. Doesnt look like thats possible, though.

 

Would these be possible additions? Thanks!

Link to comment
Share on other sites

You can use the Late Payment Fee option to add a late payment on the same number of days you suspend accounts to achieve this.

 

Goto Setup --> General Settings --> Invoices (Tab) and set the options in their in relation to percentage/amount days etc.

Thanks for helping!

 

I already charge a 10% late fee after the 2nd overdue day. Usually, most clients pay at this point. But after 5 days, the account is suspended. I have automatic un-suspensions off so I can manually verify every suspended account is in good standing. As such, I want to add a $10 un-suspension fee.

Link to comment
Share on other sites

If you manually suspend accounts then the easiest way would be to forget about the automation side and apply a $10 manual entry to the invoice at the point you hit the susend module command.

 

Thats how I do it now. I was just hoping there was a way to automate adding the fee so I could automate the suspensions.

Link to comment
Share on other sites

Thats how I do it now. I was just hoping there was a way to automate adding the fee so I could automate the suspensions.

 

Hi

 

There is nothing built in to automate this at the moment - you would have to use the hooks to crete a hook for each time suspend is used to generate an invoice through a function script.

 

The hook AfterModuleSuspend is the one to use.

 

They are available at http://wiki.whmcs.com/Hooks

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated