user8295448
user8295448

Reputation:

Google reCaptcha not working on bootstrap modal popup

Hi i have added the google reCaptcha in the bootstrap modal i am using same key on the index page and on the modal which opens after button click on the index ,on page it is working fine but on modal popup it is showing error "ERROR for site owner: Invalid domain for site key"

I have added the screenshot Model Popup Image

enter image description here

Upvotes: 1

Views: 3218

Answers (1)

Dushan
Dushan

Reputation: 762

Try to enqueue recaptcha script or add it to the footer like this

<script type=’text/javascript’ src=’https://www.google.com/recaptcha/api.js?;ver=2.0′></script>

Upvotes: 1

Related Questions