cukrovijinak Posted October 17, 2021 Share Posted October 17, 2021 Hello, I need to delete payment assigned to some orders. It looks like it is not possible. I tried to add payment with negative value but it is not allowed. Thank you in advance 1 Link to comment Share on other sites More sharing options...
bnadauld Posted November 4, 2021 Share Posted November 4, 2021 is it the same issue im having - where i need to correct a payment (see pic) by deleting it and adding a new one? Link to comment Share on other sites More sharing options...
jmauclair Posted January 11, 2023 Share Posted January 11, 2023 You must go through your database, in the table : [PREFIX]_order_payment You just have to delete the payment line concerned, here is a quick query to easily find the payments by order reference : SELECT * FROM [PREFIX]_order_payment WHERE order_reference=[ORDER_REFERENCE] Then you just select the lines you want to delete 1 Link to comment Share on other sites More sharing options...
[email protected] Posted March 20 Share Posted March 20 On 1/11/2023 at 2:55 PM, jmauclair said: You must go through your database, in the table : [PREFIX]_order_payment You just have to delete the payment line concerned, here is a quick query to easily find the payments by order reference : SELECT * FROM [PREFIX]_order_payment WHERE order_reference=[ORDER_REFERENCE] Then you just select the lines you want to delete Hi thanks! Do you know if exist a module for do it throught backend? Thanks! Link to comment Share on other sites More sharing options...
Andrei H Posted May 6 Share Posted May 6 (edited) Hello, I'm leaving this here, for future reference. I developed a free module that implements this functionality. The module is currently available only for PrestaShop 8. I might look into making it compatible with 1.7 as well in the future. You can get it from here Please test it in a staging environment first. Edited May 6 by Andrei H (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