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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.