Announcement

Collapse
No announcement yet.

reCAPTCHA on Donation Form Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    CnP.Support.AM
    C&P Support

  • CnP.Support.AM
    replied
    Good day @PANFoundation

    We reviewed the form and basically, it is not possible to include the reCaptcha within the form but one of our developers have a workaround and it requires the jquery.

    Here is the example:

    <html>
    <head>

    <script type="text/javascript">

    var onSubmit = function(token) {
    console.log('success!');
    };

    var onloadCallback = function() {
    grecaptcha.render('submit', {
    'sitekey' : 'XXXXXXX',
    'callback' : onSubmit
    });
    };
    </script>
    </head>
    <body>
    <form action="?" method="POST">
    <input id='submit' type="submit" value="Submit">
    </form>
    <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
    async defer>
    </script>
    </body>
    </html>

    Hope that helps.

    Leave a comment:

  • PANFoundation
    Junior Member

  • PANFoundation
    replied
    https://panfoundation.org/index.php/en/donors/donate

    We think it may have been user error with the validation, but want to confirm that the form is working.
    PAN has an administrative fee of only 5%. This means that $0.95 of every dollar PAN receives goes directly toward helping patients. For the last eight years, PAN spent less than one penny of each dollar it received on fundraising.

    Leave a comment:

  • CnP.Support.AM
    C&P Support

  • CnP.Support.AM
    replied
    Good day @PANFoundation

    Would you please share the custom form link URL here so that we can review it?

    Leave a comment:

  • PANFoundation
    Junior Member

  • PANFoundation
    started a topic reCAPTCHA on Donation Form Issue

    reCAPTCHA on Donation Form Issue

    Hi, apologies if I am in the wrong place. We have been experiencing issues with our reCAPTCHA on a custom form. A few weeks ago, we submitted a form for review by Click & Pledge premiere support that included a reCAPTCHA for fraud protection. Last week we altered it so that is was an invisible captcha and our developer said that it should not affect the Click & Pledge side of things. For the most part, all is going correctly and donations are being processed. However, there are a few individuals who keep getting hit with "Credit Card Error: Fail reCAPTCHA Validation" message and are unable to donate. I tried talking to premiere support and they couldn't see any issues, so they suggested I try the forums.
    Any thoughts?
Working...
X