Back to Payment Guides

How to Hide Payment Options on Shopify

Learn how to hide payment options on Shopify using native functions. Optimize your checkout by filtering gateways by location, product, or customer tag today.

Introduction

Managing which payment methods appear at checkout is a critical part of running a profitable Shopify store. While providing variety is generally good for conversion, displaying every available gateway to every customer often leads to confusion, higher processing fees, and increased chargeback risks. Merchants need a way to filter these options based on specific business logic, such as the customer’s location, the products in the cart, or the total order value.

We designed HidePay to give merchants this precise control without requiring complex code or theme edits. You can install HidePay on the Shopify App Store to get started. By using native Shopify logic, you can ensure that customers only see the payment methods that make sense for their specific order. This article explains the technical and strategic ways to hide, sort, and rename payment options to create a more efficient checkout experience.

Whether you are looking to restrict Cash on Delivery to specific regions or hide high-fee gateways for low-margin products, understanding the underlying "how" is essential. This guide covers the transition from legacy scripts to modern Shopify Functions and provides actionable scenarios for optimizing your checkout.

Why Controlling Payment Options Matters for Your Bottom Line

A cluttered checkout is a friction point. When a customer reaches the final step of their journey, they should only see relevant, trusted, and functional payment methods. Showing a local payment gateway to a customer in a country where that gateway doesn't operate is a poor user experience. It can lead to errors, frustration, and ultimately, cart abandonment.

Beyond the user experience, hiding payment options is a strategic move to protect your margins. Some payment methods carry significantly higher transaction fees or are more prone to fraudulent chargebacks. For example, some "Buy Now, Pay Later" (BNPL) services charge merchants a higher percentage than standard credit card processors. If you are selling high-ticket items with slim margins, you might choose to hide these expensive options for specific high-value orders to preserve your profit.

Additionally, logistics often dictate which payment methods are viable. Cash on Delivery (COD) is a popular choice in many markets, but it presents a massive risk if offered for international shipping or for high-value custom goods. By implementing rules that hide COD based on the shipping address or product type, you eliminate the risk of unpaid orders and expensive return logistics — and you can see how merchants combine payment and shipping controls in our post about the HideSuite bundle.

The Shift to Shopify Functions: A Native Approach

In the past, hiding payment methods on Shopify required the Script Editor, an app available only to Shopify Plus merchants. These scripts were effective but relied on older infrastructure that Shopify is now phasing out. The modern standard for checkout customization is Shopify Functions.

Shopify Functions allow developers to write custom logic that runs natively on Shopify’s infrastructure. This is a significant improvement because it means the logic executes with zero latency and does not rely on external scripts that could slow down the checkout page. Our app is built entirely on this native framework, making it a "Built for Shopify" certified tool that works within the checkout's secure environment. For merchants who want a codeless way to create or migrate functions, see SupaEasy on the Shopify App Store.

Because these functions are native, they are also more reliable. They don't break when you update your theme or add new apps to your store. For merchants, this means that once a rule is set—such as hiding a specific gateway for a certain country—it works consistently across all devices and browsers without any additional maintenance.

Easily Customize Shopify Payments

Hide, sort, and rename Shopify payment methods using powerful conditions. Customize your checkout and control payment options with HidePay.

Common Scenarios for Hiding Payment Methods

Every store has different needs, but most payment customization needs fall into a few key categories. Understanding these scenarios helps you identify which rules will have the most immediate impact on your conversion rates and operational efficiency.

Restricting Payment Options by Geography

The most common reason to hide a payment method is the customer's location. Different regions have different payment preferences and risks. For instance, if you operate a store that ships globally from a base in Europe, you might offer local bank transfers to European customers but hide them for customers in North America or Asia where those methods aren't recognized.

Using geography-based rules allows you to:

  • Hide Cash on Delivery for specific countries or zip codes where delivery success rates are low.
  • Display region-specific gateways (like iDEAL in the Netherlands or Bancontact in Belgium) only to customers in those countries.
  • Remove credit card options that are frequently associated with high fraud rates in specific provinces or territories.

If you want a step-by-step for a common scenario, see how to hide Cash on Delivery for foreign customers.

Hiding Gateways Based on Product Type or Collection

