Use PayPal API
How Website Payment Standart works?
Example BuyNow
button;
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="[email protected]"/>
<input type="hidden" name="item_name" value="Red Jacket"/>
<input type="hidden" name="item_number" value="7601"/>
<input type="hidden" name="amount" value="125.00"/>
<input type="hidden" name="no_shipping" value="2"/>
<input type="hidden" name="no_note" value="1"/>
<input type="hidden" name="currency_code" value="USD"/>
38 CHAPTER 3 n BASIC WEBSITE PAYMENTS
Figure 3-1. The checkout flow for Website Payments Standard
<input type="hidden" name="bn" value="PP-BuyNowBF"/>
<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!"/>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif"
width="1" height="1"/>
</form>
business
: The email address of the PayPal account selling the item
item_name
: The name of the item for sale
item_number
: An identifier you can use to track an internal inventory number
amount
: The price of the item
currency_code
: The currency of the value specified in amount
image
: The URL of the button’s image