This page illustrates how you create a single buy now button. This may be used in situations where you have existing text on a web page and just want to add a button at an appropriate place.
The button can be placed on any web page format - it can be a PHP page or an ordinary html page.
<form action="http://www.yourservername/eseller/ipn/process.php" method="post">
<input type="hidden" name="item_number" value="item1">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
The fields that you enter to create the button (those in bold text) are :
The 'action' url is http://www.yourservername/eseller/ipn/process.php assuming that you have installed PHP-eSeller
at the root of your web site in a folder called 'eseller'.
The value of the 'item_number' field is the item number of the product you wish to create the button for. This is the value that
you entered in the Products display in the admin pages.
The image can be any of the PayPal images or one of your own.
When the purchaser clicks on the buy now button, the php script will extract all the relevant data from the database and post it to the PayPal server.