Magento - Can't remove paypal as a payment method

Magento - Can't remove paypal as a payment method

August 24, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento - Can't remove paypal as a payment method

Dealing with Persistent PayPal Payment Methods in Magento

If you’re struggling to completely remove PayPal as a payment option from your Magento store, you’ve come to the right place. In this post, we’ll dive deep into the issue and provide step-by-step solutions that actually work.

The Common Approach That Fails

Many developers make the mistake of stopping at the basic configuration settings. They disable the PayPal modules in Config -> Advanced, clear out the payment methods under Sales -> Payment Methods, and empty all cache types. Yet, somehow, the dreaded PayPal option persists on the one-page checkout.

The Hidden Culprit: Config Files

The root cause often lies hidden within your store’s configuration files. Magento uses XML files to store its settings, and sometimes these files can override or conflict with your admin panel changes.

Let’s explore where you need to look:

  1. app/code/core/Mage/Paypal/etc/config.xml - In this file, search for any PayPal-related code. Look at the <paypal> node and make sure it is empty or completely removed if you no longer use the service.

  2. app/code/local/Your_Company/Extension/etc/config.xml - If you have custom extensions installed, check these files as well. Some third-party modules may still include PayPal configurations.

Removing the Payment Method Completely

If your configuration files are clean but the payment method still appears in the checkout process, it’s time to get hands-on with the database.

  1. Log into phpMyAdmin - Access your Magento store’s database using a SQL client like phpMyAdmin or MySQL Workbench.

  2. Locate the core_config_data table - This table stores all of your site’s configuration data.

  3. Search for PayPal entries - Use the following query to find any lingering PayPal settings:

    SELECT * FROM core_config_data WHERE path LIKE '%paypal%'
    
  4. Delete the relevant rows - Identify and delete any rows that refer to PayPal payment methods or configurations.

  5. Clear the cache (again) - Just to be sure, clear all cache types in Magento (System -> Cache Management).

When All Else Fails: Reindexing

If you’ve cleared the caches and removed everything from the database but still see PayPal options on checkout, there’s one final step:

  1. Reindex your store - Go to System -> Index Management and click “Index Processes” to manually reindex all data.

Conclusion and Best Practices

Removing payment methods entirely requires a thorough understanding of Magento’s configuration system. Always remember the following best practices:

  • Double-check your XML configuration files.
  • Regularly clean up unneeded data in the core_config_data table.
  • Ensure third-party extensions are updated and compatible with your current Magento version.

For more advanced troubleshooting techniques, consider checking out our Magento debugging guide for a deeper dive into problem-solving strategies.

Checkout Cache Extensions Admin

Our network