@Benunc commented on Tue Nov 07 2017
Currently if email access is enabled, donors cannot access their donation history as expected.
The Give_subscriptions shortcode should work correctly.

Review complication with #1790 causing email access to not work as expected.
Original steps from @Benunc
I was able to reproduce with the donation history page, and other locations the email access is in use. Essentially, email access is not working now.
You will get the above error
Error: It looks like that email address provided and access token of the link does not match.
@DevinWalker @Benunc
I have analysed and found that the issue arises due to accessing wrong URL after passing the session time of donation or accessing via InCognito Mode.
Wrong URL: /donation-history/
Correct URL: /donation-history/?payment_key=##### (This is what sent in the Donation Receipt email)
To overcome the issue, Me and @ravinderk had a quick call and came to a better solution to achieve it. But, we do require your suggestions as well.
disabled, donation form will ask for the registration and on completion of donation will create Donor as well as WP User. Hence, user will need to login to access the donation history in this case.enabled, donation form will act as a Guest Checkout, and on completion of donation will create donor only. Hence, user will need specific tokenised URL and email verification to access the donation history.When a user will access Donation History URL ( i.e. /donation-history/) from donation confirmation page (in case of subscriptions). User will be asked for email to verify. Once user enter email and click on Verify, Give will check for the valid email and will also check whether email is associated with Donor, WP User or Both.
Case 1. If email is associated with Both ( Donor and WP User ) then Give will show recent first donation and login form with email pre-filled so that user can login to access the complete donation history. Also, for WP User as well, it will ask for login, but in that case user won't be having any donation. Hence, only login form will be shown.
Case 2. If email is associated with Donor only, then Give will show the Recent First Donation and an informative message saying “We are showing you the recent first donation as you are not a registered user of our site. To access complete donation history, please click the View it in browser link in your Donation Receipt Email” and we will show these steps with screenshots for better understanding to the user.
@mathetos Please give your insights whether we should explain user with screenshot on Donation History page for Case 2 or we should create a page on givewp.com docs explaining How to access donation history? and linking it to the informative message.
@mehul0810 Thanks for your very detailed thoughts on this. Regarding your question about Case 2, I'd say the following:
As a user of GiveWP, I agree with @mathetos on all his points regarding this issue.
This PR doesn't seem to be working as intended currently. See notes and comments on this new issue:
https://github.com/WordImpress/Give/issues/2474
Actually, #2474 is slated for 1.8.18, but the items I'm raising affect 1.8.17 directly.
Contrary to Devin's video, I also couldn't get past the "Verify Email" screen even with reCAPTCHA disabled completely. So it seems there's generally more work to do on this item.
Most helpful comment
As a user of GiveWP, I agree with @mathetos on all his points regarding this issue.