[Zope-dev] Credit-Card handling in Zope (thread progamming?)

Itamar Shtull-Trauring itamars@ibm.net
Tue, 18 Apr 2000 16:03:20 +0300


I'm starting to research CC handling, and it seems the way CCVS works is
that when you ask for a CC to be authorized, you don't get immediate
feedback on success/failure.  Instead, at some point the status changes to
"authorized".

I need to authenticate the CC, and do different actions depending on the
result.  Since this is going to be run non-interactively, I don't want to
have a thread waiting around polling to see if the CC was authenticated - I
need, I think, a new thread that does that and does a callback when the
authorization is finished.

Is it possible to mix threads  in Python with Zope?  Alternatively, the CC
handling can be done by a different python program that does callback via,
what - XML-RPC? The monitor?

-- 
Itamar S.T.  itamars@ibm.net