Where did you place the .lic file you received when you bought the license? Could you try and recycle the app pool for the website. You can verify what domains is licensed in the Tea Commerce section of Umbraco and then "Licenses"
I have two domains on one host with two licenses in the same "bin" folder. The license verified in TeaCommerce "Check your license" Section. I tried to recycle the app pool.. nothing..
And you are testing on your live domain? Could you try and write here what domains you boght a license for and then what your hostname is for the site you are testing?
Try update to Tea Commerce 1.4.4.4 first of all. And if that doesnt fix it - the reason might be that there is a url referrer - because then Tea Commerce check againts that domain name to be secure for cross site license "hack".
It does support sub domains when you buy a license. You just download the package and install as normal - it will update for you. No breaking changes between 1.4.4.2 and 1.4.4.4. The url referrer is if you make a post request from non.licenseddomain.com to licensed.domain.com - then it will use the non.licenseddomain.com and check that. So its just to prevent people for cheating. Its really weird it can load the license but says the domain isnt licensed.
As stated different place on the website and when you install/upgrade Tea Commerce - you cant upgrade from 1.x to 2. There has been major API and DB changes so it cant be an automated process. That said - you can of course change the DB layout to match 2.0 and then implement the new API methods in your webshop. But it will take some time of course :)
I upgraded umbraco to 4.11.6 & Tea Commerce to 1.4.4.4 as you told me to do and still I get the same error. I mean the first error when I try to remove the order lines with the command -> TeaCommerce.Base.RemoveAllOrderLines(); Same error -> teacommerceerror001 - No more orders available - Delete old orders or buy a license for Tea Commerce at - [email protected] or http://www.teacommerce.net
But I have a license, even two, they are in the same bin folder.
Please help me to solve this problem, I'm really stressed about it ..
I see. Could you send us an email to info at teacommerce.net with your contact details. I will then send you a build that has the bug fix about the licensing.
Update you sent me did not work, we still get the error, and customers are still unable to buy products in some cases. Respectable amount of customers that come from domain ".org" can't pay. I collected information about customers having this problem the ip, domain, user-agent, referrer, you can download the excel from this link.
I don't think the problem is on customers machine. I think the problem is your domain license validation.
We have two licenses stored in one bin folder, on site with extension ".co.il" The second site with ".org" extension pointing to ".co.il" So we have two domain but one ftp storage..
The site with the extension ".co.il" functioning as he should, because in his bin folder we store two licenses. However, the site with the extension ".org" is not functioning as it should, he has no "bin" folder because he points to the second site with ".co.il" extension.
I think you just need to make some changes in license checking.. Please come back to me as soon as possible with a solution, I do not know what to do, it takes too much time.
This is the line of code that fetches the host in Tea Commerce and use that to validate the license: string host = HttpContext.Current.Request.UrlReferrer != null && HttpContext.Current.Request.Form.HasKeys() ? HttpContext.Current.Request.UrlReferrer.Host : HttpContext.Current.Request.Url.Host;
So if there is a UrlReferrer and there are form data posted - then that host name is used. Can you think of any case where that happens in your shop? This license check is for security reasons so you cant have one domain licensed and then used 100 other domains to post to one webshop url that is licensed.
Your answer does not help us, we do not know what to do. Our client is going to explode, it takes us too long to solve the problem. Please leave a phone number that we can contact you as soon as possible. Thanks.
TeaCommerceerror001 - No more orders available
I have licence, using umbraco v 4.7.2 (Assembly version: 1.0.4500.21031) and Tea Commerce 1.4.4.2
I'm trying to remove all the order lines:
TeaCommerce.Base.RemoveAllOrderLines();
I get this error:
teacommerceerror001 - No more orders available - Delete old orders or buy a license for Tea Commerce at - [email protected] or http://www.teacommerce.net
What can it be?
Hi Nonacc
Where did you place the .lic file you received when you bought the license? Could you try and recycle the app pool for the website. You can verify what domains is licensed in the Tea Commerce section of Umbraco and then "Licenses"
Kind regards
Anders
I have two domains on one host with two licenses in the same "bin" folder.
The license verified in TeaCommerce "Check your license" Section.
I tried to recycle the app pool.. nothing..
Thanks.
And you are testing on your live domain? Could you try and write here what domains you boght a license for and then what your hostname is for the site you are testing?
Kind regards
Anders
live.
license for: goeco.co.il and goeco.org
host: www.goeco.co.il and www.goeco.org
Thanks.
Try update to Tea Commerce 1.4.4.4 first of all. And if that doesnt fix it - the reason might be that there is a url referrer - because then Tea Commerce check againts that domain name to be secure for cross site license "hack".
Kind regards
Anders
Url referrer ? It does not support sub domains?
I can update without fear that something else will go wrong?
How do I update? I just copy the new bin files?
Thanks.
It does support sub domains when you buy a license. You just download the package and install as normal - it will update for you. No breaking changes between 1.4.4.2 and 1.4.4.4. The url referrer is if you make a post request from non.licenseddomain.com to licensed.domain.com - then it will use the non.licenseddomain.com and check that. So its just to prevent people for cheating. Its really weird it can load the license but says the domain isnt licensed.
Kind regards
Anders
Hey Andre, can i upgrade from 1.4.4.2 to 2.0.0.0 without any problems?
Cuse i tried and I get an error when I try to enter to the TeaCommerce section.
What can it be ?
Hi
As stated different place on the website and when you install/upgrade Tea Commerce - you cant upgrade from 1.x to 2. There has been major API and DB changes so it cant be an automated process. That said - you can of course change the DB layout to match 2.0 and then implement the new API methods in your webshop. But it will take some time of course :)
So best is to update to 1.4.4.4
Kind regards
Anders
Hey Anders :)
I upgraded umbraco to 4.11.6 & Tea Commerce to 1.4.4.4 as you told me to do and still I get the same error.
I mean the first error when I try to remove the order lines with the command -> TeaCommerce.Base.RemoveAllOrderLines();
Same error -> teacommerceerror001 - No more orders available - Delete old orders or buy a license for Tea Commerce at - [email protected] or http://www.teacommerce.net
But I have a license, even two, they are in the same bin folder.
Please help me to solve this problem, I'm really stressed about it ..
Do you have some custom .NET code that does the TeaCommerce.Base.RemoveAllOrderLines?
Can I get access to the solution online so I can try and debug and see what happens?
Kind regards
Anders
The problem is that it doesn't always appears, it happens only sometimes and always with different customers.
Yes i do have custom .Net code that does the TeaCommerce.Base.RemoveAllOrderLines.
Sorry I can't give you access, it's production website with registered customers and i don't have the authority to do such a thing.
Anyway you can guide me to do the tests you need, I will do everything to help.
It starts making me nervous, people can't pay and the client loses money.
I need an immediate solution, this went on for a month..
Thanks.
Hi Nonacc
Could you try and see if there is a url referrer in the place you do the custom code. You can test HttpContext.Current.Request.UrlReferrer
Kind regards
Anders
Yes there is referrer and link to the error page, by the way maybe you will not see it at all, it happens sometimes.
Thanks.
What is the referrer domain?
The referrer domain is the link that i put on the word "referrer" in my last comment. Its "dub118.mail.live.com".
I see. Could you send us an email to info at teacommerce.net with your contact details. I will then send you a build that has the bug fix about the licensing.
Kind regards
Anders
Hey Anders,
Update you sent me did not work, we still get the error, and customers are still unable to buy products in some cases.
Respectable amount of customers that come from domain ".org" can't pay.
I collected information about customers having this problem the ip, domain, user-agent, referrer, you can download the excel from this link.
I don't think the problem is on customers machine.
I think the problem is your domain license validation.
We have two licenses stored in one bin folder, on site with extension ".co.il"
The second site with ".org" extension pointing to ".co.il"
So we have two domain but one ftp storage..
The site with the extension ".co.il" functioning as he should, because in his bin folder we store two licenses.
However, the site with the extension ".org" is not functioning as it should, he has no "bin" folder because he points to the second site with ".co.il" extension.
I think you just need to make some changes in license checking..
Please come back to me as soon as possible with a solution, I do not know what to do, it takes too much time.
Hi Nonacc
This is the line of code that fetches the host in Tea Commerce and use that to validate the license:
string host = HttpContext.Current.Request.UrlReferrer != null && HttpContext.Current.Request.Form.HasKeys() ? HttpContext.Current.Request.UrlReferrer.Host : HttpContext.Current.Request.Url.Host;
So if there is a UrlReferrer and there are form data posted - then that host name is used. Can you think of any case where that happens in your shop? This license check is for security reasons so you cant have one domain licensed and then used 100 other domains to post to one webshop url that is licensed.
Kind regards
Anders
Hey Anders,
Your answer does not help us, we do not know what to do.
Our client is going to explode, it takes us too long to solve the problem.
Please leave a phone number that we can contact you as soon as possible.
Thanks.
We have made some changes to the license check in 1.4.4.5 - so look out for this release.
Kind regards
Anders
is working on a reply...