I am trying to integrate PayPal's Website Payment Standard into our very basic e-commerce website.
Paypal requires a <form> tag set to Post to a paypal webpage, and within this form there must be several <input type="hidden"> tags, relating to the item(s) in the shopping cart. Here is a sample code from Paypal:
<form action="https://www.paypal.com/cgi-bin/webscr" id="PayPalForm" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="seller@designerfotos.com">
<input type="hidden" name="item_name" value="hat">
<input type="hidden" name="item_number" value="123">
<input type="hidden" name="item_quantity" value="3"& ...
Go to the complete details ...