I have a system / script installed which has two bugs.
The bug relates to the affiliate commission not being credited to the affiliate for the sale being made.
So the sale is made, the affiliate is credited with the sale, the affiliate is emailed to notify them of the sale, BUT - no commission is credited to the affiliate.
Finally - the system works on the basis of cookie tracking. If someone clicks an affiliate link, the system is meant to place a cookie on the users PC - which tracks unique clicks only.
The system has the ability to be set to TEST MODE to track all clicks (not just unique ones).
However, if the TEST MODE is switched OFF - the system does NOT place a cookie on the PC (and obviously no clicks are tracked)
If the TEST MODE is switched ON - the system DOES place a cookie on the PC - and tracks the click.
This is backwards / reversed - it should happen the other way round.
Summarise - 2 script fixes needed :-
1. Commission Fix
2. Cookie System Fix.
All other functions seem to work.
Perl / CGI
Hosted on Linux.