I have a contribution form with credit card payment. Is there a way to make CVV code OPTIONAL/NOT REQUIRED when an administrator uses contribute to process a credit card transaction?
I tried hook_civicrm_buildForm()
to unset the rules, but it is not working for me.
I was able to skip CVV validation in CiviCRM backend contribution forms by processing as admin. But I need to skip CVV validation in a contribution form page which will be accessed by users of a specific role.