# Payment rules

FunctionFlow AI · Function types · Updated October 3, 2026

> Hide, rename or reorder payment methods at checkout — for example hide Cash on Delivery above $300 or offer bank transfer only to wholesale customers.

Payment functions change which payment methods customers see at checkout, what they’re called and in what order. In Shopify they’re *payment customizations*, listed under **Settings → Payments**.

![A payment function: when the cart total is greater than 300, hide payment methods containing cash on delivery](https://help.fleekapps.com/media/functionflow-ai/payment-actions.webp "Hide Cash on Delivery when the cart total is greater than $300.")

## Actions

- **Hide payment method** — removes the matching methods.
- **Rename payment method** — **New name** is what customers see, e.g. *Cash on Delivery (+$5 fee)*.
- **Reorder payment method** — **Move to position**: 1 is the top of the list.

## Choose which payment methods

Payment methods are matched **by the name shown at checkout**:

- **Name contains** — *cash on delivery* matches *Cash on Delivery (COD)*.
- **Name is exactly** — the whole name.
- **All except names containing** — every method except those; this is how you “show only” some methods.
- **All payment methods**.

Upper and lower case don’t matter, and several names can be entered — any of them matches.

> **Tip:** Use the names customers see at checkout — they can differ from the names in your Shopify admin, so check a real checkout first.

## Examples

| Goal | When | Then |
|---|---|---|
| No COD on big orders | Cart total is greater than 300 | Hide → name contains *cash on delivery*, *cod* |
| No PayPal for digital products | Product type is *Digital* (on any item) | Hide → name contains *paypal* |
| Bank transfer only for wholesale | Invert: Customer tags has any of *wholesale* | Hide → name contains *bank* |
| No cards for high-risk countries | Country is any of the countries you choose | Hide → name contains *card* |
| Bank transfer first for wholesale | Customer tags has any of *wholesale* | Reorder → name contains *bank* → position 1 |

## Things to know

- Make sure at least one payment method stays visible for every cart you sell to.
- Amounts in payment rules are compared with the cart in the customer’s checkout currency. If you sell in several currencies, add a **Currency** condition or set thresholds per market.
- Shopify allows up to **25 payment customizations** per store.

[Test the rule](https://help.fleekapps.com/functionflow-ai/test-a-function/): the tester has a **Payment methods at checkout** list — use your real method names.

---
Source: https://help.fleekapps.com/functionflow-ai/payment-rules/
