Credit Invoice Add-On

 Credit Invoice Addon
 Type: Free Other - Supported Versions: v4.0 and later


One of the things I have noticed in our business is that some clients try to pay invoices using the "Add Funds" option. As it works currently, this creates a credit on their account, but it is only used for future invoices.

I have created this small hack to check clients (with a credit balance) for unpaid invoices. If there are any, the credit is applied to them (in order from the oldest invoice to the latest).

Just upload the creditinvoices.php into your WHMCS folder and set a cron to call it as frequently as you wish. Personally, I would set it to run every 30 minutes.
 
 
Add Crontab to run  creditinvoices.php  every 30 minutes.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Affiliate landing page modification

    WHMCS MOD - Multiple Affiliate Landing Pages MOD Created By D9 Hosting -...

Clientarea POPUP Module

CLIENTAREA POPUPSA popup window will appear on the clientarea home page if the clienthas any...

Errorpages

Error Pages Installation...

Spellchecker in admin area

Adding a SpellChecker to WHMCS I figured many people could use this feature as the spell...