Jump to content

CC woes


DylanBlitz

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
4444-44444-44444-44444
American Express 15 Digit
4444-666666-55555

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
Link to comment
https://forums.phpfreaks.com/topic/6707-cc-woes/
Share on other sites

Archived

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

×
×
  • Create New...

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.