• Resolved m2digital


    Whenever I try to complete a payment on this page (below the Gravity Forms form) I get a NONCE error, as do other users who are trying.

    I have read the other tickets on this and have disabled all cacheing plugins, but that has not solved it.

    Can you please take a look?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ben Meredith


    Hi there,
    I appreciate you reaching out (and for clarifying the steps you’ve already taken, that’s super helpful!)

    I am seeing the name and email pre-filled when I visit the page you’ve linked to, which tells me that either there is some custom code pre-filling that field, or some caching still going on. That can also contribute to NONCE errors (as you’ve read).

    Interestingly, it is not happening on the individual form page at https://gardeningvolunteers.org/donations/watersaver-landscape-design-school/

    (you should see a completed donation and gravity form submission from me)

    I just attempted to replicate the problem on my test installation, unsuccessfully.

    The fact that it works correctly on the individual donation form, but not on the page you linked to, tells me that some code on that page is resulting in that form being prefilled, which is in turn resulting in the NONCE error.

    My first step would be to try embedding a different Gravity form, and see if the problem still exists. Next, I’d try embedding the Donation form in a different page and see if the problem still exists. You’ve got to isolate the problem and make it replicable.

    I’m also still leaning toward some kind of server-level caching going on, and creating a new test page and embedding the form in that one would confirm that suspicion.

    Either way, I am happy to keep troubleshooting this with you, but at this point I’m unable to replicate it in a test environment, forcing me to believe that the problem is in your site somewhere. Let me know what you find in following my suggested steps above.

    Thanks Ben. I cleared server-level caching and unfortunately that did not fix it.

    As a stop-gap I made the change to the individual form page and am just linking to that. However I received an email from my client saying that while donations are now going through, customers are getting an error that a receipt can not be shown.

    This is confusing some of them– any idea why this could be happening?

    Plugin Author Devin Walker


    Hey @m2digital – If donors are complaining they are not being shown the donation receipt it’s most time caching that is the culprit. The donation receipt page should be excluded from your caching to prevent this from happening. Where are you hosting your site and how is being cached?

    Plugin Author Matt Cromwell


    @m2digital — I agree with Ben and Devin that caching is most likely the issue. Make sure that whatever caching you are using is EXCLUDED from your Donation Confirmation page completely.

    You might also experiment with how your site handles sessions. WordPress default sessions sometimes don’t work well with certain hosts. There’s two main ways to set your site to have more reliable sessions with Give:

    a. Set this in your wp-config.php file: define( 'GIVE_USE_PHP_SESSIONS' , false);

    b. Try using this free plugin which switches your site to use native PHP Sessions instead: https://wordpress.org/plugins/wp-native-php-sessions/

    Note that you should not do BOTH of those methods, just one then test, then the other (if necessary) then test).

    Let me know how that goes for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘NONCE Error’ is closed to new replies.