To restrict a payment method at Shopify checkout with CartBlock, create an Advanced Validation, add a condition for the selected payment method, write an error that tells the shopper how to continue, save the rule, and sync the payment method in the CartBlock checkout app block. This documented CartBlock workflow requires Shopify Plus.

The rule validates the payment method a shopper selects and prevents order completion when the selection matches your restriction. It does not remove that payment method from the checkout list. If you need to hide, rename, or reorder an option, use a payment-customization app instead.

This guide explains the difference, walks through the CartBlock setup, and gives you a test plan that protects valid checkout paths.

What does restricting a payment method mean in Shopify?

Merchants usually mean one of two things when they ask how to disable a payment method in Shopify:

  • Validate the shopper’s selection. The payment option remains visible, but checkout cannot be completed when the selected method conflicts with your rule. The shopper sees a message explaining what to change.
  • Customize the available options. An ineligible payment method is hidden before the shopper selects it. Payment-customization apps can also rename or reorder supported options.

CartBlock’s selected-payment-method workflow is a validation. For example, you can stop checkout when a shopper selects Credit Card and display a message asking them to choose an allowed alternative.

Shopify documents hiding, renaming, and reordering as payment method customizations. That is a separate tool and outcome. Choose the workflow that matches the experience you want shoppers to have.

Your goal Best-fit approach
Keep the option visible but stop an invalid order CartBlock payment-method validation
Explain why the selected method cannot be used CartBlock validation with a custom error
Remove an ineligible option from the list Payment customization
Rename or reorder supported payment options Payment customization

When should you restrict Shopify payment methods at checkout?

A payment-method rule is useful when a method is enabled for your store but should not be used for a particular policy or order type. Common examples include:

  • Preventing cash on delivery for orders that create unacceptable fulfillment or non-payment risk.
  • Requiring a prepaid method for selected products or customer groups.
  • Blocking a method that your team cannot reconcile for a particular workflow.
  • Preventing a payment option from being used when another rule condition is met.
  • Showing a specific correction instead of allowing an order your team must cancel manually.

Start by writing the policy in one sentence. For example:

If a shopper selects Credit Card for a restricted checkout, stop order completion and ask them to choose an approved payment method.

The sentence should name the trigger, the blocked result, and a correction that is actually available. Do not tell shoppers to select an alternative until you have confirmed that it appears in the same checkout scenario.

What you need before creating the rule

Prepare these items before opening CartBlock:

  1. A Shopify Plus store. CartBlock’s current payment-method tutorial uses Advanced Validation and labels the feature Shopify Plus-only.
  2. CartBlock installed and on an eligible app plan. Confirm current feature access in the app and on the Cart Block: checkout validator listing before launch.
  3. The exact payment option to restrict. Test the live checkout first so you know how the method is presented to shoppers.
  4. A valid alternative. Decide how a shopper can correct the checkout without contacting support.
  5. A controlled test plan. Include a checkout that should be blocked and at least one that should remain allowed.

CartBlock’s owned guide currently documents Advanced Validation, up to five conditions, AND/OR logic, any and not any matching, and a checkout app-block setting named Sync Payment Method. Interface labels can change, so compare these steps with the live app before activating the rule.

How to restrict payment methods at Shopify checkout with CartBlock

1. Create an Advanced Validation

In CartBlock, open Validation Rules, select Create, and choose Advanced Validation.

Select Advanced Validation in CartBlock for a Shopify checkout rule

The current CartBlock guide states that Advanced Validation is available only to Shopify Plus merchants. If your store is not on Plus, do not assume this validation workflow will be available. Consider whether a payment-customization app better fits your intended outcome.

2. Give the rule a clear internal title

Use a title that another operator can understand without opening the configuration. Examples include:

  • Block credit card — restricted checkout
  • Require prepaid payment — high-risk workflow
  • Prevent COD — selected order policy

The validation title is for internal reference. Include the restricted method and the policy scope rather than using a vague name such as Payment rule 1.

3. Choose where CartBlock evaluates the rule

CartBlock currently documents three validation scopes:

  • Interaction with the cart
  • Completing checkout
  • Interaction within checkout

Its selected-payment-method example enables checkout completion and interaction within checkout. Use the scopes that match your policy, then test every scope you enable. Because a payment method is chosen during checkout, the checkout scopes are the important paths for this rule.

4. Write a corrective error message

Explain what is restricted and what the shopper can do next. A message such as “Payment invalid” creates a dead end.

Prefer a message like:

Credit Card is unavailable for this order. Choose an available bank-transfer option to continue.

Or, if you cannot safely promise a specific alternative:

This payment method is unavailable for this order. Choose another available payment option to continue.

Keep the message factual. CartBlock adds a preventative checkout control; it does not determine whether a shopper or payment is fraudulent.

5. Select the function input

In Function Input, choose the input that exposes the payment-method condition. CartBlock’s current tutorial says merchants can use a specific Payment Input or Standard Input; its example uses Standard Input and notes that the function input requires Shopify Plus.

Use the current in-app labels rather than relying on an old screenshot. If the relevant payment condition is not present, stop and confirm plan access with Nextools support before building a broader substitute rule.

6. Configure the payment-method condition

Add the payment-method condition and select the method that should trigger the validation. The owned example restricts Credit Card.

CartBlock currently allows any or not any matching. Review the generated summary carefully because reversing the operator can block the opposite group of payments from the one you intended.

Choose a payment method and any operator in a CartBlock validation rule

If you add more conditions, choose the logic deliberately:

  • Use AND when every condition must match before checkout is blocked.
  • Use OR when any one of the conditions should trigger the block.

