error message in email confirmation from Membership 2 Pro

I installed this plugin and I'm testing it out. So I logged out of my admin account on Wordpress and went to the site in a different browser. I created my account and received the email confirmation link. All good so far. I clicked on the link in my email, which was:

https://u3453434.ct.sendgrid.net/wf/click?upn=riAx9h3XqwchJcuAPw8wd-2FkiWYydQ5z-2B-2FFEYiXWEw-2BuuPZSsly7bSww9eXhnuC-2FQCR-2B-2FhXz5-2BGxiaNBKeZjVhC-2BJuex5j-2BtzeGlSOy7hi08E1YghPpeoH7Co0ZQz9JXASnArC7roG0u3UJ-2Bsw77QPQ-3D-3D_qtzHtiG6A5UqaBb8gqeoxgEd1qocTFAgP14XUkLm2d89ricFcs4tKeL6rdpIvaT109zh5PoLS581yKcz6Z-2FbyypWNizaIkWN2fGeRY19SpB7Hq9oi9eDc-2B0gTsA7O4fDLM9vULGrE0Alux5sUuMTUUmrJVSnGP8Ls0fB-2FDRC6VSKOOlWkBuxys59QIJzODbi12lHE7Yg9c08tzIKaRcqMwem7VcFREst02cnBWm0SYxY0DbtDzgVxo-2FcCf4NUsqJzqwQuv1Iy4xnyEe00yjeRA-3D-3D,

and the page it returned says "invalid code. check your email or try again." See attached screenshot. So basically the user can't create their account....

I'm on a Mac, and I've tried Firefox and Chrome and Safari browsers.

  • Ash
    • WordPress Hacker

    Hello emily_garman

    Membership doesn't send any verification link. So, it looks like you are using any third party integration or customized the plugin.

    I have tried to register at your site and got the link on my email which shows as https://www.save****ue.org/volunteer-portal/account/?action=ac#038;key=lLptqCqRJ2Ap0Caqrvbg when I click on it. Look at the URL, there is "#038;" but it should be "&". So, when I change that and use like this: https://www.sav****cue.org/volunteer-portal/account/?action=ac&key=lLptqCqRJ2Ap0Caqrvbg then it works.

    Would you please let me know how you added the verification system? The URL is not correctly encoded there, so I can check that.

    Have a nice day!

    Cheers,
    Ash

  • emily_garman
    • Site Builder, Child of Zeus

    Well, I don't have anything set up to manage user registration and verification. So I didn't set that up. I can't see any other plugin on my site that would randomly create a user verification process. I think this verification step (which is very normal) is coming from the Membership 2 plugin.

    You should have access to my site through the support portal--do you see any other plugins that would be causing this to happen? My guess is that #038 is ascii for the & sign...I guess? I don't know. I feel like you guys don't know any more about this plugin than I do!

  • James Morris
    • WordPress Enthusiast

    Hello emily_garman

    I hope you are well today. Thank you for enabling Support Access so we could look into this.

    It turns out this is related to the SendGrid plugin you have installed. Any emails that contain an ampersand ( & ) in the URL string, SendGrid click tracking cannot handle. This is a known issue that was reported on WordPress.org, here -> https://wordpress.org/support/topic/value-in-url-is-changing-to-038/

    From SendGrid's support:

    At this point there are two solutions:
    1. Completely turn off the Click Tracking app from your SendGrid account, and all emails will have their links tracked.
    2. Turn of Click Tracking on a per link basis

    Please see the WordPress.org forum post for more information regarding this issue: https://wordpress.org/support/topic/value-in-url-is-changing-to-038/

    I hope this clarifies a bit. Let us know if you have any further questions. We'll be happy to help! :slight_smile:

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.