Jump to content

[NOT A BUG] Invoices manually set to paid show as paid but aren't treated as paid.


Recommended Posts

(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?

Link to comment
Share on other sites

  • WHMCS CEO

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

Link to comment
Share on other sites

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