Complete guide to configure and implement Matrix MLM compensation plan
Last updated: February 1, 2024•Version: 2.1.0•Difficulty: Intermediate
Matrix Plan Overview
The Matrix MLM compensation plan (also known as Forced Matrix) restricts the width of each level to a specific number. Once a level is filled, new members spill over to downlines, creating controlled, predictable growth with automatic team building.
Key Characteristics:
• Fixed width structure (e.g., 3x7, 2x12)
• Automatic spillover to downlines
• Controlled and predictable growth
• No balancing requirements
• Ideal for beginners and part-time distributors
How Matrix Plan Works
In a Matrix plan, each distributor has a fixed number of positions in their first level. Once these positions are filled, new members are placed in the next available position in the downline organization, creating automatic team building through spillover.
3x7 Matrix Structure Example
Level 1: 3 positions
Level 2: 9 positions (3 x 3)
Level 3: 27 positions (9 x 3)
Level 4: 81 positions (27 x 3)
Level 5: 243 positions (81 x 3)
Level 6: 729 positions (243 x 3)
Level 7: 2187 positions (729 x 3)
Total Potential: 3,279 positions
Prerequisites
Before configuring the Matrix 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: Matrix plans require careful planning of width and depth parameters as they cannot be easily changed once distributors are enrolled.
Matrix Plan Configuration
Follow these steps to configure the Matrix 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 Matrix Plan from the plan types
Step 2: Basic Plan Configuration
Configure the basic settings for your Matrix plan:
// Matrix Plan Basic Configuration
{
"plan_name": "3x7 Matrix Plan",
"plan_type": "matrix",
"status": "active",
"description": "Standard 3x7 Matrix compensation plan with automatic spillover",
"start_date": "2024-02-01",
"currency": "INR"
}
Parameter
Description
Required
Default
plan_name
Unique name for your Matrix plan
Yes
-
plan_type
Must be "matrix"
Yes
-
status
Plan status (active/inactive)
Yes
active
currency
Commission currency
Yes
INR
Matrix Structure Configuration
Configure the matrix dimensions and placement rules for your plan.
Matrix Dimensions
Define the width and depth of your matrix structure:
Common issues and solutions for Matrix plan configuration.
Common Issues
• Spillover not working correctly
• Commission not calculating for deep levels
• Matrix positions not filling properly
• Cycling not triggering
• Genealogy tree display issues
Debug Matrix Placement
// Enable matrix debug mode
UPDATE system_settings
SET value = 'true'
WHERE setting_key = 'matrix_debug_mode';
// Check placement logs
SELECT * FROM matrix_placement_logs
WHERE plan_id = ?
ORDER BY created_at DESC LIMIT 10;
Common Solutions
Verify matrix width and depth settings
Check spillover rules configuration
Validate placement method settings
Ensure qualification requirements are met
Check user active status in matrix
API Integration
API endpoints for Matrix plan integration and automation.
Core API Endpoints
// Create Matrix Plan
POST /api/v1/plans/matrix
Content-Type: application/json
Authorization: Bearer {api_key}
{
"plan_name": "3x7 Matrix",
"width": 3,
"depth": 7,
"settings": { ... }
}
// Place User in Matrix
POST /api/v1/matrix/placement
{
"plan_id": "matrix_001",
"sponsor_id": "user_123",
"new_user_id": "user_456"
}
// Get Matrix View
GET /api/v1/matrix/view/{user_id}?plan_id=matrix_001
// Calculate Matrix Commission
POST /api/v1/commission/matrix/calculate
{
"user_id": "user_123",
"plan_id": "matrix_001",
"period": "2024-02"
}
Webhook Events
Matrix plan specific webhook events for real-time notifications: