Scalable Marketplace Commission System Development

At a turnover of 10 million rubles (approx. $110,000) per month, a 1% commission calculation error costs 100,000 rubles monthly — that's $1,100. It seems straightforward to multiply order amount by a percentage, but in practice commissions depend on category, sales volume, seller type, promotions, c

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:

Frequently Asked Questions

Latest works

  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1281
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1237
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    977
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    1025
  • image_website-sbh_0.webp
    Website development for SBH Partners
    1103
  • image_website-_0.webp
    Website development for Red Pear
    550

At a turnover of 10 million rubles (approx. $110,000) per month, a 1% commission calculation error costs 100,000 rubles monthly — that's $1,100. It seems straightforward to multiply order amount by a percentage, but in practice commissions depend on category, sales volume, seller type, promotions, coupons, delivery method, and dozens of other factors. We design systems that account for all these nuances and scale without surprises. With over 5 years of experience in marketplace development and 30+ commission module deployments for marketplaces with turnovers from 1 million to 5 billion rubles, we guarantee accuracy and transparency for sellers. Our marketplace commission system typically saves clients 15-20% on operational costs.

How do we ensure accurate commission calculation?

Rule conflicts. With dozens of rules, determining priority becomes nontrivial. Without a clear priority system, duplicate charges or omissions can occur. Our system uses numeric priority and filtering across all dimensions — category, seller, amount.

Performance. Calculating commission in real time for 1000 orders/second requires optimized queries and caching. We use database replicas and rule memoization, ensuring 3x faster speed than typical solutions.

Transparency for sellers. Sellers often don't understand how commission is formed. Without detail, disputes arise. We provide a full breakdown of each charge.

What are the benefits of tiered commissions?

Tiered commissions reward seller growth. For example, a seller with monthly turnover above $50,000 may see their rate drop from 15% to 9%, increasing net profit. Our commission system integration handles this seamlessly.

Building a Flexible Commission System

Data Structure

commission_rules ( id, name, priority, seller_id (nullable — global or seller-specific), category_id (nullable), min_price, max_price, commission_type: percentage | fixed | tiered, commission_value, valid_from, valid_until, is_active ) commission_tiers ( rule_id, from_amount, to_amount, commission_value ) order_commissions ( order_id, seller_id, gross_amount, commission_amount, net_amount, rule_id (applied), calculated_at ) 

Rule Selection Logic

Rules are applied in priority order. The first matching rule wins. Selection algorithm:

  1. Find all active rules where valid_from ≤ now ≤ valid_until
  2. Filter by seller_id (seller-specific have higher priority over global)
  3. Filter by product category_id
  4. Filter by price range min_price ≤ order_total ≤ max_price
  5. Apply the rule with the lowest priority (lower number = higher priority)

If no rule found — apply default rate from config.

Tiered Commissions

Large sellers often use a regressive scale, for example:

Monthly turnover Commission
up to $1,100 (100K RUB) 15%
$1,100 – $5,500 (100K-500K RUB) 12%
$5,500 – $22,000 (500K-2M RUB) 9%
over $22,000 (2M RUB) 7%

Calculation is monthly: at the start of each month accumulated turnover resets, base rate applied. As turnover grows, rate decreases. Technically requires storing monthly_seller_turnover and recalculating on each order.

Commission with Discounts and Coupons

The marketplace may subsidize discounts. Different schemes exist. We configure each according to the client's business model. Options include:

  • Seller pays discount: commission on full price, discount cost borne by seller
  • Platform subsidizes: commission on final amount, platform covers discount
  • 50/50 split: commission on full price, discount shared equally

Commission on Shipping

Some marketplaces charge commission on shipping cost; others don't. Some charge a fixed fee per order regardless of amount. Our approach allows flexible configuration of any combination — cutting implementation time by 2x compared to custom builds.

Calculation and Finalization

Commission is calculated at two points:

  1. At order placement — preliminary calculation, shown to seller
  2. At delivery confirmation — final record in order_commissions

Before finalization, the amount can change: partial refund, order changes. After finalization it's immutable; any adjustments go through a separate commission_adjustments entry.

Ensuring Transparency for Sellers

Reporting

Seller sees in their cabinet:

  • Per-order commission with applied rule breakdown
  • Aggregated report for period: turnover, commission, net
  • Forecast: at current turnover, rate will decrease next month

Platform sees:

  • Revenue report: earnings by category
  • Rule effectiveness analysis: which rules generate more turnover/commission
  • Seller profitability comparison

Audit Trail

Any rule change must be logged with changed_by, changed_at, and diff of old/new value. This is critical for disputes — we can always show which rule was active for a specific order.

Example: Commission audit log entry
{ "rule_id": 42, "changed_by": "[email protected]", "changed_at": "2025-03-01T10:00:00Z", "old_value": 0.15, "new_value": 0.12 } 

What's Included in Commission Module Development?

We provide a complete package:

  • Architecture documentation and rule logic
  • Admin interface for rule management
  • Seller cabinet with reports and forecasts
  • API for external market integrations
  • Load testing (1000 orders/sec)
  • Launch support

Technical Aspects

  • All amounts stored as integers (cents/kopecks) — no floats for money, as recommended by Fixed-point arithmetic on Wikipedia.
  • Calculation moved to a separate CommissionCalculator service — testable, no side effects.
  • Rule changes don't affect already calculated commissions — rule snapshot saved in order_commissions.rule_snapshot (JSON).
  • Load tests: 1000 orders/sec without degradation — 3x faster than typical solutions.

Our experience with flexible commission rules and category-based commission structures is proven by dozens of implementations. With over 5 years on the market and 30+ successful projects, we deliver reliable solutions. Contact us to get a detailed timeline estimate and a free consultation on your seller tariff plans design.