An affiliate program in Magento 2: from referral link to commission settlement

2 min read

Silver 3D illustration with accents: plum and mint — Advanced Affiliate Module for Magento 2

An affiliate program must connect referred sales with commission and later settlement. Kowal Affiliate supports links, codes, balance history and payout requests. Define the financial rules before exposing the partner portal to real participants.

Define the data and scope

Before changing anything, record the SKU, store view, customer group and currency. Choose one control product and note its initial state. This keeps the comparison tied to the same data rather than two similar screens with different settings.

Prepare the configuration

Under Stores → Configuration → Affiliate Program, set approval, commission, hold period and payout threshold. Commission uses the order subtotal; an affiliate-account rate takes precedence over the program default. The customer’s coupon discount and the partner’s commission percentage are separate settings. Define cancellation and refund handling before launch.

Start in a test environment using the theme and buying process actually used by the store. Change one setting at a time. Record both the selected configuration scope and any inherited value so another administrator can reproduce the result.

Run a concrete scenario

Approve a test account, follow its referral link and place an order. Compare attribution, commission and availability after the hold. Repeat separately with the partner code. Then create a refund and payout request, checking commission reservation and balance-ledger entries rather than only the displayed headline balance.

Keep the result before and after the change. Repeat the exercise with a qualifying product and a case that should remain unaffected. For multiple store views, also check the message language and pricing context.

Check boundaries and accept the implementation

The default mode is payout_only. Marking a request paid confirms a workflow step and does not execute a bank transfer. Optional AI is disabled initially; product knowledge uses an existing Vector Store without synchronizing it independently. Do not assume a shared wallet with loyalty points; settlement remains separate.

For acceptance, retain the settings, expected result, observed result and test date. Describe discrepancies with a concrete example. After release, check the same journey on a phone and after reopening the page with the cache in use.

Related stages of the process

Points reward a loyalty participant; commission compensates a partner for referred sales. Compare these processes separately, including returns. Mentioning them together does not imply automatic integration, a shared balance or conversion between points and commission. See Magento 2 Loyalty Program - Kowal Loyalty & Rewards Suite and the guide Loyalty points in Magento 2: planning accrual, redemption and reversals.

Check features and configuration in the offering for Advanced Affiliate Module for Magento 2.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)