Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Slow load times when switching payment method?

  • Resolved bonnie447

    (@bonnie447)


    Hi,

    I’ve noticed that the time that our donation form takes to switch between credit card vs PayPal vs offline donation (the first two more than the last) can be anywhere from 3.5-8 seconds, average about 5. Is this probably related to general performance issues on our site that we need to clean up, and not something related to this specific form/plugin? I have a feeling it’s probably the former haha, but any insight appreciated, not my area!

    Thanks in advance!

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

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

    (@benmeredithgmailcom)

    Hi there,

    I just attempted to replicate those slow load times on a test site of mine by adding in the reCAPTCHA in the same way you have it added to that form. In my tests, using the reCAPTCHA snippet from our snippet library, I was not able to replicate a problem.

    But when I look at the network tab of developer tools while switching gateways, it looks like the hold-up on your site is the scripts and resources being loaded from Google for the reCAPTCHA that’s added to the site.

    If I were investigating this, that’s where I’d start: by determining if the method you are calling those Google resources on is being loaded asynchronously so that it doesn’t prevent the page from loading.

    I’m happy to keep digging, here, but the reCAPTCHA looks to be the culprit here.

    Thanks!

    • This reply was modified 4 weeks, 1 day ago by Ben Meredith. Reason: typos

    Hey Ben,

    Thank you!! What you’re saying makes sense to me broadly, but I don’t have the know-how to know what to change to get it to load asynchronously. Can that be achieved with code added to the GiveWP reCaptcha snippet in the PHP Inserter plugin? (If not haha, I’ll call in backup and let the devs sort it out!)

    Bonnie

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