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 ?
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 :)
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.
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 ?
Ok I found it, there is a "currentOrderNumber" in the Store table. I had to reset it and restart the site.
Reset the CurrentOrderNumber to 0 in the DB table TeaCommerce_Store - then it works :)
I've just hit this problem too.
Am I going to have to keep re-setting this during my testing?
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 :)
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?
It was like that in the old version. But for performance we use the CurrentOrderNumer. The license is checked everytime the order is saved.
Ah OK, perfomance makes sense. :-)
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
is working on a reply...