Rate precedence you can reason about
For each payment the affiliate's override wins, then a matching plan or product rule, then the highest tier reached, then the campaign rate. Bonus boosts are added on top. Goals count the affiliate's results before the sale being recorded, so reaching a goal changes the rate of the sales after it.