On the checkout page I am getting the error message Uncaught TypeError: Unable to process binding "afterRender: function(){return renderReCaptcha() }"
. I searched for the renderReCaptcha()
function and found it in \vendor\magento\module-re-captcha-frontend-ui\view\frontend\web\template\reCaptcha.html
the template looks fine to me though:
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div data-bind="{
attr: {
'id': getReCaptchaId() + '-wrapper'
},
'afterRender': renderReCaptcha()
}">
<div class="g-recaptcha"></div>
<!-- ko if: (!getIsInvisibleRecaptcha()) -->
<div class="field">
<div class="control">
<input type="checkbox"
value=""
class="required-captcha checkbox"
name="recaptcha-validate-"
data-validate="{required:true}"
/>
</div>
</div>
<!-- /ko -->
</div>