Not every product should be eligible for every payment method. Some gateways have strict Terms of Service regarding what can be purchased through their platform. For example, digital products, subscription services, or high-risk items like glassware might be prohibited by certain providers.

You can set rules that scan the contents of the cart and hide specific options if a certain product or collection is present. If a merchant sells a mix of standard retail goods and digital downloads, they might hide "Pay on Delivery" options as soon as a digital item is added to the cart. This prevents the impossible scenario of trying to collect cash for a file that was already delivered via email. See the help doc on hiding payment methods when a collection of products is in the cart for a walkthrough.

Managing Payment Methods for B2B and Wholesale Customers

B2B e-commerce requires a different checkout flow than standard retail. Wholesale customers often have negotiated terms, such as "Net 30" or payment via wire transfer, which you wouldn't want to offer to the general public.

By using customer tags, you can create a segmented checkout. For example:

  • Tag: Wholesale — Show "Bank Wire" and "Invoice" options; hide all standard consumer gateways like PayPal or Shop Pay to avoid high fees on large bulk orders.
  • Tag: VIP — Show exclusive payment options or early-access gateways as a perk for high-lifetime-value customers.
  • No Tag — Show standard consumer options and hide the B2B-only methods.

This level of targeting ensures that your wholesale operations stay separate from your retail transactions while using the same Shopify storefront. Follow the tutorial for hiding payment methods based on customer tags to set this up.

Cart-Based Rules: Subtotals and Currencies

Order value is another major factor in deciding which payment methods to display. For very small orders, the flat fee component of some payment gateways might eat up your entire profit margin. Conversely, for very large orders, you might want to hide credit card options and force a bank transfer to minimize the risk of a massive chargeback.

We see many merchants set rules based on the cart subtotal. For example, if a cart total exceeds $5,000, you can hide all "Express Checkout" buttons and only show traditional credit card entries or wire transfers. You can also hide specific gateways based on the currency the customer is using. If a customer is checking out in CAD, but a specific gateway only processes USD efficiently, hiding that option prevents unexpected conversion fees for both the merchant and the buyer. Learn how to hide payment methods by cart currency.

How to Implement These Rules in Your Store

Implementing these changes shouldn't require a developer. The goal is to make the Shopify admin more powerful by adding a dedicated interface for these rules. In the app, the process typically follows a logical flow: choosing a "Function" (Hide, Sort, or Rename), selecting a "Condition" (Country, Product, Tag, etc.), and defining the "Action." For a step-by-step guide on creating these customizations, see the help article How to create a payment customization.

Step 1: Define Your Objective

Before creating a rule, decide what problem you are trying to solve. Are you trying to lower transaction fees? Are you trying to reduce the number of unpaid COD orders? Identifying the goal helps you choose the right condition.

Step 2: Choose Your Trigger

The trigger is the "If" statement of your rule. For example, "If the customer is from the United Kingdom" or "If the cart total is under $20." You can often combine these triggers for even more precision. You might want to hide a payment method only if the customer is in a certain country and the order value is over a specific amount.

Step 3: Select the Payment Method to Hide

Once the trigger is met, you choose which gateway or express button to hide. This includes standard providers like Shopify Payments, PayPal, and Stripe, as well as alternative methods like Klarna, Afterpay, or local COD options.

Step 4: Test Your Rules

It is a best practice to test your new rules in a development environment or by using a specific customer tag that only your team uses. This allows you to verify that the logic is firing correctly before it affects your entire customer base. Once verified, the rule runs automatically at the Shopify checkout level.

Beyond Hiding: Sorting and Renaming for Conversion

While hiding is the most direct way to clean up a checkout, sorting and renaming are equally powerful tools for increasing conversion rates. See the help guide on sorting and renaming payment methods in the checkout for the detailed steps.

Sorting Payment Methods

The order in which payment methods appear influences which one a customer chooses. Most shoppers will pick the first or second option they see that they recognize. By sorting your preferred gateways to the top—those with the lowest fees or the most reliable processing—you can nudge customer behavior in a way that benefits your bottom line.

If you know that your customers in Brazil prefer Pix, you can use a rule to sort Pix to the first position for any customer with a Brazilian shipping address. This reduces the time it takes for them to complete the transaction, which is a proven way to increase conversion rates.

Renaming Payment Methods

