Well, heck.  The only thing this does is verify the length of
the number and the check digit.  It's not actually validating
funds.  Is it possible that your pages aren't showing the
correct month/year, and that your customers chose not to
put the right expiration date in?  Or that the HTML template
got edited so that something is getting appended to the
CC number??

Regards,
Eric Longman
Atl-Connect Internet Services

+-------------------------------------------------------+
| Atl-Connect Internet Services   http://www.atlcon.net |
| 3600 Dallas Hwy Ste 230-288              770 590-0888 |
| Marietta, GA 30064-1685            [EMAIL PROTECTED] |
+-------------------------------------------------------+

----- Original Message -----
From: "Mike Allen" <[EMAIL PROTECTED]>
To: "Robert L Mathews" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 4:31 PM
Subject: Re: CC Verification?


I do mine manually. I was just using the code that OpenSRS provided for
verifications...
Here is the code where it checks:

    # here we check the validity of the cc_number, both its length
    # and its validity

    # only run this test if you set F_VERIFY_CC in conf file
    if ($REG_SYSTEM{F_VERIFY_CC}) {

 # check the cc number
 if (not cc_verify($cc_num)) {
     error_out("Invalid credit card number.\n");
     exit;
 }

 # check the expiration date
 if (not cc_exp_verify($cc_exp_mon,$cc_exp_yr)) {
     error_out("Invalid credit card expiration: $cc_exp_mon/$cc_exp_yr.\n");
     exit;
 }
    }


Mike Allen, 4CheapDomains.Net
[EMAIL PROTECTED]
http://www.4CheapDomains.Net
(812) 275-8425 - Office
(815) 364-1278 - Fax
----------------------------------------------------------------------------
--------------------
*** DeerSearch.Com   -   Get Targeted Traffic to your site for as little as
1 penny per visit!
http://www.DeerSearch.Com          Is currently paying $6.00 per sale to all
affiliates!
----------------------------------------------------------------------------
--------------------
*** PWDOnLine.Com - Looking for someone to design your web-site? Here we
are!
http://www.PwdOnline.Com




Reply via email to