-
Notifications
You must be signed in to change notification settings - Fork 108
PSCleaner module should not clean paypal data #56
Comments
There is an existing github project ➡️ https://github.com/PrestaShop/pscleaner but issues have to be reported here, am I wrong? 🤔 Regards, David. |
Hello @Daaaaad Have you tried to contact the Paypal module developer? what he did respond if so? Thanks! |
@hibatallahAouadni I don't think it's a bug coming from the PayPal module. The pscleaner module try to clean a table that do not exists anymore in the last version of the PayPal module... |
The pscleaner module attempts to clean paypal tables see https://github.com/PrestaShop/pscleaner/blob/dev/pscleaner.php#L274
@Daaaaad it seems this clean only happen if the PayPal module is installed, so it seems to make sense. On your shop why do you have the Paypal module installed but no Paypal tables ? |
Hi @matks, Yes as I told in my first message I do have the PayPal module installed and activated 😉 But... I definitely can't find the "paypal_customer" table on a fresh install of the PayPal module (v5.2.1) 🤔 I do have other tables : ps_paypal_capture But no "paypal_customer" 😔 |
Maybe Paypal released a new version of their module and it does not have this table anymore. Anyway I think the root issue is that pscleaner should NOT clean tables not related to PS Core. |
@matks It could be useful to also clean customer related data stored in tables created by other modules... But in this case we have to track every upgrades of those modules to update the data to clean 🤔 And it's a lot of work. |
Indeed, and it's hard to know which data can be safely deleted or not. Too risky to do it I believe 🤔 better "not modify" a data we are not sure we can clean that deleting sensible store data 😅 So I think we can modify this GitHub issue to re-scope it in "PSCleaner should not clean paypal data" |
@matks The question is: Will the PayPal module still work if we clean all customers and orders data? It seems to keep (or have kept al least) some references in their own database tables 🤔 |
PSCleaner, if I am not wrong, is supposed to be "the module you use when you setup a shop and want to clean the Demo products and data that are loaded to "populate" a little your BO". So in theory no Paypal data should be concerned 😅 |
@matks If you want to properly test your shop you also have to test payment methods 😛 |
Hello, when I try to "delete orders & customers" with the PayPal (v5.2.1) official module installed and activated I get an exception :
EDIT
It seems PSCleaner module clean paypal data but it does not work with latest Paypal module release.
The text was updated successfully, but these errors were encountered: