# Set the programme's rules for rewards and refunds (/en/loyalty/programme-rules)

<BeforeYouStart>
- Your role needs the <UI>Set up and publish the programme</UI> permission. By default only the owner has it, and the owner decides who else gets it.
- Your programme is set up. If it isn't, start with [Start and publish your loyalty programme](../loyalty/start-your-programme).
- Loyalty is part of the Perks plans. If you don't see <UI>Loyalty</UI> in the menu, your plan doesn't include it.
</BeforeYouStart>

## Watch the steps [#watch-the-steps]

<Walkthrough device="browser" url="helm.tryportus.online/program">
<WalkStep image="/articles/programme-rules/en-1-per-order.png" spot="0.6,63.9,18.2,6" title="Open How members earn">
In the menu, select **Loyalty**, then **How members earn**. Scroll down to **Programme settings**.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-1-per-order.png" spot="23,26.3,34.2,7.2" title="Rewards per order now">
Nostalgie allows 1 reward per order. A birthday gift can always be used on top.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-2-per-order-chosen.png" spot="23,35,34.2,14" title="Choose the limit">
1, 2 or 3 rewards on one order.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-2-per-order-chosen.png" spot="23,57.6,34.2,19.6" title="How your store applies it">
Each connected system, and the most it can apply to one order today.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-2-per-order-chosen.png" spot="45.8,50.3,11.1,6" title="Review the change">
Select **Review change**. Nothing is saved yet.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-3-per-order-confirm.png" spot="33.2,31,33.6,38" title="Confirm or cancel">
The new limit and the members it covers. Select **Confirm change**, or **Cancel**.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-5-voucher-typed.png" spot="61.2,26.5,33.6,12" title="Reward voucher validity now">
Here, vouchers without their own end date don't expire.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-5-voucher-typed.png" spot="61.2,49.6,33.6,17.4" title="Type the days">
From 1 to 3,650. Perks recommends 30. Then select **Review change**.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-6-voucher-confirm.png" spot="33.2,31,33.6,38" title="Confirm or cancel">
Only vouchers issued from now on get the new validity.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-8-refund-chosen.png" spot="23,29,34.2,6" title="Refunds after a reward now">
Nostalgie recovers the points from later purchases.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-8-refund-chosen.png" spot="23,37.8,34.2,29.6" title="Choose what happens">
Recover from later purchases, or your business carries it.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-9-refund-figures.png" spot="23,28.8,34.2,36" title="What refunds did lately">
The last 30 days, in points, not money.
</WalkStep>

<WalkStep image="/articles/programme-rules/en-10-refund-confirm.png" spot="33.2,28.5,33.6,43" title="Confirm or cancel">
Only refunds from now on follow the new choice.
</WalkStep>
</Walkthrough>

## Find the programme's rules [#find-the-programmes-rules]

<Steps>
<Step title="Open the page">
<Path to="Loyalty > How members earn" />

Scroll down to <UI>Programme settings</UI>. The three rules in this article each have a card: <UI>Rewards per order</UI>, <UI>Reward voucher validity</UI> and <UI>Refunds after a reward</UI>.
</Step>
</Steps>

<Note>
Each card works the same way. Choose a new value, select <UI>Review change</UI>, then <UI>Confirm change</UI>. <UI>Review change</UI> stays greyed out until your choice is different from the one in force. Helm checks the change with the server first, and nothing is saved until you confirm.
</Note>

## Set how many rewards fit on one order [#set-how-many-rewards-fit-on-one-order]

<Steps>
<Step title="Read the limit in force">
On the <UI>Rewards per order</UI> card, the first line shows it, such as <UI>Current limit: 1 per order</UI>. Perks starts every programme at 1.
</Step>

<Step title="Choose the new limit">
Under <UI>Rewards allowed on one order</UI>, choose <UI>1</UI>, <UI>2</UI> or <UI>3</UI>. A reward bought with points and a reward voucher each count as one.
</Step>

<Step title="Check how your systems apply it">
Under <UI>How each connected system applies it</UI>, each system that takes your orders has a line.

