...
No Format |
---|
|
return bcadd(computeTieredFee($quantity, $monthlyVolume, array(
1000000 => '0.001',
'' => '0.00075'), false), 2);
|
Tiered Plan - calculated on Order Qty (Per Order)
No Format |
---|
|
if($quantity < 301) {
return $quantity * 0.00001;
} elseif ($quantity < 601) {
return $quantity * 0.00002;
} elseif ($quantity < 1001) {
return $quantity * 0.00003;
} elseif ($quantity < 1301) {
return $quantity * 0.00004;
} elseif ($quantity < 1601) {
return $quantity * 0.00005;
} elseif ($quantity < 2001) {
return $quantity * 0.00006;
} else {
return $quantity * 0.00007;
} |