Hello,
thank you for your previous reply — the 401 error issue was successfully resolved by adjusting our REST API configuration.
However, we have now identified a different problem: the reCAPTCHA validation on the “Email to Download” form does not appear to work correctly.
The reCAPTCHA field is displayed on the front-end, but when a guest submits the form, the request payload does not include any g-recaptcha-response parameter, and the email is sent successfully even if the captcha checkbox is not checked.
In other words, the front-end widget is loaded, but the token is never attached to the AJAX request, and therefore no real validation occurs on the server side.
We are using reCAPTCHA v2 (“I’m not a robot” checkbox), and the keys are valid (already tested).
Could you please check whether the current WPDM version (6.8.3) properly sends and validates the reCAPTCHA token on the /wp-json/wpdm/email-to-download endpoint?
This seems to be a regression, as everything else now works correctly after the REST fix.
Thank you in advance for your help,
Regards.