<Options>
<Option label="The system refuses an extra Perks reward on the order itself.">
The system turns away a reward beyond the limit at checkout.
</Option>

<Option label="The system cannot count Perks rewards on one order.">
Perks lets a customer hold only as many reward codes as the limit, and flags any extra use for your review.
</Option>

<Option label="Perks rewards are not used through this system yet.">
Rewards can't be used there today.
</Option>
</Options>

A line such as <UI>Most this system can apply to one order today: 2</UI> is that system's own ceiling, whatever limit you choose.
</Step>

<Step title="Review and confirm">
Select <UI>Review change</UI>. The window <UI>Confirm rewards per order</UI> shows the new limit, such as <UI>New limit: 2 per order, plus a birthday gift.</UI>, and the number of members in scope. Select <UI>Confirm change</UI>, or <UI>Cancel</UI> to leave it as it is.
</Step>
</Steps>

<Example>
A demo store allows 1 reward per order, and its own store can apply at most 2 to one order today. If it chose 2, a customer could use a points reward and a reward voucher on the same order, and a birthday gift on top.
</Example>

## Set how long a reward voucher stays valid [#set-how-long-a-reward-voucher-stays-valid]

<Steps>
<Step title="Read the validity in force">
On the <UI>Reward voucher validity</UI> card, the first line shows it: <UI>Current: vouchers without their own end date don't expire</UI>, or the number of days, such as <UI>Current: 30 days from the day a voucher is issued</UI>. It applies only to vouchers issued without their own end date.
</Step>

<Step title="Type the number of days">
In <UI>Days a voucher stays valid</UI>, type a whole number from 1 to 3,650. Perks recommends 30, and the box starts at 30 until you save your own.
</Step>

<Step title="Review and confirm">
Select <UI>Review change</UI>. The window <UI>Confirm voucher validity</UI> shows <UI>New vouchers will stay valid for 60 days.</UI> (with your number) and the number of customers covered. Select <UI>Confirm change</UI>, or <UI>Cancel</UI>.
</Step>
</Steps>

<Note>
The card also tells you whether customers get a reminder before a voucher expires, such as <UI>Customers are reminded 7 days before a voucher expires.</UI> It is the same message as the one for points: turn on <UI>Points expiring</UI> under <UI>Settings</UI>, then <UI>Member messages</UI> (the card itself still says Settings › Notices).
</Note>

<Note>
Helm shows: <UI>Perks recommends 30 days. You set your own validity, from 1 to 3,650 days; compliance with your market's rules is yours.</UI>
</Note>

## Choose what a refund does to spent points [#choose-what-a-refund-does-to-spent-points]

A refund always takes back the points the refunded purchase earned. This setting decides what happens when the customer has already spent those points.

<Steps>
<Step title="Read the setting in force">
On the <UI>Refunds after a reward</UI> card, the first line shows it: <UI>Current: recover the points from later purchases</UI> or <UI>Current: your business carries the points</UI>.
</Step>

<Step title="Choose what happens">
Under <UI>When a refunded purchase's points were already spent</UI>, choose one.

<Options>
<Option label="Recover from later purchases · recommended">
The customer's points go below zero. Their next purchases repay them first, and they can't use rewards until the balance is back above zero. This is the setting a programme starts with.
</Option>

<Option label="Your business carries it">
The customer keeps what they already used, and their balance returns to zero. Perks records the points your business carried.
</Option>
</Options>
</Step>

<Step title="Review and confirm">
Select <UI>Review change</UI>. The window <UI>Confirm the refund setting</UI> repeats what your choice does and shows the number of customers covered. Select <UI>Confirm change</UI>, or <UI>Cancel</UI>.
</Step>
</Steps>

<Example>
A customer with no other points earns 40 points on an order, spends them on a reward, then refunds the order. With <UI>Recover from later purchases</UI>, their balance goes 40 points below zero, and the next 40 points they earn repay it. With <UI>Your business carries it</UI>, their balance returns to zero, and Perks records 40 points your business carried.
</Example>

<Note>
Helm shows: <UI>Refunds are always accepted, whatever this setting says.</UI> Neither choice holds up a refund at the POS.
</Note>

