update cookie ID, and add native functions
Merge branch 'master' of github.com:tripflex/whmcs-affcoupons