vzex Posted August 27, 2017 Posted August 27, 2017 How do I remove all the test transactions? They are still there even after uninstalling and deleting stripe module? Test data was deleted at stripe but they all still show up.
MockoB Posted August 28, 2017 Posted August 28, 2017 I'm not sure but if you are in demo mode there is module for what you need and if you are not there is no way to delete them. There was a way to remove them just from the list in the back office but all their entries in the database will be left.
30knees Posted August 28, 2017 Posted August 28, 2017 Is it safe to just go into the database and delete the orders in tb_orders?
MockoB Posted August 28, 2017 Posted August 28, 2017 There are too many entries concerning orders, there will be always something left. I'm not sure how safe it could be, but if it is test environment why not try.
30knees Posted August 28, 2017 Posted August 28, 2017 I think this would be a good feature. I posted about it here: https://forum.thirtybees.com/topic/793/suggestion-delete-orders-directly-in-the-backend I went in to the database and deleted all idorder and idorder_* rows. So far it looks OK, but I haven't tested fully yet.
vzex Posted August 28, 2017 Author Posted August 28, 2017 I'm not too happy about the test data being there. :( I'm going live soon so I really don't want to break something deleting things. Seriously, test data needs a delete key!
MockoB Posted August 28, 2017 Posted August 28, 2017 What about invoices, carts associated with those orders etc. If that link is the feature request, I voted for it long time ago. But i don't think somebody will develop such module because it is illegal to delete orders I believe.
MockoB Posted August 28, 2017 Posted August 28, 2017 @vzex i wouldn't risk if i was you. Soon they will be on the next page and won't bother you.
vzex Posted August 28, 2017 Author Posted August 28, 2017 Not sure about deleting orders being illegal but I deleted all my test orders, customers etc getting ready to go live. Came to a halt when I couldn't delete test stripe transactions :( My pet peeve is modules leaving trash behind when you delete them. I don't think basic functionality keeping things tidy should require a module but should be built in. Then again I don't write code
MockoB Posted August 28, 2017 Posted August 28, 2017 Sure it would be great to be build in feature and many need it but sure it is illegal at least in EU.
vzex Posted August 28, 2017 Author Posted August 28, 2017 I'm on the other side of the pond, never heard that before!
30knees Posted August 28, 2017 Posted August 28, 2017 @mockob It most definitely is NOT illegal to delete orders in your shop. You might be mixing something up with deleting accounting entries.
MockoB Posted August 28, 2017 Posted August 28, 2017 @30knees at least in my country and I believe whole eu, the financial data is protected by the law and can't be deleted. I will look later for particular directive and if I find such I will paste it here.
MockoB Posted August 28, 2017 Posted August 28, 2017 Sorry for posting that link here but @30knees please check the third paragraph: http://doc.prestashop.com/m/mobile.action#page/20578341
30knees Posted August 28, 2017 Posted August 28, 2017 @mockob Thank you for the link, but it's incorrect in that broadness. You are required to keep data relating to a transaction. That makes sense. If you sell something, you need to keep documentation that you sold something. How long you need to keep the data depends on your country. But if you didn't sell something, eg if someone placed a fake order or placed an order but never paid, if you made a test order and want to delete it, there's nothing that would prevent you from doing so.
MockoB Posted August 28, 2017 Posted August 28, 2017 That's the statuses are for. And don't get me wrong, I need that feature too but not for the legal part you talk about ...
vzex Posted August 31, 2017 Author Posted August 31, 2017 UPDATE Used PHPMyAdmin found and deleted all 17 test transactions by deleting them under: stripetransaction They no longer show up in stripe BO module so I'm happy they are hopefully all gone. If remnants remain elsewhere at least I don't have to see them :)
vzex Posted August 31, 2017 Author Posted August 31, 2017 Aw thanks, now I have to send another :coffee: Don't forget the capture/charge delay, think it's 7 days, until product shipped :) :) :) You work so fast I'd hate for you to run out of things to fix ;)
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