Only some payment methods for a sale or a customer
The customer asks: Delivery-platform customers paying only by the platform's method, no on-account for a cash customer, a method only from a minimum sale, and methods that may not be combined
- Verdict: Ready, with limits (6)
- Door: Check before payment · area: Till controls and approvals › Payment
- Recipe: Payment method rules: which payment methods each customer group may use
- Sample: S46 — Payment method rules (pp_pmr): which payment methods each customer group may use
- Checked: run on our test bench 2026-10-23 · a rule per customer group leaving methods off the till's payment screen, a group taking the rule above it, a sale with nothing left to pay with refused; 2026-10-29 · bench · a method from a minimum sale
What you build
A rule record per customer group (Only these payment methods or Every payment method but these), and a service that answers the check before payment with allow and exclude_tenders: the payment methods this sale's customer may not use. A group with no rule takes the rule of the nearest group above it. A method on a rule may name an amount, From a sale of: it is then offered only on a sale of at least that much.
Limits
- Answered when the cashier presses Pay, not when the line is entered.
- The excluded methods show dimmed, with your reason.
- Refunds are not judged. An exchange's new items are, as a sale: a rule must leave store credit in, or that group cannot exchange.
- A group's own rule replaces the rule above it entirely.
- Two methods together in one sale are not judged: the check answers before a method is picked.
- Leaving out the store's first card method stops card payments at the till.
Tell the customer
At Pay the till offers only the payment methods this sale and this customer may use; the others are dimmed with the reason.
What next
- Tell the customer the 6 limits above, and write them into the proposal.
- Follow the recipe: Payment method rules: which payment methods each customer group may use.
- Copy the sample: S46 — Payment method rules (pp_pmr): which payment methods each customer group may use, and change it.
- Build and test it on your sandbox (request one if you have none; what is on it).
- Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
- Release through the customer's own release gate (The customer's release gate); an app other retailers install goes through the App library.
Test it with your service stopped: the till applies the answer you declared for when it is down.
Related needs
- Loyalty points redeemed only on a sale of at least a set amount; a payment method offered only from an amount — Ready, with limits (8)
- An account customer's purchase order number, an insured patient's policy number or a contractor's project required at Pay, and nothing asked of other customers — Ready, with limits (8)
- A coupon can be redeemed only so many times in a store — Ready, with limits (3)
- A coupon only a new customer may use, or only customers of one group — Ready, with limits (6)
Start a project shortlist with this need · Put it in your blueprint · Every need