Guest Posted December 14, 2005 Posted December 14, 2005 The payment gateway company (Iveri) we're using gives us 4 test credit card numbers to use, which they monitor before we go live. The numbers are in the format of e.g. 2424242424242424 Oscommerce does not accept a number of that format, see below: " Credit Card Error! The first four digits of the number entered are: 2424 If that number is correct, we do not accept that type of credit card. If it is wrong, please try again. " We HAVE to use the supplied test card numbers else we cant go live. Is there a way to disable the card number validation in the system? Thanks
Guest Posted December 14, 2005 Posted December 14, 2005 You could add a test card case in the catalog\includes\classes\cc_validation.php } elseif (ereg('^2424[2-4]{12}$', $this->cc_number)) { $this->cc_type = 'Test Card';
Recommended Posts
Archived
This topic is now archived and is closed to further replies.