latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

s2member_after_paypal_notify not working..

Home Forums Community Forum s2member_after_paypal_notify not working..

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 .
http://www.s2member.com/forums/topic/payment-notification-hook/

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,

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Monday Jul 9th, 2012 at 9:06 pm #18736

I am also interested in a solution to this – I am trying to do the same thing. Any ideas guys??

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.