What errors are you getting? Charles Daminato OpenSRS Product Manager Tucows Inc. - [EMAIL PROTECTED]
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Allen > Sent: March 6, 2002 4:32 PM > To: Robert L Mathews; [EMAIL PROTECTED] > 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 > > > > > ----- Original Message ----- > From: "Robert L Mathews" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 06, 2002 3:27 PM > Subject: Re: CC Verification? > > > > At 3/6/02 10:15 AM, Mike Allen wrote: > > > > >Has anyone elses credit card verification quit working? My script is > > >denieying all cards now when it didn't used to. I am not sure where to > > >begin so I wanted to see if anyone else is having this problem??????? > > > > Are you using AuthorizeNet as your payment gateway? > > > > They used to allow you to make insecure (non-SSL) connections from your > > server to theirs. About two weeks ago, they turned this off. > > > > You'll probably have to make your payment script connect to AuthorizeNet > > using SSL (hint: use Net::SSLeay's "post_https" function if you're using > > perl). > > > > -- > > Robert L Mathews, Tiger Technologies > > > > "The trouble with doing something right the first time is that nobody > > appreciates how difficult it was." > > > > >
