Spec0wn Posted January 16, 2017 Share Posted January 16, 2017 (edited) Hi! The order state in front-end (client profile) is different from back-end (admin panel). I find out that in order_history table, the id_order_state is showing 20 (waiting for payment) it is supposed to show 2 when payment is accepted. How do I fix this?? Thanks for viewing this topic, maybe you will know the answer. I started creating an e-shop few weeks ago. Everything was nearly done, the website was ready to go full speed. Then, out of nowhere, I came with an idea to trunace my test orders in MySQL and here is where it all started... Suddenly, the website started glitching and stuff, I had read that I wasn't supposed to trunace order_state and _order_state_lang files therefore I created a new website, installed all the same modules and exported all the tables that were trunaced and imported them back into MySQL, however it did not fixed the problem. I was asking a lot of people that have an e-shop maybe they know what the problem is, however none of them could answer. Therefore, I am writing right here. I tried to examine the mySQL tables, however it looks like everything is fine and therefore I am thinking about starting all-over again.. (I can't export 1000+ products due they are merged with modules). I have also attached some pictures showing the problem.. Thank you everyone for your responses / ideas. Another interesting thing that I found out is that, I can't update manually to Payment accepted here. Because it says "The new order status is invalid.". But if I update to any other state and then to 'Payment accepted' - everything is fine. Therefore, I assume that system detects the order as 'Payment accepted', however there is somewhere, maybe a duplication or bad ID that shows wrong order state. I really do not know where to look for. Edited January 16, 2017 by Spec0wn (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now