Skip to content

Instantly share code, notes, and snippets.

@strangerstudios
Created October 22, 2015 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strangerstudios/2a691f6bda64cabf5353 to your computer and use it in GitHub Desktop.
Save strangerstudios/2a691f6bda64cabf5353 to your computer and use it in GitHub Desktop.
Tell PMPro to validate all PayPal IPN requests. This should only be used as a temporary measure for testing or to keep PMPro running while debugging IPN issues.
/*
Tell PMPro to validate all PayPal IPN requests.
This should only be used as a temporary measure for testing or
to keep PMPro running while debugging IPN issues.
Add this code to your active theme's functions.php
or a custom WordPress plugin.
*/
add_filter('pmpro_ipn_validate', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment