Jump to content


This topic is now archived and is closed to further replies.


CC woes

Recommended Posts

Ok, pretty stupid question and not really PHP related, but I figure maybe someone would of had to work with this before. I have a site I built that takes credit card submissions. The verification is fine and all that, but the client wants dashes in the CC number. The problem I have is I don't know what kind of spaces go in besides a normal 16 digit visa and a normal 15 digit american express. I know they also make cards that are 14 and 13 digits.

So I have Visa 16 Digit
American Express 15 Digit

I just don't know how the spacing goes on 14 and 13 digits cards and I can't find any pics on the net with them.

Anyone have or dealt with 13 or 14 digit cards that can tell me the spacing? heh

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.