Override nopCommerce Action Filter

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi everyone,

i am creating a plugin for reCaptcha version 2 (nop supports version1) and i want to overide the nopCommerce CaptchaValidator attribute, and implement in the OnActionExecuting the new version, what would be the best way to do it from a plugin?
7 years ago
I think it is no way. The CaptchaValidatorAttribute already inherit from ActionFilterAttribute. So i think you can inherit from ActionFilterAttribute and override OnActionExecuting to do your things.
Make your captcha plugin actived first.
7 years ago
Auto99 wrote:
i am creating a plugin for reCaptcha version 2 (nop supports version1)


Are you sure?

7 years ago
nop4you wrote:
i am creating a plugin for reCaptcha version 2 (nop supports version1)

Are you sure?



@Auto99 talked about nop version 3.70 (Although he missed to write version name)

and you talked about 3.80
7 years ago
sohel wrote:
@Auto99 talked about nop version 3.70 (Although he missed to write version name)
and you talked about 3.80

Ahh.. Ok then.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.