ServWise.com Posted September 30, 2011 Share Posted September 30, 2011 (WHMCS 4.5.2) Recently we have had to manually mark some invoices as paid via the options tab of the invoice (change of tax meant that paypal subs payments were not fully paying the bill and so we added a discount to make the total match the payment and manually set the invoice to paid.). However this does not seem to actually set the invoice to paid, it showed as paid in the invoice and invoice list but all the cron scripts treated it as unpaid so eventually suspending the clients hosting and charging them late payments as if they had not paid. The only way we could actually set the invoice to paid (whatever that is) was to set it back to unpaid and then make a 0 amount payment via the payment tab. This had the effect of unsuspending them etc. The same goes for new orders, setting the invoice to paid does not set the order to paid, only setting back to unpaid and making a payment via the payment tab will set it the order to paid properly. I think this is wrong? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 2, 2011 WHMCS CEO Share Posted October 2, 2011 Yeh this is correct actually. You have to actually mark an invoice paid in order to trigger the on payment actions that normally occur for that invoice. Marking paid means zeroing the balance, by applying a payment. If you edit an invoice to a lesser amount when an invoice has already had a transaction applied, then simplest option there is to remove and re-add the original transaction. Just changing the status is there for when you don't want to invoke actions upon doing it, and is not the same as actually marking an invoice paid. Matt 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 3, 2011 Share Posted October 3, 2011 Manually changing the status of an item, is for correcting mistakes. Applying a payment to "pay" the invoice (albeit in your case a 0 amount) is for triggering the usual "when paid" actions. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.