A shop with five-level agent commissions, built without plugins
Client & context
A South African retailer selling through a network of agents, where each sale can pay commission up through five levels of that network.
No off-the-shelf platform models this. Every quote they had received involved bending a plugin until it nearly fit.
Client named on request during a call. Permission to publish has not been sought.
The problem
The commission structure runs five tiers deep, and every sale has to resolve correctly through all of them.
Alongside it: vouchers, coupons, product variations and subscription management — each of which interacts with commission calculation.
Platform plugins could model perhaps two tiers, and broke in combination with subscriptions.
What we built
- A fully custom storefront in React with a .NET back end.
- Five-level agent commission engine, calculated per sale.
- Voucher and coupon handling that resolves correctly against commission.
- Product variation management.
- Subscription management for recurring orders.
Technical approach
Commission was treated as the core domain problem rather than an add-on, and modelled first.
Nothing was assembled from plugins. Every rule in the system is one we wrote and can therefore change.
The calculation is deterministic and auditable, so an agent disputing a payout can be shown exactly how it resolved.
Results
- Commission logic no commerce platform offers out of the box, running in production.
- Zero plugins, and therefore zero plugin conflicts to manage at update time.
- Vouchers, variations and subscriptions coexist with commission without special cases.
Technologies
- React
- .NET
- Relational database
- Custom commission engine
Considering something similar?
Message us on WhatsApp or send an email. We'll tell you what it would take and which pricing model fits.