Referral partners (operator)

A partner is an adviser, agency or focus-group moderator who sends clients to KolorIQ. Each gets a code. An account that uses the code skips the waitlist and is tied to that partner; what it buys within the partner's term earns the partner a commission. KolorIQ never sends money. You pay partners by hand and record the payment.

The rules follow the Partner Engine plugin's (first partner wins, a wait before a commission is due, refunds cancel or claw back, no self-referral), so the two can be joined later (spec 04 OQ-33).

How it works

Step What happens
A visitor opens https://<site>/?ref=<code> The code is kept in that browser and used once after they sign in
Or types the code under "Have an invite code?" Same effect
The account is let in It skips the waitlist, marked "partner:"
The account is tied to the partner Once, for good. A second partner's code changes nothing. An account that has already bought cannot be tied
The account buys a panel A commission is made: the rate times the amount paid net of tax, with the rate copied at that moment
30 days pass The commission becomes due
A refund before it was paid The commission is cancelled
A refund after it was paid A clawback: taken off the next payment
The term ends (12 months from referral by default) Later purchases earn nothing

Free surveys, purchases paid entirely by a discount code, and purchases while the partner is paused earn nothing.

Getting started (owner)

  1. Apply 0010_partners.sql after 0009 and run the two verification queries in its header.
  2. Agree terms with the partner in writing. Defaults in the form: 20 percent of net revenue for 12 months (spec 04 OQ-30; a starting offer, not a researched market rate).
  3. Console, Partners, "Add a partner": name, their email, a code, rate, term. Save.
  4. Send them their link https://<site>/?ref=<code> and the article Refer a client.
  5. For their own partner page (/partner): they sign up with the email you entered, then you open the partner and press Save once more. The page shows counts and money, never who was referred.

Paying a partner

  1. Console, Partners: the "Due now" column. Open the partner for each commission.
  2. Pay the amount shown in "Mark as paid" (due, less clawbacks) by bank transfer against their invoice.
  3. Press Mark as paid and enter the transfer or invoice reference. Every due commission becomes paid, clawbacks are settled, and the payment appears on the partner's page and in the Log.

Ask your accountant how partner payments are invoiced and taxed (a partner in another EU country usually invoices with reverse-charge VAT); nothing here handles that.

Settings on a partner

Field Meaning Limits
Code What people type, and the ref in the link. Not case sensitive 4 to 40 letters, digits or dashes; not an existing invite code
Commission Share of the amount paid net of tax 0 to 50 percent
Term Months from the day of referral in which purchases earn 1 to 60
Status Paused: the code stops letting people in and nothing new is earned. Earned commissions stay active or paused
Their account email Links the partner's own page to their account must match the email they sign in with

Changing the rate or term affects only commissions made afterwards.

Limits

  • One partner per account, set once. To move an account to another partner, change profiles.partner_id in the database and note why.
  • A partner page shows one partner per account.
  • Commission is on the amount recorded at checkout. Tax is known only when Stripe Tax is on (STRIPE_AUTOMATIC_TAX); without it the tax is taken as zero.
  • No clicks or visits are counted, only accounts that used the code.
  • Payments are recorded, not made. There is no payout file.

Troubleshooting

Message or symptom Cause Fix
"A partner needs a name and a code of 4 to 40 letters, digits or dashes." Name empty or code malformed Correct the form
"The rate is between 0 and 50 percent, the term between 1 and 60 months, and the status active or paused." A value outside the limits Correct the form
"That code is already in use as an invite code or by another partner." Codes share one namespace Choose another code
"Nothing is due to this partner yet." Every commission is still inside its 30 days, or already paid Wait; the due date is on each line
"Refunds of sales already paid out are larger than what is due, so there is nothing to pay yet." Clawbacks exceed what is due Nothing to pay; it nets off against later sales
"Give the reference of the transfer or invoice; it is kept in the log." Mark as paid with an empty reference Enter one
A referred account bought and no commission appeared The account was tied to no partner (it had bought before, or another partner was first), the term is over, the partner is paused, or the purchase was free Open the account under People; "Let in by" shows the code used
"This is your own partner code. It is for the people you refer, not for your own account." The partner used their own code None needed
"This account is on hold, so a code cannot let it in. Your studies page says why and what to do." A held account tried a code See Sign-up defences; release it if genuine
The partner's /partner page says "This account is not a partner account." Their account is not linked Getting started, step 5