Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Confirmation page not loading

  • Resolved rebeccadigitalsea

    (@rebeccadigitalsea)


    Hello,
    Following the recent updates our confirmation page isn’t working. It either has a spinning circle continuously or goes back a step.

    In both cases the payment is successful.

    This is happening with both stripe and paypal – any suggestions on how this can be resolved please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ben Meredith

    (@benmeredithgmailcom)

    Hey @rebeccadigitalsea

    In most cases when the payment goes through, but the site doesn’t reflect that, it’s a case of a broken PHP session, which essentially means that GiveWP on your site can’t be sure that the browser in question is the same browser that just completed the donation.

    In most cases, that’s caused by caching—either a caching plugin or at the host level.

    If you’re not familiar with caching, it’s a method of saving server resources by storing copies of a page or site, 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.

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

    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.

    That’s causing GiveWP to not be able to validate that the browser viewing the site is allowed to see sensitive donor information, so instead of displaying it, it is either spinning or reloading the donation form.

    In order to verify that my hypothesis is right here, we need to exclude any asset loaded by GiveWP from the cache.

    Caching is handled differently on various sites and web hosts, and most of them allow for excluding specific URLs or parts of URLs from caching.

    At the very least, you should exclude the following slugs from caching:
    /donations/
    /donation-confirmation/
    /donor-dashboard/

    Also, the following query strings:
    give-embed=donor-dashboard
    giveDonationFormInIframe=1

    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 other hosts use question marks instead of asterisks.

    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.

    Plugin Support Rick Alday

    (@mrdaro)

    Hi @rebeccadigitalsea,

    It’s been a while and I haven’t received a response to my last message.

    Did you still need help here?

    I’m happy to help and look into this further for you.

    Thread Starter rebeccadigitalsea

    (@rebeccadigitalsea)

    Hello,
    Thank you so much for the reply.

    It was a webhook issue within stripe I think, I reconfigured it all and seemed to work!

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