[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: removing javascript from demo basket.html
****** message to minivend-users from "Gerard Olszowiec" <gerard@entitysoftware.com> ******
Stewart:
I didn't have much luck using "secure=1" and had similar problems to your at
one time. I use MV 3.08. Try using '_self secure'.
In BASKET.HTML:
<FORM ACTION="[process-target _self secure]" METHOD=POST>
and, depending on the buttons you display on this page, use something like
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_click" value="Search">
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_submit" value="Recalculate">
<input type="submit" name="mv_todo" value="Check Out">
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_click" value="Stop Shopping">
Then, in CHECKIUT.HTML:
<form action="[process-target _self secure]" method="POST">
(Both POST and "POST" seem to work.)
and
again, depending on the buttons you display
<input type="submit"
onClick="document.forms[0].action='[process-target _self secure]'"
name="mv_submit" value="Recalculate">
<input type=submit name=mv_todo value="Place Order!">
This is what I use for my basket and checkout. My basket is not secure, and
the only secure action is "Checkout". Within checkout.html the entire
checkout process is secure, including the "Recalculate" action.
Cheers,
Gerard
------------------------------
Gerard Olszowiec
Entity Software
gerard@entitysoftware.com
www.entitysoftware.com
-
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