Search code examples
recaptcha

what is the difference between grecaptcha.render vs grecaptcha.execute?


I can't understand the difference between grecaptcha.render vs grecaptcha.execute in invisible type recaptcha ? what is the difference between these two functions and when to use which one ?


Solution

    • when you invoke execute() google decides if showing recaptcha
    • when you invoke render() you are explicitly rendering the recaptcha