[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Minivend3.14/MySQL Problem
****** message to minivend-users from Dan Busarow <dan@dpcsys.com> ******
On Mon, 24 Apr 2000, OTR Comm wrote:
> > That's what the NoImport directive is for. MV won't do this if you
> > include the table in a NoImport line like
> >
> > NoImport products pricing
>
> If I start out with a clean table, will the NoImport line not populate
> the table with the values, say in products.asc?
Right. It will ignore any .asc files used as placeholders in your
Database directives.
> > > Now what I have to do is figure out where MV updates the transactions
> > > table. I assume that it is someplace in Order.pm
> >
> > See etc/report
>
> I see in etc/report some references to transactions, but I do not see
> how this is actually updating the MySQL table called transactions. This
> looks like it is just generating a portion of a report.
It's not doing any SQL updates. It's writing to a text file, like
transactions.txt. see the [tag flag write] and [import table] tags.
> If I am wrong, then I do not see how it works. What I need to know is
> where in the code the actual update to the transactions table in MySQL
> takes place.
You would write your own sql update code in place of the above. It's
just a convenient place to do it.
> I have written an interface to Cybercash and I would like to know
> 'legally' where the transactions table is updated. I had to write a
> hack to Order.pm to get the information from Cybercash that I need, but
> I do not think that this is very elegant. If you are interested, you
> can see the Cybercash interface that I am working on. Just go to:
The CyberCash transaction has completed, and succeeded, before you
get to etc/report.
I haven't tried this but it looks like you should be able to access
any of the CyberCash result values with something like
$auth = $Session->{cybercash_result}{pop.auth-code}
Dan
--
Dan Busarow 949 443 4172
Dana Point Communications, Inc. dan@dpcsys.com
Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list