<Screenshot src="/articles/programme-rules/{lang}-9-refund-figures.png" alt="The Refunds after a reward card with Your business carries it chosen, and the refund figures for the last 30 days" caption="Chosen on Nostalgie's demo store and closed with Cancel. It still recovers." title="Refunds in the last 30 days" url="helm.tryportus.online/program" width={1280} height={800}>
<Hotspot x={28.9} y={37.5} title="Points owed now">
Points customers owe today, and how many customers are below zero.
</Hotspot>

<Hotspot x={40} y={37.5} title="Points your business carried">
Points you carried under Your business carries it.
</Hotspot>

<Hotspot x={51.3} y={37.5} title="Points left to recover">
Points refunds in this period took below zero.
</Hotspot>

<Hotspot x={28.9} y={52.5} title="Refunds">
Refunds in this period, and how many came after a reward was used.
</Hotspot>

<Hotspot x={40} y={52.5} title="Open alerts">
Raised for a customer with 2 refunds after a reward in 90 days.
</Hotspot>
</Screenshot>

<WhatHappensNext>
- You see <Message>Rewards per order saved.</Message>, <Message>Voucher validity saved.</Message> or <Message>Refund setting saved.</Message>
- A new rewards-per-order limit applies to rewards held from then on. An order already in progress keeps what it holds.
- A new voucher validity applies to vouchers issued from then on. Each voucher keeps the end date it was issued with.
- A new refund setting applies to refunds from then on. Refunds already settled keep what they recorded.
- If an order is refunded in full, the points spent on rewards used on that order come back, and a voucher used on it is replaced by a new one with the same terms.
- When a customer refunds after using a reward a second time within 90 days, Helm raises a refund alert. The <UI>Refund alerts</UI> list appears on the <UI>Customers</UI> page only while there is an open alert, and only for roles with the <UI>Edit settings</UI> permission. Select <UI>Dismiss</UI> once you've looked at it.
</WhatHappensNext>

<IfSomethingGoesWrong>
<Problem message="Your role can't change rewards per order. Ask the owner for access.">
Your role doesn't hold <UI>Set up and publish the programme</UI>. The owner can add it to your role. Without it you also don't see the <UI>Reward voucher validity</UI> and <UI>Refunds after a reward</UI> cards.
</Problem>

<Problem message="You don't see Refunds after a reward">
The card shows only for a programme that counts points, and only to roles with <UI>Set up and publish the programme</UI>.
</Problem>

<Problem message="Review change stays greyed out">
Your choice is the same as the one in force, or the number of days isn't valid. Choose a different value.
</Problem>

<Problem message="Enter a whole number of days from 1 to 3,650.">
Type a whole number from 1 to 3,650, then select <UI>Review change</UI>.
</Problem>

<Problem message="We could not check the change. Try again; no setting was changed.">
Select <UI>Review change</UI> again.
</Problem>

<Problem message="We could not save voucher validity. No setting was changed. Try again.">
Select <UI>Confirm change</UI> again. The same kind of message shows for rewards per order and the refund setting. It also shows if you closed <UI>Confirm it’s you</UI> without confirming.
</Problem>

<Problem message="Rewards per order could not be loaded. Try again before changing it.">
Select <UI>Retry</UI>. The voucher and refund cards show their own message and a <UI>Retry</UI> button too.
</Problem>

<Problem message="A customer can't use a reward after a refund">
Their balance is below zero under <UI>Recover from later purchases</UI>. Their next purchases repay it first, and then they can use rewards again.
</Problem>
</IfSomethingGoesWrong>

<Note>
These changes need a recent sign-in. If Helm shows <UI>Confirm it’s you</UI>, type your <UI>6-digit code</UI> and select <UI>Confirm</UI>, or select <UI>Use Face ID, Touch ID or a security key instead</UI>.
</Note>

<Related>
<RelatedArticle title="Set when points expire" href="../loyalty/set-points-expiry" />

<RelatedArticle title="Create rewards and tiers" href="../loyalty/rewards-and-tiers" />

<RelatedArticle title="Set how members earn points" href="../loyalty/how-members-earn" />
</Related>