Jump to content
  • 0

Services Is Not Suspended


Blesta Addons

Question

we have Suspend Services Days After Due  set to 1 day .

in cron , Suspend Services set start time to 00:00 .

invoice related due date is Mar 27, 2016 .

 

normally in Mar 28, 2016  at  00:00 the service should be suspended , that has not happen .

 

Task Last Ran: Mar 28, 2016 12:00:03 AM

 

what is wrong here ?  where i should look at it ?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hi,

 

I believe that the "Suspend Services Days After Due" set to 1 Day would effectively mean 1 day grace period to pay the invoice.

 

In that case:

 

Invoice due date : Mar 27, 2016

Grace period 1 day : Mar 28, 2016

Suspend Services Time is at 00:00

 

So, on the 29th 00:00, it should suspend the service.

 

Thanks.

Link to comment
Share on other sites

  • 0

You didn't mention any details on a service that should be suspended. What is it's due date? Is there an active unpaid invoice that the service belongs to?

 

A pending service must be at least 24 hours old to be suspendable if you have the setting Suspend Services Days After Due set to "1 day".

 

So if the cron runs on March 28, 2016 at 00:00 (midnight), then only services on or before March 27, 2016 00:00 could be suspended. If the service is due on March 27, 2016 00:01, it would not be suspended at that time.

Link to comment
Share on other sites

  • 0

we have found no service has been suspended . i give you two example

 

1 - service has expiration date in 26-3-2016 . normally it should be suspended 27-3-2016 if the related invoice was not paid .

2 - service has a expiration date lat mounth , but we change the due date invoice to +1mounth more, so if the client pay the invoice before the due date the service remain active , if related invoice was not paid before the due date , the service should be suspended in the due date invoice .

 

note all invoice was generated auto .

 

the new system has not suspended any service , and no inoice was generated .

 

we have run the cron in v2.5 manually and we found the mentioned services was suspended , and other invoice has been generated .

 

the cron in v3 is running every 5 minute .

 

should i look to somwhere to check if something is needed or missed .

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