We have wholesale and retail users on our site, there is one role for each type of customer and nobody can have both roles at the same time. We only want affiliates to earn commissions on retail orders, is there a way to configure this module to work that way right now?

In other words:

only pay commission if the user who placed the order DID NOT have the wholesale role

OR

only pay commission if the DO have the "retail" role

Either would work. Possible?