Jump to content

Order - how to delete assigned payment


cukrovijinak

Recommended Posts

  • 3 weeks later...
  • 1 year later...

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

  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...
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

  • 1 month later...
Posted (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 by Andrei H (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...