We use EE in conjunction with AffiliateWP using your provided integration. We want to implement a custom calculation method to calculate referral bonus from event sales, we want the bonus to be calculated from a specific price type tied to a ticket instead of the total price.
Can you please guide us with some hooks and sample code to accomplish this?
Your developers can hook into that filter and use the EE_Transaction object within $transaction to calculate the amount using whatever values you prefer there.
The support post ‘Can we Restrict AffiliateWP to not calculate referral bonus based on total?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.