Last 15 days trying to solved paypal problem, after PayPal upgrade my customers have problem make payments, first few days it worked fine from time to time but now only showing error.
After I choose item to buy and click Buy Now button paypal show me
"This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow." here is image http://screencast.com/t/YJycxzb0FGkf
When I change
<input type="hidden" name="cmd" value="_xclick">
to
<input type="hidden" name="cmd" value="_donation">
than it work for some customers but not for all as beffore. Are I need done some PHP upgrade after paypal upgrade ?
my html code on button click
<table width="100%">
<tr>
<td height="10"> </td>
</tr>
<tr>
<td align="center"><div style="font-size:14px;font-weight:bold;margin:0px 5px 15px 5px">Recharge your Knight Cash</div></td>
</tr>
<tr>
<td align="center"><div style="font-size:14px;font-weight:bold;margin:0px 5px 15px 5px">Processing payment... please wait.</div></td>
</tr>
<tr>
<td align="center">
<div style="font-size:11px;font-weight:bold;margin:0px 5px 15px 5px">
<form action="https://www<%PAYPAL-SANDBOX%>.paypal.com/cgi-bin/webscr" id="payment_form" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<%PAYPAL-ADDRESS%>">
<input type="hidden" name="item_name" value="<%strName%>">
<input type="hidden" name="amount" value="<%nPrice%>">
<input type="hidden" name="tax" value="0.00">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="currency_code" value="<%CURRENCY%>">
<input type="hidden" name="custom" value="<%TRANSACTION-ID%>">
<input type="hidden" name="return" value="<%SERVER-URL%>/index.php?page=store&act=recharge&subact=success&id=<%TRANSACTION-ID%>">
<input type="hidden" name="cancel_return" value="<%SERVER-URL%>/index.php?page=store&act=recharge&subact=cancel&id=<%TRANSACTION-ID%>">
<input type="hidden" name="notify_url" value="<%SERVER-URL%>/index.php?page=store&act=recharge&subact=ipn&txid=<%TRANSACTION-ID%>">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
<script type="text/javascript">
document.getElementById('payment_form').submit();
</script>
</div>
</td>
</tr>
</table>
are I maybe missing something ? Last 5 years it worked fine no problem, so maybe need upgrade script. Any suggestion is welcome because I tryed many things and nothing dosent help.
thanks in advance