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.

Home Forums Zack

About: Zack

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Payment Notification quit firing

By:  Zack in: Community Forum

voices: 4
replies: 8

4 years, 1 month ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Payment Notification quit firing

By:  Zack in: Community Forum

voices: 4
replies: 8

4 years, 1 month ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Friday Nov 30th, 2012 at 4:49 pm #33046

Ok,
I figured out what caused the issue.
I found this code to redirect a user to a page after they register at this location:
http://www.primothemes.com/forums/viewtopic.php?f=4&t=14211#p31548
*/
function s2_auto_login_after_registration($vars = array()) {
if (!is_admin() && $vars[‘processed’] === ‘yes’) {
wp_new_user_notification($vars[‘user_id’], $vars[‘pass’]);
wp_set_auth_cookie($vars[‘user_id’], false, is_ssl());
wp_redirect(S2MEMBER_LOGIN_WELCOME_PAGE_URL . ‘?first’);
exit();
}
}
add_action(‘ws_plugin__s2member_during_configure_user_registration’, ‘s2_auto_login_after_registration’);

However after adding this code, the Payment Notification hook does not fire when a member registers the first time.
What is confusing is that it does fire the second time a member fills out a registration form while they are logged in.

However, I still have the problem of needing to redirect a new member to his home page after they register.
How can I accomplish this without breaking any API notification hooks.

Please let me know.
Thanks

Posted: Friday Nov 30th, 2012 at 7:45 am #32990

I never heard back if Jason was able to get into the server now or if he found any reason for the problem.

Please let me know.
Thanks

Posted: Thursday Nov 29th, 2012 at 8:07 am #32897

Sorry about that. I reset the ftp password to what I gave you and then tested it.

Please let me know.
Thanks

Posted: Wednesday Nov 28th, 2012 at 11:30 pm #32854

I submitted logs and admin login info when I posted the support request.
I am not currently able to turn sandbox off on authorize.net, but I tried a few other tests. I upgraded s2member framework and pro to 121023 and the problem seemed to get worse. Now the Registration Notification will not fire on first registration. Previously this fired every time.

The sooner we can get help the better, the company owners are getting antsy.
Thanks for any help.

** edit
I spoke too soon. The Registration Notification is still firing, but the Payment Notification still does not fire on first paid registration submission.

  • This reply was modified 4 years, 1 month ago by  Zack.
Viewing 4 replies - 1 through 4 (of 4 total)

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.