DEV Community

Janki Mehta
Janki Mehta

Posted on

How to Disable All Payment Gateways in WooCommerce

Are you looking to disable all payment gateways in your WooCommerce store temporarily? There are a few straightforward ways to do this directly from your WordPress admin dashboard.

In this guide, we’ll cover the steps to disable ALL active payment gateways in WooCommerce with just a few clicks.

Why Disable Payment Gateways in WooCommerce?

Here are some common reasons you may want to disable all payment gateways temporarily:

  • Your store is undergoing maintenance or updates
  • You are testing a new feature and don’t want live payments
  • You want to take your store offline temporarily
  • To troubleshoot payment issues by isolating gateways
  • Removing unused or unnecessary gateways

Disabling all payment gateways allows you to quickly stop all checkout transactions without deleting your individual gateway settings.

How to Disable All Active Payment Gateways

WooCommerce stores typically have multiple payment gateways enabled, such as credit cards, PayPal, Stripe, and so on.

Here are two easy ways to disable every active payment gateway:

Method 1: Via Settings Bulk Actions

  1. In your WordPress admin, go to WooCommerce > Settings
  2. Select the Payments tab
  3. Under Payment gateways, you will see all active gateways
  4. Select all checkboxes to choose all gateways
  5. Choose Bulk Actions > Disable
  6. Select Apply to disable all selected gateways

All your active payment gateways are now disabled in one go!

Method 2: Via Individual Gateways

  1. Go to WooCommerce > Settings > Payments
  2. Locate each payment gateway section
  3. Switch the toggle to Disable to turn each gateway off
  4. Scroll down and repeat for every gateway
  5. Click Save Changes This manually disables each payment gateway one by one.

How to Re-Enable Payment Gateways
Once you are ready to accept live payments again, you can easily re-enable your payment gateways.

To re-enable individual gateways:

  1. Go to WooCommerce > Settings > Payments
  2. Scroll to the gateway and flip the toggle to Enable

To re-enable all gateways:

  1. Go to WooCommerce > Settings > Payments
  2. Select all gateways
  3. Choose Bulk Actions > Enable
  4. Click Apply

The gateways will now be activated again. Just be sure to test transactions thoroughly first.

Finally
Temporarily disabling all payment gateways in WooCommerce is simple by using the bulk or individual toggles. This can help pause live transactions during store maintenance or testing.

Be sure to re-enable your chosen gateways when you are ready for customers to check out again.

Let us know if you have any other questions! Our WooCommerce developers are happy to help get your store set up just right.

Top comments (0)