2

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.

3

That’s a configuration/setting ->

CiviCRM -> Adminster -> CiviContribute -> CiviContribute Component Settings

enter image description here

  • Thanks, but I have already set this option to No. I was able to skip CVV validation in CiviCRM backend contribution forms. But I need to skip CVV validation in a contribution form page which will be accessed by users of a specific role. – Sidhees Aug 16 at 15:39
  • CVV codes help prevent credit card fraud. It would generally be a bad idea to remove credit card fraud prevention measures from front facing contribution pages. – KarinG - Semper IT Aug 17 at 1:03
  • Yeah, I do understand. But it was my client's requirement. – Sidhees Aug 18 at 6:07
  • That’s not a good reason for you to try remove a credit card fraud prevention measure. Read up on CVV eg helcim.com/article/card-brands-require-cvv and then go back to and educate your client - surely they don’t want to risk no longer being able to process VISA and steep $ fines and you don’t want to risk your reputation as a CiviCRM developer. – KarinG - Semper IT Aug 18 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.