[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] order
Quoting Detlef Funkel (df@bkit.de):
> Mike Heins wrote:
>
> > > I'm encountering the following tricky situation:
> > > Before finishing the order process on the checkout-page, I would like to
> > > do a "real-time" check via a socket connection to another server.
> > >
> > > How would you guys suggest including the code for this process (I need
> > > to use IO::Socket and other nifty perl modules...)?
> >
> > There are a multitude of ways in checkout_profile, but they all involve
> > writing a global UserTag to access your code. One fairly easy way:
> >
> > (in checkout_profile)
> >
> > state=required
> > email=required
> > etc=required
> >
> > [value name=it_succeeds set="[your-usertag]" hide=1]
> > it_succeeds=required Sorry, the socket test failed.
>
> Well, thank you, Mike.
> But how do I make use of "$socket = new IO::Socket...:" in my UserTag
> routine???
>
You post no code, so no one can know.
If you are trying to use [perl] [/perl], you are doomed to failure.
I think it is time for you to read the docs on this.
--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users