Troubleshooting Affiliate Pro
This guide will help you resolve common issues that may arise when using the Affiliate Pro plugin.
Common Issues
Affiliate Links Not Tracking
If affiliate links are not tracking properly:
Check Cookie Settings:
- Ensure cookies are enabled in the visitor's browser
- Verify that the cookie lifetime is set correctly in the affiliate settings
- Check if third-party cookies are blocked by the visitor's browser
Link Format Issues:
- Verify that the affiliate links are correctly formatted
- Check if the affiliate code is properly included in the URL
- Try using the short link generator to create valid links
Refresh and Clear Cache:
- Sometimes a simple page refresh can resolve tracking issues
- Clear your browser cache if necessary
- Try using a different browser to test the links
Commissions Not Being Generated
If commissions are not being generated for orders:
Check Affiliate Settings:
- Go to Settings > Affiliate Settings
- Ensure that the default commission percentage is set correctly
- Verify that the auto-approve commissions setting is configured as expected
Order Status:
- Check if the order status is eligible for commission generation
- Verify that the order was placed through a valid affiliate link
- Ensure that the cookie was still active when the order was placed
Product Eligibility:
- Check if the products in the order are eligible for commissions
- Verify that the category-based commission settings are correctly configured
- Ensure there are no exclusions or restrictions in place for the affiliate
Withdrawal Issues
If there are problems with withdrawal requests:
Minimum Amount:
- Check if the affiliate has reached the minimum withdrawal amount
- Verify that the minimum withdrawal amount is set correctly in the settings
Payment Details:
- Ensure that the affiliate has provided complete payment information
- Check if the payment method selected is available and properly configured
Account Status:
- Verify that the affiliate account is active and in good standing
- Check if there are any restrictions or holds on the affiliate's account
Affiliate Dashboard Access Problems
If affiliates cannot access their dashboard:
Account Status:
- Ensure the affiliate account is approved and active
- Check if the user has completed the registration process
Permissions:
- Verify that the user has the necessary permissions to access the affiliate dashboard
- Check if there are any role or permission issues in the system
Technical Issues:
- Check for any JavaScript errors in the browser console
- Look at the server logs for PHP errors
- Ensure your server meets the minimum requirements
Email Notification Issues
If email notifications are not being sent or received:
Email Configuration:
- Check if the email service is properly configured in your application
- Verify SMTP settings if you're using an external email service
- Test the email functionality using the built-in email testing tool
Notification Settings:
- Ensure that the specific notification type is enabled in the affiliate settings
- Check if the email templates are properly configured
- Verify that the recipient email addresses are correct
Email Delivery:
- Check spam folders for missed notifications
- Verify that your email server is not blacklisted
- Consider using a transactional email service for better deliverability
API Integration Problems
If you're experiencing issues with the API:
Authentication Issues:
- Verify that the API key is valid and has not expired
- Check if the API key has the necessary permissions
- Ensure that the authentication headers are correctly formatted
Request Format:
- Verify that the API request format matches the documentation
- Check if all required parameters are included
- Ensure that parameter values are properly encoded
Response Handling:
- Check if your application correctly handles API responses
- Look for error messages in the API response
- Verify that your application can handle different response codes
Advanced Troubleshooting
Clearing Cache
Clearing the application cache can resolve many issues:
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
Checking Logs
Check the Laravel logs for any errors:
- Look in
storage/logs/laravel.log
- Check for any errors related to the Affiliate Pro plugin
- Pay attention to timestamps to identify recent issues
Database Issues
If you suspect database issues:
- Verify that all migrations have run successfully
- Check if the required tables exist and have the correct structure
- Ensure there are no corrupted records in the database
Getting Support
If you're unable to resolve the issue using this troubleshooting guide, please contact our support team:
- Documentation: https://docs.botble.com/affiliate-pro
- Support Email: [email protected]
- Support Forum: https://botble.com/forum
When contacting support, please provide:
- A detailed description of the issue
- Steps to reproduce the problem
- Screenshots if applicable
- Your Botble CMS version
- Your PHP version
- Any error messages you're seeing