PayRules vs Payfy vs Lokally: Best Shopify Apps to Hide Payment Methods & COD
Quick Recommendation (TL;DR)
- Choose PayRules if you only need basic cart-total or customer-tag based payment hiding and do not require pincode-level geographical rules.
- Choose Payfy if your primary goal is adding extra Cash on Delivery handling fees at checkout.
- Choose Lokally if you need full pincode-level surgical COD restriction, combined with sub-country regional pricing, location-based storefront banners, and rewards from a single dashboard.
Managing payment methods at checkout has become a core requirement for Shopify merchants. Whether you need to hide Cash on Delivery (COD) in high-risk postal codes, promote instant UPI payments, or hide specific gateways for high-value orders, choosing the right app determines your checkout reliability and speed.
In this guide, we break down the top four apps in the Shopify ecosystem: Lokally, PayRules: Hide Payment Methods, Payfy: Cash on Delivery & Fees, and Bsure Checkout Rules.
At a Glance: Feature Comparison Matrix
| Feature | Lokally | PayRules | Payfy | Bsure Checkout Rules |
|---|---|---|---|---|
| Technology Base | Shopify Functions (Native) | Shopify Functions | Shopify Functions | Shopify Functions |
| Hide COD by Pincode / Zip | ✅ Yes (CSV bulk upload) | ⚠️ Partial | ⚠️ Partial | ✅ Yes |
| Hide / Show by Cart Total | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
| Rename Payment Methods | ✅ Yes (e.g. "Instant UPI — Get ₹50 Off") | ✅ Yes | ❌ No | ⚠️ Limited |
| Reorder Payment Gateways | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes |
| Regional Pricing Engine | ✅ Yes (Pincode & State) | ❌ No | ❌ No | ❌ No |
| Location Banners & Content | ✅ Yes | ❌ No | ❌ No | ❌ No |
| Speed Impact on Storefront | 0 ms (Server-side) | 0 ms (Server-side) | 0 ms (Server-side) | 0 ms (Server-side) |
| Free Trial | 7 Days Free | Free tier / Paid | 7 Days Free | 14 Days Free |
1. Lokally: Complete Regional Commerce & Payment Rules
Best for: Indian and international D2C brands that need to control payment methods while simultaneously managing regional pricing and location-based promotions.
Unlike standalone payment rule apps that operate in isolation, Lokally connects payment rules directly to geographical regions. For instance, you can define a "High RTO Zone" containing 400 pincodes in North India. With one click, Lokally can:
- Hide COD for those 400 pincodes at checkout.
- Rename UPI to "Prepaid UPI (Free Shipping + ₹50 Instant Off)" for those pincodes.
- Show a localized announcement banner on your product pages warning shoppers that orders to their pincode must be paid online.
Pros:
- All-in-One Engine: Eliminates the need to install 3 separate apps (a payment rule app, a pincode validator app, and a geo-pricing app).
- CSV Pincode Upload: Easily import high-RTO pincode lists exported directly from logistics platforms like Shiprocket, Delhivery, or Bluedart.
- Modern Shopify Functions Architecture: Executes 100% server-side on Shopify checkout infrastructure. Zero client-side JavaScript slows down your store.
Cons:
- Focused on regional and rule-based commerce; does not provide post-purchase upsell popups.
2. PayRules: Hide Payment Methods
Best for: Stores with simple conditional payment rules based on order value, customer tags, or product categories.
PayRules is a dedicated payment customization app designed to show or hide payment gateways based on rule sets.
Key Capabilities:
- Hide payment methods when specific products or collections are in the cart.
- Hide gateways if the customer has a specific customer tag (e.g., wholesale or B2B accounts).
- Reorder payment gateways so preferred options appear at the top.
Limitations:
- Managing large postal code or pincode lists (like 5,000+ Indian pincodes) can be cumbersome without native geographic grouping.
- Lacks storefront location widgets or regional price adjustment features.
3. Payfy: Cash on Delivery & Fees
Best for: Merchants who want to charge an extra surcharge or handling fee for Cash on Delivery orders.
Payfy focuses specifically on monetizing or discouraging COD by appending a fee to COD orders.
Key Capabilities:
- Adds a fixed or percentage-based COD fee to the checkout total.
- Shows custom instructions or disclaimers when COD is selected.
Limitations:
- In India, many shoppers abandon checkout if a COD fee is abruptly added at the final step without prior notice.
- Does not offer pincode-level storefront content swaps or regional price customization.
4. Bsure Checkout Rules
Best for: Enterprise Shopify Plus brands seeking complex multi-condition checkout rules.
Bsure provides validation and payment customization rules, particularly for stores running custom checkout extensions on Shopify Plus.
Key Capabilities:
- Blocks checkouts with incomplete or PO box addresses.
- Restricts payment methods by customer group and cart attributes.
Limitations:
- Higher pricing tier compared to standalone utility apps.
- Setup can require extensive configuration.
How to Set Up Payment Rules to Hide COD by Pincode
Here is how you can set up pincode-level COD restriction on Shopify using Lokally in under 5 minutes:
Step 1: Install Lokally
Install Lokally from the Shopify App Store. The app uses Shopify's native Payment Customization Function, meaning no code edits to checkout.liquid are needed.
Step 2: Navigate to Payment Rules
From the Lokally dashboard in your Shopify Admin, click Payment Rules → New Rule.
Step 3: Choose Your Action & Target Method
- Action: Select
Hide. - Payment Method: Select
Cash on Delivery (COD).
Step 4: Define Target Pincodes
Choose Location Type: Pincode and upload your CSV list of high-RTO postal codes. You can also target entire states or custom zones.
Step 5: Save & Verify
Click Publish. Now, whenever a shopper with a shipping address matching those pincodes reaches checkout, Shopify will automatically hide COD and display only prepaid methods (Credit/Debit Card, UPI, Net Banking, EMI).
Frequently Asked Questions
Will hiding payment methods slow down my checkout?
No. All modern payment rule apps (including Lokally and PayRules) utilize Shopify Functions. These run server-side in WebAssembly sandbox environments during checkout calculation, adding zero milliseconds of frontend delay.
Can I rename "Cash on Delivery" to explain why it is restricted?
Yes. With Lokally, you can use the Rename rule to adjust payment labels dynamically based on location or cart contents.
Does this require Shopify Plus?
No! Shopify Functions for Payment Customization are available on all Shopify plans (Basic, Shopify, Advanced, and Plus).
Related reading: How to Reduce Shopify RTO with COD Restrictions and Shopify Payment Method Rules by Pincode.