Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nonacc 63 posts 184 karma points
    Mar 10, 2013 @ 08:28
    Nonacc
    0

    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?

  • Anders Burla 2560 posts 8256 karma points
    Mar 10, 2013 @ 09:36
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Mar 10, 2013 @ 10:22
    Nonacc
    0

    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.

  • Anders Burla 2560 posts 8256 karma points
    Mar 10, 2013 @ 10:37
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Mar 10, 2013 @ 10:48
    Nonacc
    0

    live.
    license for: goeco.co.il and goeco.org
    host:  www.goeco.co.il and www.goeco.org

    Thanks.

  • Anders Burla 2560 posts 8256 karma points
    Mar 10, 2013 @ 11:01
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Mar 10, 2013 @ 11:29
    Nonacc
    0

    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.

  • Anders Burla 2560 posts 8256 karma points
    Mar 10, 2013 @ 12:18
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Mar 20, 2013 @ 17:06
    Nonacc
    0

    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.

    TeaCommerce_Permission

    What can it be ?

  • Anders Burla 2560 posts 8256 karma points
    Mar 20, 2013 @ 17:22
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Apr 22, 2013 @ 17:31
    Nonacc
    0

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

  • Anders Burla 2560 posts 8256 karma points
    Apr 23, 2013 @ 10:36
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Apr 24, 2013 @ 08:30
    Nonacc
    0

    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.

  • Anders Burla 2560 posts 8256 karma points
    Apr 24, 2013 @ 08:41
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Apr 24, 2013 @ 08:51
    Nonacc
    0

    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.

  • Anders Burla 2560 posts 8256 karma points
    Apr 24, 2013 @ 09:01
    Anders Burla
    0

    What is the referrer domain?

  • Nonacc 63 posts 184 karma points
    Apr 24, 2013 @ 09:04
    Nonacc
    0

    The referrer domain is the link that i put on the word "referrer" in my last comment. Its "dub118.mail.live.com".

  • Anders Burla 2560 posts 8256 karma points
    Apr 24, 2013 @ 10:58
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Jun 23, 2013 @ 09:09
    Nonacc
    0

    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. 

  • Anders Burla 2560 posts 8256 karma points
    Jun 23, 2013 @ 14:14
    Anders Burla
    0

    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

  • Nonacc 63 posts 184 karma points
    Jun 23, 2013 @ 14:48
    Nonacc
    0

    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.

  • Anders Burla 2560 posts 8256 karma points
    Jun 24, 2013 @ 13:46
    Anders Burla
    0

    We have made some changes to the license check in 1.4.4.5 - so look out for this release.

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft