• Resolved roes99

    (@roes99)


    Hi Guys,

    I have spent hours now searching through documentation and support Q&As to identify why the White Eagle Lodge Donations form is not working anymore. The issue was identified when a donation was attempted. I have edited the form to see if I can see what is wrong but all is looking fine and the form was working before with the last donation completed successfully on 20th May 2024. You cannot change the amount from $100.00 to one of the other available options, and you cannot select Custom amount. Can you please help me to work out why? Thank you – Pat Roesch – Web Design

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi @roes99,

    Glad you reached out! Happy to help with this one.

    Based on your console error logs, it appears that there’s some minification happening and caching happening on the site.

    Minifications and caching often don’t play nice with GiveWP.

    Caching

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

    Your issue here is caused by some caching happening somewhere in the process. If you’re not familiar with caching, it’s a method of saving server resources by storing copies of a page or site. This is being done so that the next visitor’s visit doesn’t trigger a call to the server at all, they just get the copy that was saved. Basically, instead of the site needing to recreate the page from scratch, it sends up a copy which allows it to load faster.

    Caching works really well for speeding up sites, but when a saved copy of the site has sensitive information in it (like donor info) it’s important that GiveWP not share that with the next visitor. If GiveWP is not convinced that the browser requesting the data is the correct one, 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 caching at the server level, 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

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

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

    We also use two cookies: give_nl and wp-give_session_{random generated hashed code unique for each visitor} that should be excluded.

    The give_nl cookie provides email access to donors to view their donation history on your site.
    The wp-give_session_?cookie is to maintain the donor session during the donation process.

    Your host or the caching plugin/solution you are using can help with that. Some of them may require what’s called 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 cases like those, 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.

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

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

    Please don’t hesitate to contact us should you need more instructions or other concerns.

    Thread Starter roes99

    (@roes99)

    Hi @robindelmundo,

    Thank you so much for looking at this for me and for your detailed response. None of the caching or minification settings have changed for years, so it surprises me that this is the cause. The form was working fine until recently. I will go through your recommendations in detail and see what I can achieve. I will also speak with our hosting support if required. Thanks again. I wish you a happy day :).

    Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi @roes99,

    Were you able to resolve this issue?

    Checking your form in here — https://whiteeaglelodge.org.au/make-a-donation/, it looks like it’s working now perfectly.

    Do you still need assistance with this one?

    If you still require help, please reply here, and I’ll be happy to jump back in to assist.

    Thank you for choosing GiveWP!

    Have a wonderful day!

    Thread Starter roes99

    (@roes99)

    Hi?@robindelmundo,

    Thanks for following up… the website uses WP-Optimize and I played with the settings here based on your advice. It was the disabling of minification of JavaScript files that resolved the issue.

    Thanks again for your help, it is greatly appreciated.

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