Prior to making any test sale, you should clear your browser's cookies and cache and also the flash cookies. The flash cookies can be cleared at the following link:
Now proceed to the test.
1.) Login to your merchant panel and enable debugging at Start -> Configuration -> Event Logging - and enable clicks and sales/leads.
Then go to Tools -> Event logs and clear all previous logs if there were any.
2.) Login as your affiliate [[in your merchant panel navigate to Start -> Affiliates -> Affiliates manager -> click edit next to any affiliate (pencil icon on the right) -> in the upper right corner click "Login to affiliate panel". If the affiliate panel does not show up, check if your browser blocked a pop-up and if it did, then allow the PopUp and click the "Login to affiliate panel" again]] and use his general affiliate link (or create a page with the affiliate's banner) to track the click by the click tracking code.
3.) Check if click is saved.
To check if click is saved navigate in the merchant panel to: Start -> Transactions -> Raw clicks and hit 'Search' to refresh the grid. If there is no click tracked, then something is wrong. Go to Event logs and check what has happened. If you can't find a reason why the click was not tracked, please check this: Debug Click tracking
4.) If click is recorded then clear the Event logs again and process the sale. Be sure the right sale tracking code is inserted in the "thank you page" or that you have chosen the correct integration method.
In case of Post Affiliate Network make sure, that both the click tracking code and Sale tracking code have the same 'account id' in the
line, while the 'default1' is the id of the default merchant account (network owner account). In Post Affiliate Pro it is always 'default1'.
5.) When you are at the "thank you page" view it's source code by pressing CTRL+U key combination (works in most browser) OR in google chrome right-click the page and choose "Inspect element" and check if the sale tracking code is present - if the sale tracking code is present and the integration is correct, the placeholders (variables for TotalCost, Order ID, Product IDshould be replaced by real values).
Check in the merchant panel if the sale was tracked - navigate to: Start -> Transactions -> Commissions. If the sale is not registered, check the Event logs. If you can't see the reason try this: Debug Sales tracking (or this for PayPal buttons).