I am getting 500 internal server errors. Here is my form data: We are using the form idea at the bottom of this page: https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ2067 Your form: <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="email">
<input type="hidden" name="item_name" value="Widget">
<input type="hidden" name="amount" value="$1,000.00"> <--Problem: Remove currency symbol and comma ("1000.00")
<input type="hidden" name="currency_code" value="USD">
<input type="submit" value="Old PayPal checkout">
</form> Our form: <div id="ctl00_ctl00_cphMain_cphMain_pnlPayPalTest" style="display:inline;">
<a href="javascript:paypal();"><img src="/Secure/Images/cc/paypal_checkout.png" /></a>
</div>
function paypal() {
var f = getElem('aspnetForm');
f.__VIEWSTATE.value = '';
f.encoding = 'application/x-www-form-urlencoded';
f.action = 'https://www.paypal.com/cgi-bin/webscr';
f.submit(); __doPostBack('btnSubmit', '');
}
<div id="ctl00_ctl00_cphMain_cphMain_pnlPP">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="email" />
<input type="hidden" name="return" value="https://dev4.dogbizpro.com/public/thanks.aspx?invoiceid=347">
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="invoice" value="DBP-347" />
</div> What is wrong with it?
... View more