[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] order
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
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users