{% extends 'agent/_layout.html.twig' %} {% block title %}Casino Commissions Guide{% endblock %} {% block agent_content %}

Casino Commissions Guide

Everything you need to know about how commissions work.

{# ── Your Commission Rate ── #}

Your Total Commission Rate

{{ effectiveRate|number_format(2) }}%

{% if overrideRate is not null %}

Per-master-agent override · Global rate is {{ globalCommissionRate|number_format(2) }}%

{% else %}

Global commission rate{% if globalCommissionRate != effectiveRate %} (set by admin){% endif %}

{% endif %}

This is the total commission earned from every bet placed by your referred players.

You can set how much of this goes to your Agents. The rest stays with you.

{# ── How It Works ── #}

How It Works

1 Player places a bet

When a player you referred bets on a game, the system calculates a commission based on the total bet amount.

2 Total commission is computed

Total Commission = Bet Amount × {{ effectiveRate|number_format(2) }}%

3 Commission is split (if needed)

If the referrer is one of your Agents, the total commission is split between you and your Agent based on the Agent's commission rate.

{# ── Flow Diagram ── #}

Commission Flow

Total Commission = Bet Amount × {{ effectiveRate|number_format(2) }}%
Was the referrer an Agent (with a Master Agent)?
✅ Yes — Split the commission
Agent gets: Total Commission × (Agent's Rate ÷ 100)
You get: Total Commission − Agent's Share
✅ No — Full commission goes to the referrer
If the referrer is you (a Master Agent) or a regular user, they keep 100% of the total commission.
{# ── The Common Misconception ── #}

The Key Concept to Understand

The Agent's Commission Rate is a percentage of the total commission, not of the bet amount.

This is the most common misunderstanding. Many agents think: "If the total commission is 3.5% and my Master set my rate to 2%, then I should get 2% of the bet."

That is incorrect. When you set an Agent's commission rate to 2%, it means:

Agent gets: 2% of the total commission (= 0.07% of the bet if total commission is 3.5%)
You (Master) get: 98% of the total commission (= 3.43% of the bet)
{# ── Examples Table ── #}

Example Scenarios

{% set bet = 100 %} {% set rate = effectiveRate %} {% set totalComm = (bet * rate / 100)|round(2) %} {% set agentShare = (totalComm * 50 / 100)|round(2) %} {% set masterShare = (totalComm - agentShare)|round(2) %} {% set agentShare = (totalComm * 25 / 100)|round(2) %} {% set masterShare = (totalComm - agentShare)|round(2) %} {% set agentShare = (totalComm * 75 / 100)|round(2) %} {% set masterShare = (totalComm - agentShare)|round(2) %} {% set agentShare = totalComm %} {% set masterShare = 0 %}
Scenario Agent's Rate Bet Total Comm. Agent Gets You Get
50/50 Split 50% ₱{{ bet|number_format(2) }} ₱{{ totalComm|number_format(2) }}₱{{ agentShare|number_format(2) }} ₱{{ masterShare|number_format(2) }}
Agent gets 25% 25% ₱{{ bet|number_format(2) }} ₱{{ totalComm|number_format(2) }}₱{{ agentShare|number_format(2) }} ₱{{ masterShare|number_format(2) }}
Agent gets 75% 75% ₱{{ bet|number_format(2) }} ₱{{ totalComm|number_format(2) }}₱{{ agentShare|number_format(2) }} ₱{{ masterShare|number_format(2) }}
Agent gets 100% 100% ₱{{ bet|number_format(2) }} ₱{{ totalComm|number_format(2) }}₱{{ agentShare|number_format(2) }} ₱{{ masterShare|number_format(2) }}
{# ── Formula Explanation ── #}

Formula Reference

Total Commission

Bet Amount × (Commission Rate ÷ 100)

The Commission Rate is either your per-master-agent override ({{ overrideRate is not null ? overrideRate|number_format(2) : 'not set' }}%) or the global rate ({{ globalCommissionRate|number_format(2) }}%).

Agent's Share

Total Commission × (Agent's Rate ÷ 100)
Your Share = Total Commission − Agent's Share

You control the Agent's Rate (0–100%) when you promote a player or edit their commission.

{# ── Tips ── #}

💡 Tips for Master Agents

{% endblock %}