In case you need to run some tests on your Refer A Friend setup, here are some helpful tips to get the most out of your testing.
Note:
This is a Developer level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customizations. We are unable to provide support for customizations under our Support Policy.
Deactivate fraud detection
↑ Back to topRefer A Friend uses IP addresses to monitor for fraud. To test Refer A Friend on your site, add this to your site’s functions.php
 file (This will also work if you would like to disable fraud monitoring on your site):
add_filter( 'automatewoo/referral/is_potential_fraud', '__return_false' );
Note: We would recommend re-activating fraud detection once you have completed your testing.
Test purchasing with credit
↑ Back to topIf you want to test purchasing using referral credit, rather than putting through referrals first to generate credit, you can add credit to your test advocate by editing the _automatewoo_referrals
 table: reward_amount_remaining
Change referral status
↑ Back to topReferrals have a status that can be changed similar to Orders. To test workflows based on status triggers, manually change the statuses in AutomateWoo > Referrals rather than creating new referrals.
Testing emails and links
↑ Back to topWe recommend using an email logging plugin such as WP Mail Logging to test referral links and emails. You can also refer to our email troubleshooting guide for more help on email deliverability.
Questions and Support
↑ Back to topSomething missing from this documentation? Do you still have questions and need assistance?
- Have a question about a specific extension or theme you’d like to purchase? Click here.
- Already purchased and need some assistance? Get in touch with a Happiness Engineer via the qphmycoi.top Support page and choose this extension name from the “I need help with” dropdown.