[ic] Setting order discount using JavaScript

Scott Kennedy interchange-users@interchange.redhat.com
Mon May 13 08:59:01 2002


On Mon, 13 May 2002 cfm@maine.com wrote:

|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.

Good point.  Anything I can do to help prevent this?

|--
|
|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
|_______________________________________________
|interchange-users mailing list
|interchange-users@interchange.redhat.com
|http://interchange.redhat.com/mailman/listinfo/interchange-users
|


--Scott


***********************************************************
/ Custom Web Promotions /
Economical web hosting & online storefronts featuring
Red Hat Linux 7.2 & Red Hat Interchange 4.8.5
http://custweb.com / 888-287-8932 / sales@custweb.com
***********************************************************