Sometimes, the default name of a payment gateway in Shopify is confusing or doesn't reflect how your business operates. For example, "Manual Payment" is a vague term. Using our tool, you can rename this to "Bank Transfer (Processing takes 2-3 days)" or "Pay at Pick-up."

Renaming adds clarity. It allows you to provide instructions directly within the payment option label. This reduces the number of support tickets from customers asking how a specific payment method works. It also helps with localization; you can translate gateway names into the local language of your customers without changing your entire store’s primary language.

Protecting Your Margins and Reducing Chargebacks

One of the most significant benefits of controlling your payment options is fraud prevention. High-risk orders often follow predictable patterns. For example, you might notice that a high percentage of fraudulent orders come from specific regions and always use a particular express checkout method that doesn't verify the billing address as strictly as others.

By creating a rule to hide those specific gateways for high-risk regions, you effectively create a filter that bad actors struggle to bypass. This proactive approach is much more effective than trying to fight a chargeback after the product has already shipped.

Furthermore, managing express checkout buttons—like Apple Pay, Google Pay, and PayPal Express—is vital for stores that rely on custom checkout fields. These buttons often bypass the "Cart" page or specific "Cart Attributes" that you might need to collect (like a gift message or a delivery date). Using a rule to hide these buttons for specific products ensures that customers follow the full checkout flow where you can collect the necessary data. For complementary order-validation rules (for example, to block checkout when required cart attributes are missing), consider CartBlock — checkout validator.

Key Actions for Merchant Success:

  • Audit your gateway fees: Identify your most expensive payment methods and consider hiding them for low-margin products.
  • Analyze your chargeback history: Look for patterns in geography or payment methods and create rules to restrict them.
  • Simplify for mobile: Mobile users have less screen real estate. Use sorting rules to put the most mobile-friendly options at the top.
  • Check for redundancy: If you have three different ways to accept credit cards, hide the two with the highest fees to simplify the user's choice.

Conclusion

Taking control of your Shopify checkout is no longer a luxury reserved for Plus merchants with custom scripts. By utilizing the native power of Shopify Functions through HidePay, any merchant can create a tailored, professional, and high-converting checkout experience. Hiding irrelevant options, sorting preferred methods to the top, and renaming gateways for clarity are all steps toward a more profitable store.

The goal is to provide a checkout that feels local, secure, and straightforward for every customer, regardless of where they are in the world or what they are buying. When you remove the friction of irrelevant payment choices, you allow your customers to focus on what matters: completing their purchase.

Ready to optimize your checkout? Get HidePay for your store on the Shopify App Store and start creating your first rules today.

If you'd like a deeper read on why we built HidePay and the original announcement, check out the Nextools blog post Introducing HidePay for Shopify.

FAQ

Can I hide payment methods based on a customer's tag?

Yes, using customer tags is one of the most effective ways to customize the checkout. You can create rules that hide specific payment methods for retail customers while showing them only to customers with a "Wholesale" or "B2B" tag. This allows you to offer specialized payment terms like "Net 30" or bank transfers exclusively to your professional clients without exposing those options to the general public. See the tutorial on hiding payment methods based on customer tags for details.

Does hiding payment methods affect my store's loading speed?

When you use an app built on native Shopify Functions, there is no impact on your store's loading speed. Unlike older methods that relied on heavy JavaScript or external scripts, Shopify Functions run directly on Shopify's global infrastructure. This means the rules are processed at the same time the checkout page is generated, ensuring a fast and responsive experience for your customers.

Can I hide "Express Checkout" buttons like PayPal or Apple Pay?

Yes, you can hide express checkout buttons using specific rules. This is particularly useful for merchants who need to collect custom information on the cart page—such as delivery dates, gift notes, or terms and conditions agreements—that express buttons sometimes bypass. You can set rules to hide these buttons for certain products or entire collections to ensure your checkout process is followed correctly.

Is it possible to hide a payment method only for specific countries?

One of the primary features of the app is geography-based filtering. You can create rules to hide or show payment methods based on the customer’s country, province, or even specific zip codes. This is ideal for managing local payment gateways or for restricting risky payment methods like Cash on Delivery to only the regions where your logistics partners can reliably support them. For a practical example, see the guide on hiding Cash on Delivery for foreign customers.

Get Started with HidePay

Hide, sort, and optimize Shopify payment methods instantly—no code required.