I noticed that every time I write a wrong security code or a wrong expiration date with a valid card number the page it displays says the following:
Payment Processor Error message: CS211:An unknown error occured. Please contact the site administrator to complete your purchase.
Which it's obviously pretty generic and it doesn't tell the customer where the error is. i also noticed that the cybersource extension comes with a csError.php file which lists all the possible errors that may appear. If I look into this file the error 211 it says the following:
'211' => array(
'csError' => 'The card verification number is invalid.',
'csMessage' => 'The card verification number is invalid. Please check the verification number and try again or use another card.',
Which is what it should print on my opinion. So for what I think civicrim is not able to match the error number with one of the error in the list of errors, my guess is that civicrm is getting another error code or something of that sort. I was trying to debug to see what's the error number that civicrm is throwing but it seems almost impossible to do that. Are there any suggestions on how to do this or any ideas? Thanks in advance.