# after_affiliatecommission

New commission was added to affiliate profile

# Hook parameter

An array is passed to hook containing following keys/values

Key Type Description
client_id int Client ID
affiliate_id int Affiliate ID
invoice_id int Invoice ID (if any)
commission float Commission amount
order_id int Related order ID (if any)
type string Commission type, one of: order,recurring,manual,sub-affiliate,unassigned

# Sample hook files

Last Updated: 5/20/2025, 2:24:25 PM