Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [mv] How To Extract Item Codes At Checkout Question: Followup



Christopher,


cfm@maine.com wrote:
> 
> On Sat, Jan 20, 2001 at 02:42:03AM -0700, OTR Comm wrote:
> > Hello,
> >
> > Previously i asked if it is possible to extract the item codes for each
> > line item in a given session at checkout?
> >
> > Is it possible for me to query $Vend::Session->{'carts'}->{'main'} in
> > Order.pm?  If so, where should I do it before the cart gets dumped?
> >
> > What I want to do is write out each item code, description, price, etc.
> > to a Mysql database for some report generation.
> 
> Can you clarify "some report generation"?

I am developing a 'mall' type shopping environment with minivend.  I
will be working through a single merchant account for each separate
store in the 'mall'.  Currently, the 'stores' share pages/ord/asket.html
and pages/ord/checkout.html.

What I currently do is capture all the transactions after they have been
'authorized' by Cybercash and store them in a Mysql database.  Then I
have an interface , that I wrote , to the Cybercash transaction
gateway.  With this interface tool, I can control processing of the
transactions. I have my Cybercash account setup to 'authorize only' and
not 'settle' the transactions when they come from Minivend.  It is
through my interface that the user can select transactions for
processing (i.e.; build batches for marking, settle transactions, void
transactions, etc.).

Now this works well for a single store, with its own merchant account,
but it is not the same paradigm with a 'mall' situation.

What I need to do is have access to the item code for each line item in
the checkout form, then be able to capture the information about each
line item and associate each line item with the current session.  Then I
need to store this information in Mysql records associated with the
current transaction.

What I will do then is group these line items by item code and send an
email to the 'store' owners to let them know that they some of their
items have been ordered.

I am also developing a complete accounting system to control all this,
but that is a different story.

Thanks,
Murrah Boswell
> 
> Depending on what you want for report you'd dump it in
> different way/page/place.
> 
> In the typical sequence the cart doesn't get dumped until the
> report and receipt page are complete.
> 
> --
> 
> Christopher F. Miller, Publisher                             cfm@maine.com
> MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
> 1.207.657.5078                                       http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
> 
> _______________________________________________
> Minivend-users mailing list
> Minivend-users@minivend.com
> http://lists.akopia.com/mailman/listinfo/minivend-users


_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://lists.akopia.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: