In the real world, Shopify stores come across many use cases that require them to hide a payment method in Shopify.
They may want to restrict certain payment options based on the customer’s location (zip code, city, country), order amount, shipping method, product type, etc.
Some stores also hide high-fee payment gateways for smaller orders to avoid unnecessary transaction costs.
Why Checkout.liquid can’t Be Used Anymore

Previously, Shopify Plus merchants could modify the checkout page using the checkout.liquid file, but Shopify has deprecated it in 2024 in favor of Checkout Extensibility.
Even before its removal, checkout.liquid was never a reliable or clean way to hide payment methods. It only controlled the front-end display, meaning customers could still access hidden options via the browser’s dev tools.
How to Hide a Payment Method Using Vista Payment Customization Rules
Many apps have mushroomed up with solutions but most are difficult to set up and configure.
The Vista Payment Customization Rules app allows you to control payment methods based on multiple conditions and rules involving cart value, product type, customer tags, collections, order weight, and much more.

Here’s how to use it:
- Install the App – Go to the Shopify App Store and install Vista Payment Customization Rules.
- Select a plan.
- Set Up Rules – Select a condition and payment method to create rules. For e.g., to disable COD (cash on delivery) based on conditions (e.g., hide COD for orders under $50).
- Active/Inactive – Enter the rule name and make sure you make it active. You can always come back and make it inactive just in case you want to deactivate the rule without deleting it.
- Test Your Checkout – Place a test order to ensure the rules are being executed.
- Save & Publish – Once satisfied, save the settings, and your checkout will dynamically adjust payment methods for future orders.

Many new use cases have been added in the last two months as requested by many stores. You can reach out to support for adding any use case to the already long list.
This is the most effective and easiest way to control payment visibility on the checkout page without relying on deprecated features.
Download the app from here.