function _uc_authorizenet_cvv in Ubercart 7.3
Same name and namespace in other branches
- 5 payment/uc_authorizenet/uc_authorizenet.module \_uc_authorizenet_cvv()
- 6.2 payment/uc_authorizenet/uc_authorizenet.module \_uc_authorizenet_cvv()
Returns the message text for a CVV match.
1 call to _uc_authorizenet_cvv()
- _uc_authorizenet_charge in payment/
uc_authorizenet/ uc_authorizenet.module - Handles authorizations and captures through AIM at Authorize.net.
File
- payment/
uc_authorizenet/ uc_authorizenet.module, line 795 - Processes payments using Authorize.net. Supports AIM and ARB.
Code
function _uc_authorizenet_cvv($code) {
$text = $code . ' - ';
switch ($code) {
case 'M':
$text .= t('Match');
break;
case 'N':
$text .= t('No Match');
break;
case 'P':
$text .= t('Not Processed');
break;
case 'S':
$text .= t('Should have been present');
break;
case 'U':
$text .= t('Issuer unable to process request');
break;
}
return $text;
}