Saturday, Saturday, September 01, 2001, 6:24:16 PM, Jim Carey wrote:
> At the risk of sounding like a broken record: :-)
> The new code is really nice - like the hooks concept very much ( would like
> to figure out how I might call a PHP routine with it - later). With the
> hooks integration of payment processing should be relatively
> straightforward. As I understand it we could got to a pre-auth hook from the
verify screen ->> order -> payment completion hook -> thank you. Excellent -
> all without changes to order.cgi.
> Now here's the record bit:
> I would like to use both pended and immediate registrations in order.cgi. So
> that if a customer ordered using a cheque option we can pend the
> registration and if they ordered by credit card and it is approved they get
> an immediate registration.
> I could do that in the new system by making all orders pended (that way cash
> orders would be pended and would go though order.cgi normally) and then by
> writing a new version of order.cgi for credit card orders that used the
> register.cgi functionality (ie action => "register" instead of action =>
> "sw_register"). This would work but has the disadvantage of not returning an
> order id.
> So, once again, I ask whether any short term activity is occuring on
> implementing a client side flag that allows us to specify whether a
> registration is pended or immediate ?
In the interim, you can use the LWP perl module, or libcurl
integration in PHP, to access the RWI using the script, and "approve"
the orders by sending the url command for those that should be
processed immediately.
I've broken out the URL that you need to send (and the two you need to
send in advance of that to go through the login process). It works
exactly like the password reset script I sent to the list earlier this
year. I believe I included the one of approving single domain orders
in an earlier email on the list.
Email me and I'll send it to you again offlist if you want it.
--
Best regards,
William X Walsh <[EMAIL PROTECTED]>
Userfriendly.com Domains