Clicking on a 'Buy now' button immediately takes you to the PayPal checkout where you buy that
single digital download or a single physical item.
Buy now buttons are used where you only have a few items to sell and you do not expect purchasers
to buy more than one item at a time.
The button or buttons may be placed anywhere on an existing web page which makes it easy to integrate
into an existing design. The web page can be of php extension or an ordinary htm page.
<form action="http://www.yourservername/eseller/ipn/process.php" method="post">
<input type="hidden" name="recid" value="6">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
- 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 hidden field is the record id of the product you wish to create the button
for. This is the value that 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.