This article serves as a comprehensive list of possible messages that may appear when a commission is not saved. These messages can be observed while debugging via the Tools > Sale Requests Log screen or through Tools > Event Logs.
General Messages
"No affiliate recognized!"
No affiliate was recognized during the saving of the commission. Possible reasons include:
- The customer did not click an affiliate link.
- The affiliate link was incorrect.
- No click tracking code was present on the landing page.
- Fraud protection blocked the recording of the click.
- The visitor is using an advanced AdBlocker that interrupts the tracking process.
- The visitor's cookie was not passed to sale tracking (e.g., in PayPal button integration).
- The click was made for a different Post Affiliate Network account than the sale/action.
If you are certain that the order should have been referred by an affiliate, you need to debug the click tracking.
"No campaign recognized!"
No campaign was recognized by any of the campaign matching options.
"STOPPING, Cannot find commission group for this affiliate {AFFILIATE_ID} and campaign {CAMPAIGN_ID}!"
Usually, the affiliate is not invited to the Private Campaign under which the commission should have been saved.
"STOPPING (setting setDoCommissionsSave(false)), because TotalCost is 0 and zero order commissions should not be saved."
The total cost of the order was recognized as 0 (this can occur when there is no total cost set or sometimes it occurs if there are unexpected characters in the total cost field), and in your campaign's commission settings, you have not checked the option "Save transaction also for zero orders (Total Cost = 0)".
"Force choosing campaign by product id: Enabled, {ERROR_MESSAGE}"
You will most likely see an error such as "No campaign matching product ID: PRODUCT". You have enabled the "Force choosing campaign by product ID" option in Configuration > Tracking settings, and the product for which the commission should have been saved was not found in any of your campaigns. More information about using product ID.
"campaign error: {ERROR_MESSAGE}"
Most likely, you will see an error indicating that the campaign is stopped. You can verify this in Campaigns > Campaigns Manager > Advanced Search by including stopped campaigns in your results. Edit the campaign to change its status if necessary.
"default campaign error: {ERROR_MESSAGE}"
Similar to the above, but this refers to the campaign marked as default in Campaigns > Campaigns Manager.
"Commission type: {TYPE} is not supported by campaign {CAMPAIGN_ID} or is NOT enabled!"
For example, you are saving Action Commissions, but the recognized campaign does not have the corresponding Action Commission added or enabled. This can also occur with per Sale or other commission types.
"User {AFFILIATE_ID} is declined."
The affiliate to whom the commission should have been credited has been declined.
"Commission is not defined in campaign or user has no multi-tier commission, user: {AFFILIATE_ID}."
This applies only to multi-tier commissions. When saving a commission, the system first loads the entire affiliate tree of the referring affiliate, then checks the campaign's commission settings. You may see this message, for example, if you have only set up 1st-tier commissions and the referring affiliate still has a parent. In this case, no commission should be awarded to the parent, but you would still see this message in the debug logs. If this message appears for a 1st-tier commission, you need to investigate your campaign and commission settings.
Fraud Protection Messages
"Found another sale/lead from the same IP: {IP_ADDRESS}, campaignid: {CAMPAIGN_ID}, order ID: {ORDER_ID} within {999} seconds."
In Configuration > Fraud Protection > Sales / Actions Commissions, you have enabled "Recognize duplicate orders coming from the same IP address within X seconds." A commission has already been saved with the same order ID within the specified period.
"IP: {IP_ADDRESS} is banned."
The IP address that initiated the transaction is listed in Configuration > Fraud Protection > Sales / Actions Commissions > "Ban sales from IP addresses".
"HTTP_REFERER: {REFERRER_URL} is banned."
The referrer URL is listed in Configuration > Fraud Protection > Sales / Actions Commissions > "Ban sales from URLs (HTTP_REFERER)".
"HTTP_REFERER: {REFERRER_URL} is not allowed."
The referrer URL is not included in Configuration > Fraud Protection > Sales / Actions Commissions > "Allow only sales from URLs (HTTP_REFERER)".
"Found another sale/lead from the same OrderID {ORDER_ID} within {999} hours."
In Configuration > Fraud Protection > Sales / Actions Commissions, you have enabled "Recognize duplicate orders coming with the same order ID within X hours from initial sale." A commission has already been saved with the same order ID within the specified period.
Messages Related to Features
Split Commissions
"Sale not saved, because user {AFFILIATE_ID} not found in split."
The recognized affiliate was not found in the split commission data for the particular visitor.
"Sale not saved, because commission is 0 for user: {AFFILIATE_ID}."
100% of the commission was distributed among the first and last affiliate, so the remaining affiliates are not eligible to receive a commission.
"Sale not saved, because split commission does not reach the minimum commission for user: {AFFILIATE_ID}."
The computed commission was lower than the amount specified in the campaign's commission settings under "Split Commission Settings" and the "Minimum commission $" field.
Post Affiliate Pro GeoIP
"PapGeoip: country {COUNTRY_CODE} is blacklisted."
The country is listed in Configuration > Fraud Protection > Sales / Actions Commissions under "Blacklisted countries".
Private Campaigns
"Private Campaigns: User {AFFILIATE_ID} is not approved in campaign {CAMPAIGN_ID}!"
The affiliate to whom the commission should have been credited is not approved or invited to the recognized private campaign.
Messages Related to Plugins
Custom Recurring Level Plugin
"PLUGIN CustomRecurringLevel - More recurrent orders found ({numberOfRecurrences}) for order ID: ({ORDER_ID}) than the plugin can handle, stopping."
The plugin supports only up to 5 recurrences. If it finds more than 5 per Sale/Action commissions with the same order ID, it cannot process further commissions. This plugin currently does not support the Recurring Commissions feature and only processes per Sale and per Action commissions with the same order ID.
"PLUGIN CustomRecurringLevel - Custom commission for this level is set to ZERO, transaction won't be saved."
The commission for the specified recurrence was set to 0, so the transaction is not saved.
Minimum Total Cost Plugin
"PLUGIN MinTotalCost: Commission will NOT be saved, total cost ({TOTAL_COST}) is LOWER than the minimum ({PLUGIN_SETTING}). Ending..."
The request had a lower total cost than allowed by the plugin configuration in your campaign's commission settings.
Prohibit Commission If Affiliate Is Purchaser
"PLUGIN ProhibitCommissionIfAffiliateIsPurchaser, transaction is not saved because it should have zero commission and saving of zero commissions is disabled."
The custom commission defined in plugin settings is set to 0, and saving of zero commissions is not enabled in your campaign's commission settings.
"PLUGIN ProhibitCommissionIfAffiliateIsPurchaser: Affiliate of ID {AFFILIATE_ID} has no parent affiliate. Commission for tier no. '{TIER_NUMBER}' will not be saved."
The commissions should have been shifted by one level due to the "Skip affiliate" configuration of the plugin; however, there were not enough affiliates in the tree to allocate all the commissions. This is not an issue.
"PLUGIN ProhibitCommissionIfAffiliateIsPurchaser: No commission setting found in commission group of ID {COMMISSION_GROUP_ID} for tier no. {TIER_NUMBER}."
After shifting the commissions by one level due to the "Skip affiliate" configuration, a commission should have been saved for an affiliate in a commission group (even if the campaign's commission settings are used as the default commission group) that does not have a commission defined for that tier. This is not an issue, as this affiliate should not have received the commission.
Rest Commissions
"PLUGIN Rest Commissions - plugin applied, formula: {PLUGIN_FORMULA}, commission typeId: {COMMISSION_TYPE}, campaign: {CAMPAIGN_ID}."
The original commission based on the campaign's settings is ignored; instead, the commission is calculated by the Rest Commissions plugin according to the formula defined in the plugin. This is not a problem.
Top Level Affiliate Commission
"PLUGIN Top Level Affiliate Commission tier commission is not saved because affiliate has parent."
The Top Level Affiliate Commission plugin ensures that the commission is saved only to the top affiliate in the affiliate tree, so commissions are not saved for affiliates who have a parent.
Lifetime Commissions
"PLUGIN LifetimeCommissions: Unreferred user cannot be loaded."
You have enabled "Save as unreferred (if set in tracking settings)" in the plugin's configuration; however, there is no affiliate set for "Save unreferred sale/lead" in Configuration > Tracking settings, or this option is not enabled.
"PLUGIN LifetimeCommissions: After cookie lifetime limit."
You have enabled "Do not save commissions" in the plugin's configuration, and the referral relationship is older than the defined cookie lifetime, so the commission was not saved. This is not a problem.
Maximum Commissions Per Referral
"PLUGIN MaxCommission per referral is full ({NUMBER_OF_COMMISSIONS})."
The affiliate/customer has already reached the maximum allowed number of commissions as defined in the plugin configuration within the campaign's commission settings.
Sale Tracking Fraud Protection
"PLUGIN Sale Tracking Fraud Protection: Checking md5 checksums failed. Checksums: {RECEIVED_CHECKSUM} - {EXPECTED_CHECKSUM}"
The tracking code that triggered the transaction does not have the correct checksum. This is likely a blocked fraud attempt if your code is configured correctly.