This topic contains 1 reply, has 2 voices. Last updated by David Martin 4 years, 6 months ago.
Topic Author | Topic |
---|---|
Posted: Monday May 14th, 2012 at 2:48 pm #13416 | |
Hi all, First of all, Thanks for great plugin. I am using paypal sandbox account for my testing s2member. I get the idea to implement this hook from jason reply in this thread . but i found this hook “ws_plugin__s2member_after_paypal_notify” never been called after receive notification from paypal. for debuging I added some _log before and after this do_action(‘ws_plugin__s2member_after_paypal_notify’) into the paypal-notify-in.php but this _log message not get printed in my log file.. so my question is why this hook “ws_plugin__s2member_after_paypal_notify” not called. are there any extra setting need to be fix in s2member or paypal? during the debugging I found another hook “ws_plugin__s2member_during_paypal_notify” in the same file is invoked for every notification but I having a strange problem in using this hook. when i used to get the user email from this method by providing $paypal[“subscr_id”] sometime it return me the useremail and sometime it doesn’t. which break my whole logic as I am doing some external db queries over transactions. c_ws_plugin__s2member_utils_users::get_user_email_with($paypal[“subscr_id”]); Thanks,
|