[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] please help with order profile
****** message to minivend-users from Eduardo Fernandez Corrales <efernandez@sistelnet.es> ******
Christopher, thanks a lot for your answers.
There are some considerations that I note below:
cfm@maine.com wrote:
>
> ****** message to minivend-users from cfm@maine.com ******
>
> On Mon, Mar 06, 2000 at 01:14:41PM +0000, Eduardo Fernandez Corrales wrote:
> > ****** message to minivend-users from Eduardo Fernandez Corrales <efernandez@sistelnet.es> ******
>
> 1) Look into placing your order profiles in the pages. It is much
> easier to debug since you don't need to restart server every time.
> That's in docs.
Well, I think that I can't put the profile in the page, but maybe I am
wrong. This is why:
-Usually a page like checkout.html is pre-processed by minivend, and
although you put the order profiles in that page, nothing of them is shown
in the page when it is sent to the browser.
-The page that should have the order profile is not pre-processed by
minivend. It is just a perl script that I have writen that gets called
from outside minivend by the bank payment system when the payment is
finished processing.
So, that's why I haven't even tried to put the comments in the page. Maybe
if I put the order profile in a comment in the HTML it will work? I don't
think so, because there is no way minivend can't read this order profile
if it doesn't pre-process the page, which it does not, because as I said
above, this is just a perl script called from outside minivend.
>
> 2) the ../etc/receipt construct is probably not going to work.
> That wants a path/page relative to pages - which you have done -.
> I'm not sure it will let you up past pages/. You could try
> symlink if you REALLY want pages in there.
>
> Generally, etc does not have pages in it, but counters and misc
> config files; the old report is there - look instead at report page
> in docs.
Well, I really don't know how, but it works ;-)
When I click the "Get Receipt" I get the receipt page with no problems,
execept that, as I mention in the original post, no order number is shown
and no order gets logged in the system or sent to the store owner.
Also e-mail with the order details gets sent to the customer.
>
> 3) Can we assume your POST is not really
> <FORM ACTION="/cgi-bin/myshop/process?8E7vKakt;;54" METHOD="POST">
> That will lock you to that session 8E7vKakt. hmmm, maybe you DO
> want that?
No, no. This is just an example. The minivend session-id gets substituted
for the real value with every session.
Having the deadline for this project hangin over my head, I think that I
will try another approach that is possibly a kludge, but who cares.
The only thing that is missing is the order number and the sending of the
order to the store owner.
So, is there a way to call directly from my perl script the functions in
minivend to do that. What would be the syntax to do that? (I think these
are functions that are in lib/Order.pm
Thanks a lot for all your help.
> --
>
> Christopher F. Miller, Publisher cfm@maine.com
> MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
> 1.207.657.5078 http://www.maine.com/
> Database publishing, e-commerce, office/internet integration, Debian linux.
--
Eduardo Fernández Corrales
eduardo@sistelnet.es
Sistelnet Integraciones Telemáticas - http://www.sistelnet.es
NUEVOS TELEFONOS: 95-4186897 95-4186898 902-293030 Fax: 954186901
-
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