Saturday, September 28, 2013

PayPal Interation into your website

Use the following snippet in your code:


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="cmd" value="_xclick" />
 <input type="hidden" name="cbt" value="Return to example" />
 <input type="hidden" name="business" value="ur email id" />
 <input type="hidden" name="item_name" value="example Purchase" />
 <input type="hidden" name="amount" value="15.0">
 <input type="hidden" name="button_subtype" value="services" />
 <input type="hidden" name="no_shipping" value="1">
 <input type="hidden" name="return" value=" return URL" />
 <input type="hidden" name="notify_url" value="notify URL"/>
 <input type="hidden" name="cancel_return" value="cancel URL" />
 <input type="hidden" name="currency_code" value="USD"/>
 <input type="hidden" name="image_url" value="" />
 <input type="hidden" id="custom" name="custom" value="invoice_id to track"/>
 <input type="hidden" name="bn" value="PP-BuyNowBF">
 <input type="image" src="https://www.paypal.com/en_AU/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
</form>

No comments:

Post a Comment