For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set up payment agreements

Add agreements to a payment method so the cashier can pick one at payment and the sale's margin reflects what that payment earns or costs.

An agreement is a named option on a payment method that the cashier picks at payment. It moves the margin on the sale by a percentage of the amount paid, and the customer sees nothing.


Before you start

  • The payment method already added under Admin → Settings → Payment Methods.

  • A product of type Non-Physical for the agreement to post to.

  • The PAYMENT_METHOD permission in Flow Admin.


What an agreement does

When the cashier picks an agreement and the payment completes, Flow Retail adds one line to the order: the agreement's product, at price 0, with a cost worked out from the percentage.

Percentage
Paid amount
Cost on the line
Effect on margin

2.50

6,000.00

−150.00

Up by 150.00

−1.50

6,000.00

90.00

Down by 90.00

A positive percentage is money you earn, a negative one is money you pay. Agreements change the margin only, never what the customer pays.


Add an agreement step by step

1

Open the payment method

Go to Admin → Settings → Payment Methods and click the method. The Edit Payment Method dialog opens.

2

Open the Agreements tab

Click Agreements, then New agreement.

3

Fill in the agreement

Name, product and percentage are required. The table below explains every field.

4

Save the agreement

Click Save in the agreement card. The agreement is saved at once, so you don't need Save Changes at the bottom of the dialog.


What each field does

Field
What it does

Name

What the cashier sees in the list.

Product (non-physical)

The product the extra line is booked on. Only Non-Physical products can be chosen.

Percentage

Share of the paid amount, from −100 to 100. Comma and period both work. A hint under the field says whether it earns or costs.

Valid from / Valid to

The first and last day the agreement can be chosen, both counting in full. Leave a date empty for no limit. The list then shows Not set.

Position

The order in the cashier's list, lowest first. A new agreement goes last.

Active

Switch off to stop offering the agreement without deleting it.

Dates follow your organization's time zone.


What the cashier sees

In Flow Client, the payment screen shows an Agreement field with every agreement that is active and inside its period. The field is marked as required. It only appears when the method has at least one agreement to offer, and not for pre-payments or invoice payments.

On a return, the cashier picks the agreement again. The cost is reversed in proportion to the amount returned.

Flow Assistant does not offer agreements.


Change or retire an agreement

Click a row, or the pencil, to edit it. To stop using an agreement, switch Active off.

An agreement that has already settled an order cannot be deleted. Flow Admin tells you to set it inactive instead, which keeps the history on past sales intact.


If something goes wrong

  • The product is missing from the list. Only Non-Physical products are offered. Check the product's type.

  • Save does nothing. Flow Admin shows why: Fill in the name, the product and the percentage., The percentage must be a number between -100 and 100., or The agreement cannot end before it starts.

  • The cashier is not offered the agreement. Check that it is Active and that today falls between Valid from and Valid to.

  • The line is missing from the order. It is added in the background right after payment completes, so it can take a moment. A failure here never stops the sale.


What's next?

Last updated 25.10.2026

Was this helpful?