Jump to content
  • 0

Service suspended a day before invoice due


SSy

Question

12 answers to this question

Recommended Posts

  • 0

I have checked the logs and it appears an invoice was created on the 25th of Feb instead of the 28th which is when the payment is due. How do I fix this bug in the date? Our server experienced a crash recently so it is possible something got messed up in that.

Link to comment
Share on other sites

  • 0

Further investigation indicates this:

1) All previous invoices were created on the same date: 23rd of the month.

2) All previous invoices stated the due date was on the 28th of the month

3) This last one magically shifted to the 25th of the month for the due date.

4) The setting in the control panel says "Invoice Days Before Renewal" = 5 days

Therefore for some reason the system is suddenly for some reason making the due date 2 days after the invoice for some reason. Any advice?

Link to comment
Share on other sites

  • 0
17 hours ago, SSy said:

3) This last one magically shifted to the 25th of the month for the due date

Not sure how that could happen. Either it was manually changed, or your database crash affected this somehow? Odd. That would explain the suspension though, if that was the one.

Invoice due dates are a company and client group setting. Check your client group to make sure that it's not overwriting the option with 2 days.

Link to comment
Share on other sites

  • 0
6 hours ago, SSy said:

Well I've updated it in the company settings and ensured that the client group uses the company settings. It still has not fixed. As I am paying for the software and cannot locate the issue, please advise.

If services are suspended a day before the invoice is due, when are they suppose to be suspended? On the same day they are due? That's the earliest setting I believe. If so, it may be a UTC date conversion issue, where your cron happens to run at a time where it is seen as the same day.

We've made some changes to the way dates are handled in v4, to correct similar issues. I'd suggest testing on v4 to see if it's an issue there. If you're suspending on the "same day" the invoice is due, I suggest moving that value out by 1 day, which should accomplish what you're after for the moment.

Link to comment
Share on other sites

  • 0

This is what my settings page now looks like.

Based on this, my understanding is as follows:

1) If a service started on January 4th, it will renew on February 4th and March 4th assuming it is monthly billing.

2) They will be sent an invoice on the 2nd of March, and that invoice in the blesta panel will say it is due on the 4th but invoiced on the 2nd.

3) If they fail to pay by the 11th, their service will be suspended.

Yes?

blesta.jpg

Link to comment
Share on other sites

  • 0
17 hours ago, SSy said:

1) If a service started on January 4th, it will renew on February 4th and March 4th assuming it is monthly billing.

Generally yes, but this is not always the case becauseĀ +1 month isn't always the same day the next month. Consider a service that was added on Jan 31, there is no Feb 31.

17 hours ago, SSy said:

2) They will be sent an invoice on the 2nd of March, and that invoice in the blesta panel will say it is due on the 4th but invoiced on the 2nd.

The renew date is moved forward when a service is invoiced.. so, the invoice in your case will always be generated 2 days before the next renew date, and due on the renew date, and then the renew date will be pushed forward +1 month, or whatever the term and period designate.

17 hours ago, SSy said:

3) If they fail to pay by the 11th, their service will be suspended.

Yes, 7 days after the invoice is due per your setting.

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
Answer this question...

×   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.

Loading...
×
×
  • Create New...