asp.net - using a custom button with PayPal -



asp.net - using a custom button with PayPal -

i've got asp.net mvc 3 website , wish incorporate simple paypal button 1 product, wish utilize custom designed button.

i couldn't find reference using paypal custom button - references help :)

thanks!

this custom button working sample code, 1 product. add together paypal total post paypal cart , need form way send informations 1 product.

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" > <input type="image" src="/img/custombuttonimage.jpg" border="0" name="submit" alt="buy it" /> <img alt="" border="0" src="https://www.paypal.com/en_us/i/scr/pixel.gif" width="1" height="1" /> <input type="hidden" name="add" value="1" /> <input type="hidden" name="cmd" value="_cart" /> <input type="hidden" name="business" value="yourpaypalemail@yoursite.com" /> <input type="hidden" name="item_name" value="item name" /> <input type="hidden" name="item_number" value="158" /> <input type="hidden" name="amount" value="16.90" /> <input type="hidden" name="no_shipping" value="2" /> <input type="hidden" name="return" value="http://www.yoursite.com/shop/" /> <input type="hidden" name="cancel_return" value="http://www.yoursite.com/shop/" /> <input type="hidden" name="no_note" value="1" /> <input type="hidden" name="currency_code" value="eur" /> <input type="hidden" name="lc" value="gr" /> <input type="hidden" name="bn" value="pp-shopcartbf" /> </form>

you can find details ids on paypal manuals.

asp.net paypal

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -