Has anyone else tried to use Zend_Validate_CreditCard with Authorize.Net's sandbox API? I've run into a problem that is making it difficult for me to test my application. The test credit card number that Authorize.Net provides for their sandbox API (4222222222222) is not a valid credit card number--at least according to Zend_Validate_CreditCard. It appears that Zend_Validate_CreditCard thinks this is a Visa credit card (since it starts with a '4') and that Visa credit cards should have a length of 16 characters but Authorize.Net's test credit card has a length of 13 characters, causing it to fail validation. Has anyone either found other, valid, test credit numbers that work in Authorize.Net's sandbox API or found a simple way to get Zend_Validate_CreditCard to accept this as a valid credit card (at least in testing)?
-- Bradley Holt [email protected]
