I have this code on my website:
<form method="post" action="process.php"> <input type="hidden" name="itemname" value="1" /> <input type="hidden" name="itemnumber" value="2" /> <input type="hidden" name="itemQty" value="1" /> <input type="hidden" name="itemprice" value="17"> </form>
This code sends a POST to process.php, which opens the PayPal class for payment.
Everything works fine, but I have very big problems. The fact is that if I edit any value using FireBug, say, for example, "itemprice", anyone can change the default value and replace the product price with any other value at the time of payment processing.
How can i fix this? Any ideas?
Thanks.
source share