Jump to content
  • 0

Testing Suspension Of Service: Hard To Understand


serge

Question

For test purpose, I was shortening the duration of package I will sell.

1 day product duration

I wanted to check how will happen the service suspension if the service is not renewed(paid) for the new period.


at /settings/company/billing/invoices/

I had this parameters:
-----------------------
Invoice Days Before Renewal: 5
Suspend Services Days After Due:1


I know the invoice should be created 5 days in advance, when my product duration time is only one day (but because we can not have different "Invoice Days Before Renewal" depending of package, I was letting 5 days like above, as it could be more better to send invoice 5 days before product expiration for most of my other package.

So at the service activation (few mins after order was created & paid), I was checking Table service & date_renews column, and date_renews was well at day+1 of activation.

Today at J+2 when no new invoice was paid for renew this service, I can see date_renews is at day+7 of service activation and date_last_renewed is at day+6. (so it's date in future)
--------

So I'm hard to understand, it's a bug or what do that mean?
 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Thxs, yes I know.

 

My concern is to understand why in above case I said:

 

- date_renews from J+1 just after service activation switch after to J day+7    when I think it's should stay at J+1?

- date_last_renewed is at day+6  when I think it's should be empty ?  or what really mean this field?

Link to comment
Share on other sites

  • 0

thxs for this idea but I really need to check again my service table in db tomorrow.

 

Today (2015/02/01) I saw service was well suspended at J+1 as expected, but I found strange, it's display such info in client area:

 

Renew Date:Feb 06, 2015

------

Next Invoice: Feb 02, 2015

-----------

 

The next invoice date is OK, but Renew Date have for me zero logic for a 1 day long service, ordered/activated one day before.

 

if a service is sell for a duration inferior of "Invoice Days Before Renewal", like I did:

 

package/service duration sell: 1 day

Invoice Days Before Renewal: 5 day

 

I think in Blesta, it miss a conditional formula for if "package/service duration"  is inferior to "Invoice Days Before Renewal" to use in place "package/service duration sell" as the "Invoice Days Before Renewal:"

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