Affiliate plugin per unit sales

Does the affiliate plugin work per unit sold or only for a membership-like site?