I’ve noticed a few times when upgrading to to newer versions of Magento we get a few errors with delivery and payment methods that have been previously installed.. On a recent upgrade the default ‘protx’ and ‘amazon’ payment gateways that were bundled with magento < 1.3 were not been included in later releases and threw up a few errors in the customer area of the frontend and admin…

To remove the old rules, you need to get access to SQL and input these lines which should remove old rules… Always backup your database before doing this, just in case

This is for various shipping rules I had on the install..

[code]
DELETE FROM `core_config_data` WHERE path LIKE ‘carriers/controlshipping%’
OR path LIKE ‘carriers/export3j%’
OR path LIKE ‘carriers/colissimo%’
OR path LIKE ‘carriers/byweight%’
OR path LIKE ‘carriers/byitem%’
OR path LIKE ‘carriers/chronopost%’
OR path LIKE ‘carriers/byprice%’
OR path LIKE ‘carriers/australiapost%’
[/code]

The below is to remove void payment methods…

[code]
DELETE FROM `core_config_data` WHERE path LIKE ‘payment/protx_standard%’
OR path LIKE ‘payment/amazonpayments_asp%’
OR path LIKE ‘payment/amazonpayments_cba%’
[/code]