I sent an email with links via Mailpoet to some of my RCP users and the links were NOT converted to autologin links, much to my embarassment! I am thinking the issue lies with which mailer system one uses with Mailpoet — if using Mailpoet sending service, autologin links don’t appear to be created. If this is correct, please add this information to the documentation. If it should work anyway, I’d appreciate some information about why my links did not get the autologin appended. The links were sent in the email in the following format: https://www.mysite.com/register/?registration_type=renewal&membership_id=%5Bsubscriber:cf_4%5D
]]>I am unable to get this plugin to do what I need, and which it promises to deliver: to change links that are sent to subscribers with links back to the website and include auto-logins in those links. I’ve tested this and do not find it to be true. Also, I don’t see anything like “an exclusion shortlist” for leaving out certain emails via subject line. Do I have to “enable magic link” for this process to happen, because I don’t necessarily want it on the login page.
]]>Testing this plugin on a site with the User Switching plugin installed throws the following error when visiting a link with the autologin enabled:
2024/02/18 06:14:04 [error] 39262#39262: *32635 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "USER_SWITCHING_SECURE_COOKIE" in /www/public/wp-content/plugins/user-switching/user-switching.php:1356
Stack trace:
#0 /www/public/wp-content/plugins/user-switching/user-switching.php(1291): user_switching_get_auth_cookie()
#1 /www/public/wp-includes/class-wp-hook.php(326): user_switching_clear_olduser_cookie('testclient@spru...')
#2 /www/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /www/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /www/public/wp-content/plugins/bh-wp-autologin-urls/src/wp-includes/class-login.php(166): do_action('wp_login', 'testclient@spru...', Object(WP_User))
#5 /www/public/wp-includes/class-wp-hook.php(324): BrianHenryIE\WP_Autologin_URLs\WP_Includes\Login->process(155)
....
Refreshing the page once after receiving the error will then load the page with the user logged in.
[removed earlier temp patch that didn’t work]
]]>Hi there,
I would like to create a link in a woocommerce invoice when the invoice is created. I can create a custom invoice easily tough a child them, but I would like to include the link to the user login.
Can that login link go directly to the invoice payment page right after the login would activate? I am not worried too much about security here because I would be the one manually sending invoice to my clients, who would pay then. If it’s outside the scope of the support or plugin I’m also willing to hire you to help with this.
]]>Hello!
Is it possible to enable the link for subscribers only? thanks!
I got:
“Forbidden
You don’t have permission to access this resource”
after following the autolink from e-mail
]]>