• Resolved lilgee34

    (@lilgee34)


    The plugin works fine on desktop but when people try to donate on a mobile device. I get the Error: we’re un able to recognize your session.

    I have disabled all cache plugins and still receive the error.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @lilgee34.

    I’m glad you reached out.

    I know you said you already cleared cache and also deactivated some cache plugins, but this error still smells like caching.

    The fix here is a bit technical, so I’ll include as much detail as possible, but you may need to reach out to your web developer or web support person to implement these recommendations.

    We put together this deep dive into what caching is and how it can cause problems:?https://givewp.com/documentation/resources/caching/

    Caching works well for speeding up sites, but when a saved copy of the site has sensitive information (like donor info), it’s essential that GiveWP not share that with the next visitor. If GiveWP is not convinced that the browser requesting the data is correct, it defaults to not showing the data.

    Caching is handled differently on various sites and web hosts. This could mean a caching plugin, or caching could be in a security solution. Hosting providers also have settings for server-level caching settings, and they can help make adjustments for you there. Most caching solutions have a setting or section for excluding specific URLs or parts of URLs (called “slugs”) from caching. At the very least, you should exclude the following slugs from caching:

    /donations/
    /donation-confirmation/
    /donor-dashboard/*
    any page with a donation form on it

    Also, the following query strings (if your caching solution has a setting for them):

    give-embed=donor-dashboard
    giveDonationFormInIframe=1
    give-listener=paypal-commerce
    give-listener=ipn
    give-listener=stripe

    Your host or the caching plugin/solution can help with that. Some may require a “wildcard” like /donations/* to capture all subdirectories under the /donations/ folder.

    Some folks prefer to customize the URLs to their site pages, so you may find that your URLs don’t have the slugs mentioned above, even though they contain the same content. In such cases, we recommend whitelisting the page, not just the slug; that way, the pages with those essential pieces of information are still excluded from caching. This is especially important for URLs of pages with donation forms on them.

    One helpful tip: Check in with your hosting provider. Most hosts have caching at the server level, and they will be able to adjust this for you. You can also temporarily disable caching on the site to confirm that the uncached site isn’t showing the problem.

    Many security solutions also include caching options, so be sure to give those settings a look.

    While fine-tuning the cache falls outside the scope of the support we can provide, your success with online donations is our number one priority, and we’re happy to provide any tips.

    This was quite a bit of information to share. If you have any questions about this, let me know. I’m happy to help.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.