[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Setting order discount using JavaScript
> |> 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?
unplug all network connections from your webserver.
Or, you could try using ic's discounting features.
Jonathan
Webmaint.