Jump to content

unable to remove credits and invoices dont raise on monthly subscriptions intermittently


Recommended Posts

Hi Everyone,

I have an issue where every month I need to go in and check if there are invoices that have not been automatically raised.

In those cases I have to change the dates for next due and let the system catchup.

 

This time around I had a invoice that was not created on time and then there was a credit applied.

They had paid all their subscriptions to date and there should have been no credit. Yet WHMCS created a credit and applied it to the invoice.

I raised a ticket with WHCMS and they just closed the ticket which I have reopened. But seeing if I can get some actual help here on why this would occur and how do i fix it.

 

Link to comment
Share on other sites

  • 2 months later...
On 6/27/2026 at 10:27 AM, Rajan Maharaj said:

Hi Everyone,

I have an issue where every month I need to go in and check if there are invoices that have not been automatically raised.

In those cases I have to change the dates for next due and let the system catchup.

 

 

This time around I had a invoice that was not created on time and then there was a credit applied.

 

They had paid all their subscriptions to date and there should have been no credit. Yet WHMCS created a credit and applied it to the invoice. geometry dash

I raised a ticket with WHCMS and they just closed the ticket which I have reopened. But seeing if I can get some actual help here on why this would occur and how do i fix it.

 

I think you should check the WHMCS cron logs first, since missed invoice generation is likely related to the cron not running correctly. For the unexpected credit, check the client’s transaction/payment history—if a payment was recorded before the invoice was generated, WHMCS may have temporarily treated it as account credit and later applied it to the invoice. Fixing the cron issue should prevent this from recurring.

Link to comment
Share on other sites

  • 2 weeks later...

You should start by checking the WHMCS cron logs for the months where the invoices were missed, since a failed or delayed cron could explain the issue. Then check the client’s transaction and credit history to see what created the unexpected credit and when it was applied.

Link to comment
Share on other sites

  • 1 month later...

@Rajan Maharaj the two symptoms you describe (an invoice that doesn't generate on time, then a credit nobody expected getting applied to it) very often have the same root cause, so I'd look at them together rather than as two bugs.

1. Check the client's Log tab around the month that went wrong. Every time an invoice is marked paid, WHMCS moves the service's Next Due Date forward one cycle. If the same invoice got marked paid twice (a subscription payment plus a manual card payment, a gateway callback arriving twice, or an admin reactivating and re-paying it), the Next Due Date jumps two months. The system then has nothing to invoice for the "skipped" month, which looks exactly like "the invoice didn't raise". WHMCS has a help article on this: "Why did a service Next Due Date move forward several billing cycles?"

2. Look at where the credit came from. Go to the client's Summary > Manage Credits (and the Transactions tab) and find the entry that created it. If it's a gateway transaction landing on an invoice that was already paid, or arriving before the renewal invoice existed, that's your duplicate payment. With "monthly subscriptions" I'd check the gateway side first: a recurring subscription at PayPal/Stripe still running alongside the client paying invoices by hand is the classic way to get both effects.

3. Rule out the boring causes on the affected services: Status must be Active (with Continuous Invoice Generation on, only Active is invoiced), no pending cancellation request, Next Due Date within your Invoice Generation days (Automation Settings), and no deleted invoice for that due date (an invoice deleted by an admin won't be regenerated automatically).

4. Confirm the cron really finishes. Automation Status should be green, and System Logs should show "Cron Job: Completed" at the end of every day. If the daily run times out halfway on some days, the invoicing task can be the one that doesn't run.

If the Log tab shows a double "marked paid" for that service, you've found it. Cancel the duplicate subscription at the gateway, refund or keep the extra payment as credit by agreement with the client, and set the Next Due Date back to the date it should be so the next renewal generates normally.

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