Copied to clipboard

Flag this post as spam?

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


  • MrFlo 148 posts 391 karma points
    Dec 12, 2013 @ 12:28
    MrFlo
    0

    Test version still not working after deleting 20 orders

    Hello,

    I'm testing the teacomerce and I had may be 20 orders but now I have deleted them and I still have the error that tea commerce isn't licensed. I have touched the web.config but I still have the message. There is no more orders in the table ´╗┐´╗┐order...

    Thanks to let me know how to reset it to test it again ?

  • MrFlo 148 posts 391 karma points
    Dec 12, 2013 @ 12:31
    MrFlo
    100

    Ok I found it, there is a "currentOrderNumber" in the Store table. I had to reset it and restart the site.

     

  • Anders Burla Johansen 2560 posts 8256 karma points
    Dec 12, 2013 @ 12:32
    Anders Burla Johansen
    0

    Reset the CurrentOrderNumber to 0 in the DB table TeaCommerce_Store -  then it works :)

  • Matt Taylor 820 posts 1921 karma points
    Sep 01, 2014 @ 18:18
    Matt Taylor
    0

    I've just hit this problem too.

    Am I going to have to keep re-setting this during my testing?

  • Anders Burla Johansen 2560 posts 8256 karma points
    Sep 02, 2014 @ 09:19
    Anders Burla Johansen
    0

    Yes - or you could write a small code to hook into the order finalize event in the notification center and reset the CurrentOrderNumber of the store to 0 and save the store. That way it is always 0 :)

  • Matt Taylor 820 posts 1921 karma points
    Sep 02, 2014 @ 12:59
    Matt Taylor
    0

    Ah OK, thanks Anders.

    Seems like an unecessary measure...I'd have thought requiring the orders deletion would be enough to stop it being used for production purposes?

  • Anders Burla Johansen 2560 posts 8256 karma points
    Sep 02, 2014 @ 13:01
    Anders Burla Johansen
    0

    It was like that in the old version. But for performance we use the CurrentOrderNumer. The license is checked everytime the order is saved.

  • Matt Taylor 820 posts 1921 karma points
    Sep 02, 2014 @ 13:43
    Matt Taylor
    0

    Ah OK, perfomance makes sense. :-)

  • Amanda Ashley 22 posts 79 karma points
    Feb 04, 2016 @ 23:46
    Amanda Ashley
    0

    Hi Anders,

    Glad I stumbled accross this post. Perhaps there could be some sort of friendly warning message on the front end if the 20 order limit is hit?

    My "in development" site seemed to just start having 500 errors (/base/TC/FormPost.aspx) when adding or deleting a product to/from the cart.

    It was only after a lot of investigation and troubleshooting (httpErrors = detailed, customErrors = Off and compilation debug = true then looking at the response in Fiddler) that I got a message about Hitting the Tea Commerce testing limit.

    Of course it was working on my .local site but on our remote testing server it was failing. Perhaps that should have been the first flag for me but hey.

    Cheers, ~Andrew

Please Sign in or register to post replies

Write your reply to:

Draft