Forums / Addon Payment Modules / SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

Locked

Views: 10,813

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Nov 2010, 4:24 PM
#1
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

I'm getting an error on the checkout when using amex. The cards are valid and work fine when i process through my merchant site manually, but when I use zen (amex is enabled with a 1 in the card section) I get this error. The Credit Card Number does not match the Credit Card Type.

27 Nov 2010, 4:46 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

The problem will be linked to the payment module that you're using and will need somebody with knowledge of that module to help you. Unfortunately you haven't included this information in your statement of the problem.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Nov 2010, 5:17 PM
#3
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

I'm using the secure pay module. I've checked the cc validation and the securepay.php module and they both match up with the two names (i saw a similiar problem with the Master Card/Mastercard)

} elseif (preg_match('/^3[47][0-9]{13}$/', $this->cc_number) && CC_ENABLED_AMEX=='1') {
$this->cc_type = 'American Express';

27 Nov 2010, 5:21 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

I've edited the title of the thread in the hope that it attracts somebody with knowledge of that payment module.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Nov 2010, 9:46 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

Your module is likely expecting it to say 'AMEX', when it's really saying 'American Express'.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Nov 2010, 5:28 AM
#6
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: SecurePay Amex error 'The Credit Card Number does not match the Credit Card Type"

No, I can't get into my ftp now, but that code translates correctly too. I just didn't get a chance to paste the code from the securepay.