Jump to content

Old products appearing on customer invoices


Recommended Posts

We're currently in the process of testing our WHMCS installation ready to go live. Everything's fine, except for one rather strange issue.

 

A customer is able to place an order for a single product, but when the customer invoice is sent through, a number of other products are placed on the invoice. By the dates underneath the products, these appear to be from old test orders from around a month ago. It's always the same set of three products, they aren't random.

 

When the invoice is "paid" (we're still in test mode) the customer has only the product they ordered on their account. The only issue is with the rogue products appearing on the invoice.

 

In effect, the customer is being billed for a product they didn't order, and aren't going to receive. I managed to remove one of them by deleting the product itself, and re-adding it manually. However, I can't do this with the other two, as they're in use by clients (we've already input our client database into WHMCS).

 

Is there any way of clearing out these products so they don't appear on customer bills?

 

Many thanks in advance :)

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

This sounds like you've moved the Setup > General Settings > Invoices tab > Invoice Starting # back to an invoice number which has already been used in your system. The invoice ID must always be unique, even if you've deleted the original invoice.

If you try and generate a new invoice with the same ID as a previous invoice you'll see this behaviour.

Link to comment
Share on other sites

Many thanks, John.

 

I'd already "hacked" my way out of the problem by deleting the contents of tblinvoiceitems in the database, but now I know what the underlying problem was, I can avoid it in future. When we go live, I'll likely set invoices to start at #1000 to ensure we're in clean territory.

 

Thanks for your help.

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