Hello,

I want to inform about credit card data validation related changes in next release.

Due to incompatibility with PHP version 5.3.0 function "CCVal()" (/core/ccval/ccval.php) will be replaced by "oxCcValidator" class (/core/oxccvalidator.php):

   oxCcValidator::isValidCard( $sNumber, $sType = "", $sDate = "" )

During update please review your own code and replace

   CCVal(..)

with

   $oCardValidator = oxNew( "oxCcValidator" );
   $oCardValidator->isValidCard(..);

Standard classes which will be changed:

oxInputValidator (/core/oxinputvalidator.php). Payment (/views/payment.php).
Regards
Arvydas Vapsva _______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to