Quote:
Originally posted by Brian Matthews:
When I pay my bill to Future Quest I can input my credit card number into 4 groups of 4 numbers, separated by blank spaces, so Future Quest's gateway provider does allow blanks within the card number.
|
Brian Matthews:
What that most likely means is just that FQ or their payment provider automaticly removes spaces (via a script). As long as the web-sites that you submit your credit card number at properly remove spaces, it doesn't matter whether you include spaces or not. The only web-site that I've seen have a problem with spaces is Dell -- as of a few months ago, their system had issues if any spaces were added.
To give you an idea of how spaces are removed, here's one line of Perl that removes spaces from the credit card number (which is stored in the variable $creditcardnumber):
Quote:
|
$creditcardnumber =~ s/ //g;
|
If you want your web-site visitors to be able to enter spaces in their credit card number, perhaps you should have their credit card number passed through a CGI (Perl) script (via SSL) on your web-site that removes the spaces. You could then have the number with no spaces sent to a gateway, such as Authorize.net.
I hope this helps...
-Mike Gnitecki