Is there any reason for the check on cc acceptance not existing in my copy of the cc_validation class? In standard osCommerce the validation code in cc_validation is very different but there is code to check if each type of card is accepted eg:
Although these lines are missing from my file, the constant MODULE_PAYMENT_CC_ACCEPT_VISA and the other associated constants are referenced in the payment module cc.php and hence listed in the configuration table.Code:if ( strtolower(MODULE_PAYMENT_CC_ACCEPT_VISA) != 'true' ) { return -5; }




LinkBack URL
About LinkBacks






Bookmarks