Currently WHMCS does not process credits until AddTransaction or AddInvoicePayment completes - meaning there is currently no way to hook into WHMCS and determine whether or not a transaction will result in a credit being applied to a client or not.
I propose that either WHMCS look into adding a new hook specifically for Pre/Post account credit, or that they modify the existing AddTransaction or AddInvoicePayment hooks to incorporate whether or not client credit is added.
3 Comments
Login to post a comment.