Well, mine was a little different of a problem. I figured out what was wrong
with ours. I changed the Template when I was customizing
them, and in the order.html template I changed the cc exp months from 1,2,3
to 01,02,03 etc. I gave NO consideration to CC_MONS
in the script. That was my whole problem. I could not figure it out for the
life of me, because I did not get ANY errors. That small
problem made the whole subroutine not even make the call to our gateway
Company for the CC processing, it would only return as false.
I was able to detect it when I had the error_out define each variable, and
the only problem I seen was that the month was blank. So when
I looked more closely I seen the $cc_mons{$in{p_cc_exp_mon}} then remembered
the hash at the top, and figured it out. I guess I should
just sleep more, then I could concentrate, so as to not make these mistakes.
But Live and Learn. Anyways Chuck thought it was a good
Idea to post that to all you guys(gals too), so that if you ever have the
same problem, that may be where it lays.
Also, keep that in mind if you don't already do it, when you are having a
problem you can't track down, have the part that is causing you
stress, define all it's vars in the error message. Then you can possibly see
where your problem is.
Thanks
Richard.
http://www.firstratehosting.com/indexx.cgi "Your Host With the Most!"
http://register.firstratehosting.com/cgi-bin/index.cgi Register your Domain
with prices starting at ONLY $8.50 Per Year!
https://www.firstratehosting.com/register/cgi-bin/name.cgi Pre-Register your
.name domain TODAY!
----- Original Message -----
From: "Charles Daminato" <[EMAIL PROTECTED]>
To: "Mike Allen" <[EMAIL PROTECTED]>; "Robert L Mathews"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 3:36 PM
Subject: RE: CC Verification?
> 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."
> > >
> > >
> >
>
>
>