10-01-2024, 04:10 PM
See, this addon sells promotions as products, so it should work the default WHMCS way, where an affiliate sends a referral if in the link, when a gust clicks on the links it takes them to whmcs and stores the referral afid in the session. After that when the guest makes a purchase the affiliate gets a commission this is already present in WHMCS, there is no need to hook anything up with a gift card in WHMCS as all this is managed internally by WHMCS, the code we added to hook up gift cards to affiliates in the module.