For a first launch, start with the narrowest rule that satisfies the policy. A single well-tested payment condition is easier to verify than a large rule that combines several unrelated restrictions.

7. Review the summary and save

Before saving, confirm that:

  • The selected payment method is the one you intend to restrict.
  • The any or not any operator matches the written policy.
  • AND/OR logic will not broaden the rule unexpectedly.
  • The enabled scopes cover checkout interaction and completion as intended.
  • The error message gives the shopper a realistic next step.

Save the validation only after the plain-language summary matches your policy sentence.

8. Add and configure the CartBlock checkout app block

The documented workflow requires an app block in the checkout editor:

  1. From Shopify admin, open the theme or checkout customization flow described in the current CartBlock guide.
  2. Open the Checkout view.
  3. Add the CartBlock app block.
  4. Set Sync Payment Method to True.
  5. Save the checkout configuration.

Enable Sync Payment Method in the CartBlock Shopify checkout app block

This synchronization step lets the validation use the shopper’s selected payment method. If the rule does not trigger, verify the app block and sync setting before changing the condition itself.

How to test a Shopify payment-method restriction

Test both the failure path and every important allowed path. Use a controlled storefront or development environment and avoid completing a real charge unless your test procedure explicitly requires it.

Test case Payment selection Expected result
Matching restriction Restricted method Checkout is blocked and the custom message appears
Allowed alternative An allowed method Checkout can continue
Changed selection Restricted method, then allowed method Error clears and checkout can continue
Non-matching cart or customer condition Restricted method with the other condition false Checkout remains allowed when AND logic is used
Express checkout path Each supported accelerated path Behavior matches your documented policy and eligibility

Run the tests in a fresh storefront session:

  1. Build a cart that should trigger the rule.
  2. Proceed to checkout and select the restricted payment method.
  3. Confirm the error appears before order completion.
  4. Check that the message is readable and accurate.
  5. Select an allowed method and confirm the shopper can continue.
  6. Repeat with a control case that should not be blocked.
  7. Test Shop Pay or other accelerated paths your store supports.

CartBlock’s current Shop Pay guidance says checkout app blocks must be explicitly included in Shop Pay and that this checkout-extension support is Shopify Plus-only. Recheck the CartBlock Shop Pay setup guide in your installed version before launch.

Common payment-rule mistakes

Expecting the payment option to disappear

CartBlock’s documented rule blocks completion after the restricted method is selected and shows an error. It does not hide the option. Use a payment customization when removal from the list is the intended shopper experience.

Reversing any and not any

A reversed operator can make allowed payments fail while the intended restricted method remains usable. Compare the summary with your one-sentence policy before saving.

Creating a checkout dead end

Do not activate the rule until at least one allowed payment path has been tested for each affected checkout scenario. An accurate error is not enough if the shopper has no valid alternative.

Forgetting the checkout app block

The selected-payment-method workflow requires the CartBlock checkout app block and payment synchronization. Verify Sync Payment Method before troubleshooting the rule logic.

Testing only standard checkout

Accelerated checkout can behave differently from the standard path. Test every path your customers can use and confirm the relevant app block is enabled where Shopify permits it.

Treating a policy rule as fraud detection

A payment restriction can enforce a store policy and reduce exposure to an unwanted order type. It does not prove that a shopper is fraudulent, and it should not replace Shopify’s payment and fraud-analysis controls.

Should you validate or hide the payment method?

Use CartBlock when the method can remain visible and you want to explain why a particular checkout cannot use it. Use a payment-customization app when the option should not appear at all.

Shopify says payment-customization apps can hide, rename, reorder, or sort payment methods. Availability varies by subscription plan and geography. In the United States and Canada, non-Plus stores can customize alternative methods, but credit-card field customizations require Shopify Plus. Shopify also notes that accelerated-checkout customization has additional limits.

For developers, Shopify’s Payment Customization Function API supports operations to hide, move, and rename payment methods. Building and maintaining a custom function is a different workflow from configuring a merchant-facing validation in CartBlock.

Frequently asked questions

Can I disable a payment method in Shopify without Shopify Plus?

It depends on what you mean by disable. Shopify supports third-party payment-customization apps on Basic plans and higher, but plan and regional limits apply, especially to credit-card fields in the United States and Canada. CartBlock’s documented selected-payment-method validation specifically requires Shopify Plus.

Does CartBlock hide the restricted payment method?

No. The documented CartBlock workflow validates the selected method, blocks checkout when the rule matches, and shows a custom error. Use a payment-customization solution when the method itself should be hidden, renamed, or reordered.

Can I restrict cash on delivery in Shopify?

If Cash on Delivery appears as a selectable method in the condition list, you can configure and test a rule for it using the same workflow. Confirm the exact option in your installed CartBlock version and make sure an allowed payment path remains available.

Can I combine a payment method with another condition?

CartBlock’s current advanced-validation guide documents up to five conditions with AND/OR logic. Confirm that your required condition is available, use the narrowest logic possible, and test matching and non-matching cases before activation.

Why is my payment restriction not triggering?

First verify that the rule is saved, the correct scope is enabled, the payment-method operator is not reversed, the CartBlock checkout app block is present, and Sync Payment Method is set to True. Then retest in a fresh session and check the Shop Pay app-block setting if relevant.

Enforce the policy without blocking valid customers

A reliable payment restriction has three parts: a narrow trigger, a helpful correction, and a tested allowed path. Document the policy first, configure the smallest rule that enforces it, and verify both blocked and successful checkout scenarios before launch.

Ready to restrict payment methods at Shopify checkout without hiding valid options? Explore CartBlock on the Shopify App Store, then follow the current selected-payment-method setup guide.