Hi all, We need to implement captcha in Registrati...
# suitecommerce
p
Hi all, We need to implement captcha in Registration Form. Is it possible to do it via extensibility api or it can be done only by source code customisations?
s
Yes it can be done with the extensibility API on the frontend, but the backend aspect will require some sort manipulation to the backend core. That will mean, for example, listening to the application for the appropriate model method and injecting the g-captcha-response check there. It's not something we like people to do but it's basically the best way to do it.
p
Okay thanks
r
is there a good option for it with SCS? where you cant manipulate the core?
s
Sorry by 'manipulation to the core', the method you would do it would be acceptable within an extension
Specifically, you're using the aspect-orientated hooks we have put into the application for intercepting SC/A SuiteScript
Eg:
Copy code
Application.on('before:Account.Model.register', function (data) {
  // ...
});
Normally, we don't want people to do this but with something like reCAPTCHA, it's basically the best way of doing it