I share my code solution. But the proxy.php and other details with the full explanation (incl. backend part) you might find here.
Recaptcha with data-callback parameter
<script src="https://www.google.com/rec
#backend #note #share #method="post"> #might
https://stackoverflow.com/questions/3... https://stackoverflow.com/questions/3...