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. If it is not, then something is wrong. Go to Event logs and check what has happened. If you can't find a reason why, 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 at the "thank you page" or that you have chosen the correct integration method.
5.) When you are at the "thank you page", get it's source code (for firefox it is Ctrl+U) and check the sale tracking code - if 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).