[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Hooks into authorization
On Fri, 26 Jul 2002, Daniel P. Zepeda wrote:
> On Fri, 26 Jul 2002, Kevin Walsh wrote:
> > > I want to keep a record of transactions *outside* of interchange in a
> > > another database. Specifically, I want to maintain a database of the
> > > transaction amount. Are there any hooks in the code that I can use for
> > > this purpose? If not, could someone give a quick pointer to where in the
> > > code I could go to implement such a thing?
> > >
> > You could add some code to your etc/log_transaction file to add a
> > record to your external table.
> >
> > You will have to set up a table description in a file under your
> > "dbconf" directory, defining the DSN/username/password/columns etc.
> > otherwise Interchange won't know how to use your table.
> >
> > If your table exists and you set up a dbconf file, make sure you
> > also create an empty products/tablename.sql file. This will stop
> > Interchange from attempting to drop/recreate the external table.
> >
> > Also remember to restart/reconfig when you have finished making
> > your configuration changes.
>
> Thank you, I think this is what I need. Is the etc/log_transaction
> something that is normally accessible by a store administrator? Where
> can I go to read up on this aspect?
Ok, sorry, I should have looked before I asked. I've got my answer
to this question. Now I have another:
I found the 'usertrack' logfile, it has order stuff in it, does anybody
see any negative ramifications of using this file to get the order
informationdata from?
>
> Thanks again.
> >
> >
>
>
--
"Daniel P. Zepeda" <dzepeda@satx.net>