To disable PayPal button WooCommerce, you need to remove or hide the yellow PayPal Smart Button that appears on your checkout page, either through your gateway settings, a dedicated plugin, or custom code. This guide covers every reliable method, explains exactly why high-risk merchants must act on this, and shows you how CODARAB Payments makes the process seamless.

- Disable PayPal button WooCommerce to stop customers from paying via the yellow button and opening easy disputes.
- The PayPal yellow button lets buyers file a dispute in one click, putting digital product sellers at serious risk.
- CODARAB Payments is a WooCommerce plugin built on the PayPal API that disables the yellow button natively.
- Card-only payments through the PayPal API require a more complex dispute process, protecting sellers.
- Multiple methods exist: native WooCommerce settings, CODARAB Payments, custom CSS, and code snippets.
- High-risk merchants selling IPTV, digital products, or dropshipping items benefit most from this change.
- The yellow PayPal button is the single biggest source of easy chargebacks for WooCommerce sellers.
- Disabling it forces customers to pay by card, which requires a more complex dispute procedure.
- CODARAB Payments lets you accept international card payments via the PayPal API without showing the yellow button.
- You can also hide the button using WooCommerce gateway settings, PHP hooks, or CSS — each with different reliability levels.
- Hiding product names on PayPal receipts is a complementary protection layer for high-risk niches.
- A two-site strategy with CODARAB Redirect adds an extra layer of account protection for blacklisted domains.
- Why You Should Disable the PayPal Button on WooCommerce
- What Exactly Is the PayPal Yellow Button?
- Method 1: Disable PayPal Button WooCommerce via Native Settings
- Method 2: Use CODARAB Payments to Disable PayPal Button WooCommerce
- Method 3: Disable the Button with a PHP Hook
- Method 4: Hide the Button with Custom CSS
- Method 5: Disable Per Product or Per Category
- Method 6: Replace the Yellow Button with Card-Only Checkout
- Method 7: Use CODARAB Redirect for Blacklisted Domains
- Comparison of All Methods
- Protecting Your PayPal Account After Disabling the Button
- Frequently Asked Questions
Why You Should Disable the PayPal Button on WooCommerce
To disable PayPal button WooCommerce is one of the most impactful changes a digital product seller or high-risk merchant can make. The yellow PayPal Smart Button is convenient for buyers, but it creates a one-click path to disputes that can freeze your PayPal account permanently.
When a buyer pays through the yellow button, they are authenticated inside their own PayPal account. Filing a dispute takes a single click, with no bank involved and no complex procedure to follow. This is why dispute rates are dramatically higher for PayPal button payments compared to card payments.
Card payments processed through the PayPal API require the buyer to contact their bank, fill out a chargeback form, and wait for a review. That friction alone deters a large portion of opportunistic disputes. When it comes to PayPal button, preparation matters more than speed.
What Exactly Is the PayPal Yellow Button?
The PayPal yellow button — officially called the PayPal Smart Button or PayPal Checkout button — is the bright golden button labeled “Pay with PayPal” or “PayPal” that appears on WooCommerce checkout pages when the PayPal gateway is active.
It redirects buyers to the PayPal login screen or shows an inline popup where they authenticate with their PayPal account and confirm the payment. The transaction is then processed as a PayPal-to-PayPal transfer, which is governed entirely by PayPal’s buyer protection policy.
This is fundamentally different from a card payment processed through the PayPal API. In the card scenario, the buyer enters their Visa or Mastercard details directly in a form on your site. PayPal processes the card charge, but the buyer has no PayPal account involvement — making disputes far less trivial.
Understanding this distinction is the foundation of every strategy to disable PayPal button WooCommerce effectively.
Method 1: Disable PayPal Button WooCommerce via Native Settings
To disable PayPal button WooCommerce using only the built-in settings, you need to deactivate the PayPal gateway entirely or switch to a card-only variant. This is the simplest approach but has limitations.
Steps to Deactivate PayPal in WooCommerce Settings
The problem with this method is that it removes all PayPal payment capability, including card processing via the PayPal API. If you rely on PayPal to receive funds, you need a smarter solution that keeps the PayPal API active while removing only the yellow button. Anyone dealing with PayPal button should keep this step in mind.
This is precisely the gap that CODARAB Payments was designed to fill.
Method 2: Use CODARAB Payments to Disable PayPal Button WooCommerce
CODARAB Payments is the most complete way to disable PayPal button WooCommerce while still accepting international card payments through the PayPal API. It is a WooCommerce plugin built specifically for high-risk merchants who need card-only checkout without the yellow button.
How CODARAB Payments Removes the Yellow Button
CODARAB Payments replaces the standard PayPal gateway with a custom card form. Customers enter their Visa, Mastercard, or other international card details directly on your checkout page. The payment is processed through the PayPal API in the background — but the yellow button never appears.
This means your funds still land in your PayPal Business account, giving you all the benefits of PayPal infrastructure without exposing yourself to one-click disputes.
Additional protections included in CODARAB Payments:
- Hidden product names on receipts: PayPal receipts show only the WooCommerce order number (e.g., Order #1234) instead of the product name, preventing PayPal’s automated systems from flagging your account for selling high-risk items.
- IP and country controls: You can restrict which countries or IP ranges can access the payment form, reducing fraudulent transactions.
- USDT withdrawal path: Funds received in PayPal can be transferred to USDT via a RedoPay Visa card, giving you a crypto withdrawal option without a crypto gateway.
You can view a live demonstration of CODARAB Payments at codarab.com/card-testing. Pricing and setup details are available on the CODARAB website.
For a full feature breakdown of the latest version, see the article on CODARAB Payments V10.8.5 new features for WooCommerce.
Method 3: Disable the Button with a PHP Hook
To disable PayPal button WooCommerce programmatically, you can use a PHP action hook that removes the PayPal gateway from the list of available payment methods at checkout. This method is reliable and does not depend on any third-party plugin. For more background on this subject, see WooCommerce official documentation.
The Code Approach
Add the following snippet to your theme’s functions.php file or a site-specific plugin:
add_filter( 'woocommerce_available_payment_gateways', function( $gateways ) {
unset( $gateways['paypal'] );
return $gateways;
} );This removes the PayPal gateway from the checkout page for all customers. The gateway remains enabled in your WooCommerce settings, so you can re-enable it easily by removing the snippet. This is exactly why PayPal button deserves a documented, methodical approach.
If you are using the newer WooCommerce PayPal Payments plugin (not PayPal Standard), the gateway ID may be ppcp-gateway instead of paypal. Check your active gateway IDs by inspecting the checkout page source or using a debugging plugin.
The limitation of this approach is that it requires code access and carries the risk of being overwritten during theme updates. A dedicated plugin like CODARAB Payments is more maintainable for production stores.
Method 4: Hide the Button with Custom CSS
To disable PayPal button WooCommerce visually, some merchants use CSS to hide the button container. This is the least reliable method and should only be used as a temporary measure.
CSS Snippet to Hide the PayPal Button
Add the following to your theme’s Additional CSS section (Appearance > Customize > Additional CSS):
.payment_method_paypal { display: none !important; }This hides the PayPal option in the payment methods list. However, it does not disable the gateway — a technically savvy customer could still select it by manipulating the page source. Everything described above applies directly to PayPal button.
More importantly, PayPal Smart Buttons injected via JavaScript often have dynamic class names that change between plugin versions. Your CSS selector may stop working after a plugin update.
Use the PHP hook method or CODARAB Payments instead for a robust, permanent solution.
Method 5: Disable Per Product or Per Category
To disable PayPal button WooCommerce only for specific products or categories, you need a plugin that supports conditional payment gateway rules. This is useful if you sell a mix of low-risk and high-risk products and want to restrict PayPal only on the sensitive items.
Using a Conditional Gateway Plugin
CODARAB offers a dedicated plugin for this use case. It lets you assign payment methods per product name, product tag, or product category. When a customer adds a restricted product to their cart, the PayPal option is automatically hidden at checkout.
This approach is particularly valuable for stores that sell both physical goods (where PayPal disputes are less common) and digital products or IPTV subscriptions (where disputes are frequent).
You can learn more about this approach in the guide on deactivating payment gateways per product in WooCommerce.
The conditional logic runs server-side, so it cannot be bypassed by the customer. It is one of the most targeted ways to disable PayPal button WooCommerce without affecting your entire store.
Method 6: Replace the Yellow Button with Card-Only Checkout
The most strategic way to disable PayPal button WooCommerce is not just to remove the button but to replace it with a card-only checkout experience that still processes through PayPal’s infrastructure.
Why Card-Only Checkout Protects You
When customers pay by card, the dispute process involves their issuing bank, not PayPal’s one-click resolution center. The buyer must contact their bank, explain the dispute, and wait for the bank to investigate. This process takes days or weeks and requires documentation. Planning ahead for PayPal button saves both time and money later.
As a result, opportunistic disputes — where a buyer simply wants a refund for a digital product they have already consumed — are far less likely to succeed or even be initiated.
CODARAB Payments implements exactly this model. The card form is displayed directly on your WooCommerce checkout page with a clean, minimalist design. There is no redirect to PayPal, no yellow button, and no PayPal account login required from the buyer.
For merchants selling peptides, high-copy products, or IPTV subscriptions, this is the recommended baseline configuration. See also how to accept payments for peptides on WooCommerce for a detailed walkthrough of the full setup.
Method 7: Use CODARAB Redirect for Blacklisted Domains
If your domain is already on a PayPal blacklist, simply choosing to disable PayPal button WooCommerce may not be enough. PayPal’s Webhook system can detect your domain during the payment process and flag transactions even if the yellow button is not displayed.
How CODARAB Redirect Solves the Blacklist Problem
CODARAB Redirect is a complementary solution that routes your customers’ checkout experience through a second, low-risk WooCommerce site. Your high-risk site (Site 1) collects the order, then seamlessly redirects the customer to the checkout page of Site 2 — either via a full redirect or inside an iFrame so the customer never sees the domain change. Most questions about PayPal button come back to these same basics.
The payment is processed on Site 2, which has a clean domain with no blacklist history. Orders are synchronized automatically between both sites in real time. Customers receive all notifications from Site 1 only, maintaining a professional experience.
This strategy is particularly effective when combined with the yellow button disabled on both sites and CODARAB Payments active on Site 2. The result is a fully card-based checkout on a clean domain, with funds flowing to your PayPal account.
For a deeper explanation of this dual-site approach, read the complete guide on WooCommerce dual store strategy to protect your business from shutdowns.
Comparison of All Methods
Choosing the right approach to disable PayPal button WooCommerce depends on your technical skill level, your risk profile, and whether you need card payments to continue flowing through PayPal.
| Method | Difficulty | Removes Yellow Button | Keeps Card Payments via PayPal | Works on Blacklisted Domains |
|---|---|---|---|---|
| Native WooCommerce Settings | Easy | Yes | No | No |
| CODARAB Payments Plugin | Easy | Yes | Yes | Partial |
| PHP Hook (functions.php) | Medium | Yes | No (unless combined) | No |
| Custom CSS | Easy | Visually only | No | No |
| Conditional Gateway Plugin | Easy | Per product/category | Configurable | No |
| Card-Only Checkout (CODARAB) | Easy | Yes | Yes | Partial |
| CODARAB Redirect (two-site) | Medium | Yes (on both sites) | Yes | Yes |
For most high-risk merchants, the recommended stack is CODARAB Payments on a clean domain, with CODARAB Redirect added if the primary domain has a negative history with PayPal.
Protecting Your PayPal Account After Disabling the Button
Once you disable PayPal button WooCommerce, your dispute rate should drop significantly. But there are additional steps to keep your PayPal account healthy long-term.
Hide Product Names on PayPal Receipts
Even with card-only payments, PayPal receipts still show the item name by default. If you sell IPTV subscriptions, high-copy goods, or other sensitive products, PayPal’s automated systems can detect this and flag your account. A structured response to PayPal button always beats a rushed one.
CODARAB Payments replaces product names on PayPal receipts with the WooCommerce order ID (e.g., “Order #1234”). This removes the keyword signal that triggers automated account reviews.
Monitor Your Dispute Rate
PayPal monitors dispute rates continuously. Even with the yellow button disabled, a high dispute rate from card chargebacks can still trigger account limitations. Keep your dispute rate below the thresholds PayPal publishes in its merchant documentation. For more background on this subject, see PayPal merchant solutions.
Use Country and IP Restrictions
Fraudulent transactions often originate from specific geographic regions. CODARAB Payments includes IP-based country filtering, allowing you to block payments from high-fraud countries entirely. This reduces both disputes and fraudulent card usage.
For more detail on this protection layer, see the guide on avoiding disputes using CODARAB Payment IP control. Anyone researching PayPal button will recognise this pattern quickly.
Open a Fresh PayPal Business Account if Needed
If your current PayPal account is already under review or has accumulated a high dispute history, the best long-term strategy may be to open a new PayPal Business account and connect it to CODARAB Payments from day one — with the yellow button disabled and product name masking enabled immediately.
Frequently Asked Questions
How do I disable the PayPal button on WooCommerce without removing card payments?
Use CODARAB Payments, which connects to the PayPal API to process card payments while never displaying the yellow PayPal button. Customers see only a card form at checkout. Your funds still arrive in your PayPal Business account, but without the dispute risk of the yellow button.
Does disabling the PayPal yellow button really reduce disputes?
Yes. The yellow button allows buyers to open a PayPal dispute in one click from their own account. Card payments require contacting the issuing bank and following a more complex chargeback process. This friction significantly reduces opportunistic dispute rates, especially for digital products and services.
Can I disable the PayPal button only for certain products?
Yes. CODARAB offers a conditional payment gateway plugin that lets you hide or disable specific payment methods based on product name, product tag, or product category. This allows you to keep PayPal available for physical goods while blocking it for high-risk digital products.
What happens to my PayPal account if I keep the yellow button active?
A high volume of PayPal button payments in high-risk categories can lead to elevated dispute rates, which trigger PayPal’s automated review systems. This can result in fund holds, account limitations, or permanent bans. Disabling the button is a proactive measure to protect your account longevity.
Is it possible to disable PayPal button WooCommerce without any plugin?
Yes, using a PHP filter hook in your theme’s functions.php file. The snippet unset( $gateways['paypal'] ) inside the woocommerce_available_payment_gateways filter removes the gateway at checkout. However, this also removes card processing via PayPal, so you need an alternative card gateway active.
What is CODARAB Payments and how is it different from standard PayPal for WooCommerce?
CODARAB Payments is a WooCommerce plugin built on the PayPal API, designed for high-risk merchants. Unlike standard PayPal, it shows only a card form — no yellow button. It also masks product names on PayPal receipts, supports IP-based country restrictions, and enables a USDT withdrawal path via RedoPay. Keeping written notes on PayPal button makes the next decision easier.
Does hiding the PayPal button with CSS fully disable it?
No. CSS hides the button visually but does not disable the gateway. A technically knowledgeable buyer could still select the PayPal option by modifying the page. Additionally, PayPal Smart Button JavaScript may override CSS depending on the plugin version. Use a PHP hook or CODARAB Payments for a reliable solution.
What should I do if my domain is already blacklisted by PayPal?
Use CODARAB Redirect to route your checkout through a second, low-risk WooCommerce site. Payments are processed on the clean domain, orders sync automatically, and customers receive notifications only from your main site. This bypasses the Webhook detection that flags blacklisted domains during payment processing.
Can I still receive funds in PayPal after disabling the yellow button?
Yes. CODARAB Payments processes card payments through the PayPal API, so all funds are deposited directly into your PayPal Business account. The yellow button is simply the customer-facing interface — removing it does not affect how PayPal receives or holds your money.
Is a PayPal Business account required to disable the yellow button and use card payments?
For CODARAB Payments, a PayPal Business account is strongly recommended. It can be created in under two minutes and provides access to the PayPal API credentials (Client ID and Secret Key) needed to configure the plugin. A personal PayPal account has API limitations that may restrict card processing functionality.
To disable PayPal button WooCommerce effectively and protect your account from disputes, the most complete solution is CODARAB Payments combined with product name masking and, where necessary, CODARAB Redirect for blacklisted domains. Visit CODARAB’s WooCommerce credit card only plugin guide to get started with a setup that removes the yellow button, enables card-only checkout, and keeps your PayPal account safe for the long term.
