[ic] order

Detlef Funkel df@bkit.de
Wed, 20 Sep 2000 12:56:57 +0200


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???

InterChange tells me:
Safe: Can't locate object method "new" via package "Vend::Parse" at
/usr/local/minivend/lib/Vend/Interpolate.pm line 536.

Any idea? Thanks!

Regards,
    Detlef