View Full Version : easy question, html button and paypal integration

11-06-2008, 02:04 AM
hey guys

i cant seem to get an html button to work with paypals add to cart. paypals button generator only seems to work with images, but i want to use a button. im sure this is an easy solution, hopefully someone more knowledgeable than i can help me with this


11-06-2008, 02:31 AM
try this.

replace the current buy it now img link ( keep in mind this one is the donate button, replace whatever Paypal generated for you for your buy it now link)

<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">

with this

<input type="submit" value="Buy It Now">

11-06-2008, 06:51 AM
<form action="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="email">
<input type="hidden" name="item_name" value=".....">
<input type="hidden" name="amount" value="takes how much is that">
<input type="hidden" name="on0" value="25085">
<input type="hidden" name="on1" value="xxxx">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="donate">

03-30-2013, 03:59 PM
see http://rleahongpaypalintegrate.blogspot.com