Complete guide to configure and implement Binary MLM compensation plan
Last updated: February 1, 2024•Version: 2.1.0•Difficulty: Intermediate
Binary Plan Overview
The Binary MLM compensation plan organizes distributors in a two-legged structure where each member can sponsor only two direct downlines. Commission is calculated based on the weaker leg's performance, encouraging balanced growth across both legs.
Key Characteristics:
• Two-legged structure (Left & Right legs)
• Commission based on weaker leg volume
• Encourages balanced team building
• Fast growth potential with spillover
• Suitable for motivated networkers
How Binary Plan Works
In a Binary plan, each distributor has two positions to fill - left and right. When both positions are filled, the distributor becomes active and starts earning commissions based on the business volume generated in their weaker leg.
Binary Plan Example
Distributor A
├── Left Leg (Volume: 5000 PV)
│ ├── Distributor B
│ └── Distributor C
└── Right Leg (Volume: 3000 PV)
├── Distributor D
└── Distributor E
Commission Calculation: Based on weaker leg = 3000 PV
Prerequisites
Before configuring the Binary plan, ensure you have the following prerequisites in place:
1. System Requirements
MLMPortal.in software version 2.0 or higher
MySQL 5.7+ or PostgreSQL 10+ database
PHP 7.4+ with required extensions
Minimum 2GB RAM for production environment
SSL certificate for secure transactions
2. Business Configuration
Company profile and settings configured
Product catalog with point values (PV)
Payment gateway integration
User roles and permissions defined
Tax settings configured
Important: Ensure you have a complete backup of your database before making any configuration changes to the compensation plan settings.
Binary Plan Configuration
Follow these steps to configure the Binary plan in your MLMPortal.in admin panel.
Step 1: Access Plan Settings
Login to your MLMPortal.in admin panel
Navigate to Settings → Compensation Plans
Click on Add New Plan
Select Binary Plan from the plan types
Step 2: Basic Plan Configuration
Configure the basic settings for your Binary plan:
// Binary Plan Basic Configuration
{
"plan_name": "Standard Binary Plan",
"plan_type": "binary",
"status": "active",
"description": "Standard Binary compensation plan with balanced leg requirements",
"start_date": "2024-02-01",
"currency": "INR"
}
Test commission calculations with various leg volumes
Verify placement rules work correctly
Test carry-forward functionality
Validate bonus calculations
Test payout processing
Verify genealogy tree generation
Troubleshooting
Common issues and solutions for Binary plan configuration.
Common Issues
• Commission not calculating for balanced legs
• Placement not working automatically
• Carry-forward not functioning
• Genealogy tree display issues
Debug Commission Calculation
// Enable debug mode
UPDATE system_settings
SET value = 'true'
WHERE setting_key = 'debug_mode';
// Check commission logs
SELECT * FROM commission_logs
WHERE user_id = ? AND plan_id = ?
ORDER BY created_at DESC LIMIT 10;
Common Solutions
Verify plan status is set to "active"
Check minimum PV requirements are met
Validate placement rules configuration
Ensure carry-forward settings are correct
Check user active status and qualifications
API Integration
API endpoints for Binary plan integration and automation.
Core API Endpoints
// Create Binary Plan
POST /api/v1/plans/binary
Content-Type: application/json
Authorization: Bearer {api_key}
{
"plan_name": "Standard Binary",
"commission_rate": 10,
"settings": { ... }
}
// Calculate Commission
POST /api/v1/commission/calculate
{
"user_id": "user_123",
"plan_id": "binary_001",
"period": "2024-02"
}
// Get Binary Tree
GET /api/v1/genealogy/binary/{user_id}
Webhook Events
Binary plan specific webhook events for real-time notifications: