[ic] Setting order discount using JavaScript

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Mon May 13 08:17:00 2002


On Sun, May 12, 2002 at 10:19:49PM -0500, Scott Kennedy wrote:
> I'm trying to set a discount for the entire order using a combination of
> JavaScript and Perl.  The code is on the checkout page which may be found at,
> 
>     http://neatway.com/cgi-bin/altchoice/index.html
> 

Be careful that a visitor cannot alter that javascript and post the
page with his own discount.  That's a pretty common hack to many
carts that carry pricing in the page.

-- 

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/site management, online commerce, internet integration, Debian linux