Testing tips for Refer A Friend

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 top

Refer 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 top

If 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 top

Referrals 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.

↑ Back to top

We 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 top

Something 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.
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.