Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(donations): resolve often reported "Error: Nonce verification has failed." #3200

Closed
DevinWalker opened this issue May 9, 2018 · 6 comments
Assignees

Comments

@DevinWalker
Copy link
Member

DevinWalker commented May 9, 2018

User Story

As a donor, I want give without seeing a nonce verification error.

Current Behavior

This has been reported often on WP.org

https://wordpress.org/support/topic/error-nonce-verification-has-failed-4/

Steps to Reproduce

I'm not sure at the moment. More info is needed. @mathetos do you know how we can reproduce this issue?

Possible Solution

Caching issues.

@mathetos
Copy link
Member

mathetos commented May 9, 2018

We've been getting these regularly since 2.1 was released, and I have not been able to replicate. The only one we fixed so far was the one where they had pasted the form html directly into a page builder text module.

@DevinWalker
Copy link
Member Author

We've been getting them a lot since it was introduced within pre-2.1. I've seen more than a couple of support requests started on WP.org about it: https://wordpress.org/search/nonce+intext%3A%22Plugin%3A+Give+-+Donation+Plugin+and+Fundraising+Platform%22/?forums=1

@ravinderk please review the support requests and attempt to reproduce on your end. If you can't within a reasonable amount of time then we can move on.

DevinWalker pushed a commit that referenced this issue May 16, 2018
fix(donations): resolve often reported "Error: Nonce verification has failed." #3200
@mehul0810
Copy link
Contributor

I'm facing Nonce verification failed issue with latest release 2.1.3 which is resetting the nonce every couple of minutes.

image

@mehul0810 mehul0810 reopened this May 17, 2018
ravinderk added a commit that referenced this issue May 17, 2018
@mehul0810
Copy link
Contributor

Closing this issue as it is working fine for me now.

@jb510
Copy link

jb510 commented Dec 10, 2018

I'm still seeing this problem with GiveWP forms on a site hosted on WP Engine.

Excluding the pages from the cache individually (WPE Portal > Advanced Utilities (not available in all accounts but you can contact support and they'll put in cache exclusion rules for you).

Usually on WPE DONOTCACHEPAGE works... I see the code is at least trying to set that, not sure if it's not working or something else is going on.

2018-12-10 at 4 59 pm

@ravinderk
Copy link
Collaborator

@jb510 We added a fix for that issue in release/2.3.1 and planning to release it soon. for ref: #3820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants