php error on IPN notify
-
Hello, I turned on php errors logging to make sure everything was clean after having success with your plugin. I got only one at :
includes/class-paypal-ipn-for-wordpress-paypal-helper.php:442second parameter of _update_generic_term_count needs to be the taxonomy object rather than its name so it’s an easy fix:
from:
_update_generic_term_count($term[‘term_taxonomy_id’], ‘paypal_ipn_type’);
to
_update_generic_term_count($term[‘term_taxonomy_id’], get_taxonomy(‘paypal_ipn_type’));
What I don’t understand is the count did work before making the change! The number in my database had the right amount of successful transactions (wp_term_taxonomy.count WHERE taxonomy = paypal_ipn_type)
- The topic ‘php error on IPN notify’ is closed to new replies.