Pass ->affiliate_id to affwp_get_affiliate_rate() to ensure the affiliate's rate is used, not the global rate. #383