The script logic is set to record a commission per your total order on your external store.
Level 0 – the commission you set in the program
If the user places an order of 2000$ from Affiliate-A, and the commission is set to 2%, it simply records a transaction of 2% from 2000$ under the Affiliate-A that promotes that order.
A Real Example
For example, if we have Affiliate-A and he sends an invitation URL to his friends or shares it anywhere, and a new user registers to be your affiliate from the Affiliate-A invitation link.
So now, Affiliate-B will be under Affiliate-A.
All activity that will have on the Affiliate-B account will affect the Affiliate-A account and he will get an auto commission from every activity Affiliate-B will do on his account.
For example, If you set level 1 = 5% commission per sale, then it means that Affiliate-A will get automatically 5% every time that Affiliate-B promotes an order on your store.
For example, If you set level 2 = 4% commission per sale, then it means that Affiliate-A will get automatically 4% every time that Affiliate-C promotes an order on your store.
For example, If you set level 3 = 3% commission per sale, then it means that Affiliate-A will get automatically 3% every time that Affiliate-D promotes an order on your store.
For example, If you set level 4 = 2% commission per sale, then it means that Affiliate-A will get automatically 2% every time that Affiliate-E promotes an order on your store.
AND SO ON UNTIL THE MAXIMUM OF 20 LEVELS THAT OUR SYSTEM ALLOWS.