Hide a payment method

To hide a payment method at checkout, create a payment function of the hide type. You choose the payment methods to hide and the conditions under which they're hidden.

Create the function

  1. In the app, go to Payment Function and click Create Payment Function.

    The Payment Function page of the app, with Payment Function highlighted in the menu and the Create Payment Function button at the top right.

  2. Click Hide payment methods.

    The Create Payment Function dialog, with Hide payment methods highlighted.

  3. In Payment Function title, enter a name that helps you find the function later, for example Hide XYZ Payment Method. Customers don't see it.

    The Payment Function title field, with the note Not displayed to customers.

Choose the payment methods to hide

  1. Under Hidden payment methods, choose a match type: Contains or is.

  2. In Select Payment Method, select the payment method to hide.

  3. To hide more payment methods, click Add Payment Method and repeat.

    Hidden payment methods with the match type menu open on Contains and is, the Select Payment Method field and the Add Payment Method button.

The match types work like this:

  • Contains: the payment method is hidden if any word you enter matches its name.
  • is: you select the exact name of the payment method.

Set when they're hidden

The payment methods are hidden only when the conditions you set here are met.

  1. Next to Hide when matching, choose all conditions or any condition.

  2. Choose a rule type in Select Rule type and a condition in Select Rule Condition, then enter the value.

  3. To add another rule with different conditions, click Add New Rule. One payment function can hold several rules.

  4. Click Save.

    The rules of the function, with all conditions and any condition next to Hide when matching, the list of rule types open, and the Add New Rule and Save buttons.

  • all conditions: the payment method is hidden only if every condition is met.
  • any condition: the payment method is hidden if any one of the conditions is met.

The rule types are grouped under Cart Details (Total Amount, Subtotal Amount), Cart Has Any Items (SKU, Choose Collection, Single Line Quantity, All Line Quantity), Address (Country, Province Code / State Code, Zip Code / Postal Code, City / Area, Address Line), Customer (Customer tags, Total Spend) and Delivery / Shipping (Title).

Check that it works: go to your checkout with a cart that meets your conditions. The payment method you hid isn't offered.

If it doesn't work

  • The name doesn't match. With is, the name must be the exact name of the payment method. With Contains, check that the word you entered is part of its name.
  • The conditions aren't met. With all conditions, the cart has to meet every condition, not just one.
  • The rule still doesn't work on checkout. Share the function's error log with the developer. The Share app function logs card at the bottom of the function's page lists the steps: open the Checkout Engine manage app page from the link in the card, click Share logs in the Share function logs card, then click Share logs in the dialog.

To change the name or the order of payment methods instead, see Rename a payment method and Reorder payment methods.

Need a hand? Email support@scriptengine.net and our team will help you set it up.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us