Paypal redirects to login page

Hi,

When I run tests…
After I create a Paypal Button for buy now life-time.
I ran a test and after the payment was approved by Paypal it redirected me to the Registration page. THAT’s ALL GOOD.

But when I ran another test with a different user, it redirected me to PLEASE LOG BACK IN.

And the email confirmation didn’t have the link to register an account. How do I make sure all members after they pay will be redirected to registration only?

Here is the email I get:

Thanks Mike! Your account now has access to: THE EXCLUSIVE eBOOK.

If you have any trouble, please feel free to contact us.

Best Regards,

Did you run a registration test while logged in as a current User? That’s a big no-no. Never do that. You can test modifications, cancellations, etc… but never test registration while logged in. Best bet is to always test registrations by going to the test page in an incognito window: no cookies, etc…

What are your settings for registration emails? Is this text familiar to you at all? Could you post the text for your registration emails from WP Dashboard → s2Member → PayPal Options → Email Confirmation (Standard). Also, do you any other plugins that you are using to modify the core WordPress registration confirmation emails?

Thanks in advance.