Have the credit card payment module enabled (where it splits up the credit card number and emails half).
However, when you enter an American Express card number, which is 15 digits as opposed to VISA 16 digit, it will not accept the card number. Went into the admin page but no options for Amex or anything.
Anyone know what script needs to be edited that the form checks against when submitting OR any other ideas to get around this? Thanks!
dg
Latest News: (loading..)
American Express Numbers
Started by david_garcia, Jun 20 2006 04:09 AM
6 replies to this topic
#1
Posted 20 June 2006 - 04:09 AM
#2
Posted 20 June 2006 - 10:35 PM
the osc check 15 digits for amex. so that's not the problem most likely the numbers themselves. Try with a regular amex not a gift card.
#3
Posted 02 July 2006 - 01:46 PM
enigma1, on Jun 21 2006, 08:35 AM, said:
the osc check 15 digits for amex. so that's not the problem most likely the numbers themselves. Try with a regular amex not a gift card.
I also have the same problem. The standard credit card module does not work with 15 digit American Express "Corporate" cards.
Standard Amex cards are ok, it's just the Corporate ones that dont work. I have double checked that the digits were entered correctly.
Anyone know how to fix this?
#4
Posted 03 July 2006 - 05:19 PM
then you could change your catalog\includes\classes\cc_validation.php This is where the card filtering takes place. Near the beginning of the file. I don't know what ranges you want to cover there should be a document for AMEX that specifies the valid ranges.
change it to
} elseif (ereg('^3[47][0-9]{13}$', $this->cc_number)) {
$this->cc_type = 'American Express';
change it to
} elseif (ereg('^3([4]|[7])[0-9]{13}$', $this->cc_number)) {
$this->cc_type = 'American Express';
so this moded code covers the 34 and 37 ranges.
#5
Posted 06 July 2006 - 10:18 PM
enigma1, on Jul 3 2006, 12:19 PM, said:
then you could change your catalog\includes\classes\cc_validation.php This is where the card filtering takes place. Near the beginning of the file. I don't know what ranges you want to cover there should be a document for AMEX that specifies the valid ranges.
change it to
} elseif (ereg('^3[47][0-9]{13}$', $this->cc_number)) {
$this->cc_type = 'American Express';
change it to
} elseif (ereg('^3([4]|[7])[0-9]{13}$', $this->cc_number)) {
$this->cc_type = 'American Express';
so this moded code covers the 34 and 37 ranges.I am a CRE user and am having an issue with the AMEX cvv codes. When testing if you use a 3 digit cvv it will process fine but when you enter a 4 digit cvv it kicks back to the payment form to enter the cc number and info again with a message that states "credit card error!!" I have checked the cc_validation.php code but do not see an error and am unsure where the conflict might be occurring.
If anyone has any suggestions please let me know and thanks,
C
#6
Posted 06 March 2007 - 03:25 AM
where is the validation for the CVV?
its not in the cc_validation.php file
Ilan
its not in the cc_validation.php file
Ilan
#7
Posted 27 May 2009 - 10:31 AM
In admin>>configuration>>minimum values set the minimum credit card number length.
It's probably set at 16.
You can set the minimum to 15.
Sorry to post to this old thread but I didn't see the answer anywhere else. At least now it should start showing in google. Thanks.
It's probably set at 16.
You can set the minimum to 15.
Sorry to post to this old thread but I didn't see the answer anywhere else. At least now it should start showing in google. Thanks.









