On Sat, 8 Oct 2005, Bill Gerrard wrote:

> Brian,
>
> Seeing as many of my pending orders are to be cancelled by openSRS before I
> > get a chance to process them, I need to set up a script (I'm thinking a
> > once-per-day cron) which will check the order numbers that are marked as
> > paid in my local database and cross reference them against orders marked
> > as
> > cancelled in the RWI. Then, of course, the script would have to re-create
> > the order and process it.
> >
> > I have heard (or read) much about scripting against the RWI on these
> > lists,
> > but haven't been able to discern just how to go about it. The opensrs
> > website & RRC don't mention it at all.
> >
>
> There won't be any mention about it because it's just a hack. It's something
> you would have to do only if the API wasn't capable of doing what you need.
>
> It would most likely be a whole lot easier to just use the API to submit the
> order when you are ready process it.

Which is what I was going to say yesterday, when you (Brian) asked which
way to go... my answer was going to be to turn around, and run the other
direction. Keep your orders stored locally until you are ready to have
them processed. If for no other reason than that "trivial" changes at
OpenSRS won't mess up your business. But it also leaves you much more able
to shift to other means of provisioning your domains (e.g. other
suppliers). "scripting" the RWI is a sort of classic example of this,
small changes to the HTML layout of the RWI can break your scripts until
you update them to match.

-Tom
----------------------------------------------------------------------
[EMAIL PROTECTED]   | "The Internet is a world of ends. You're at one
http://BareMetal.com/  | end, and everybody and everything else are at the
web hosting since '95  | other ends." - http://www.worldofends.com/

_______________________________________________
domains-dev mailing list
domains-dev@discuss.tucows.com
http://discuss.tucows.com/mailman/listinfo/domains-dev

Reply via email to