I am testing a simple paypal, a paid whisch script works fine except that it does not call my notify_url and I don't understand why. The URL is accessible, and even testing IPN with a sandbox gives a positive result. Even a stranger, in the same domain, I have another script that works unusually. The code is not identical, but it uses the same method.
This is the html of the form used to send payo to Paypal:
form id="ppcheckout" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="pp">
<input type="hidden" value="_xclick" name="cmd">
<input id="business" type="hidden" value="xxx@gmail.com" name="business">
<input id="currency_code" type="hidden" value="EUR" name="currency_code">
<input type="hidden" value="http://www.mydomain.com/dir/ipn.php" name="notify_url">
<input id="return" type="hidden" value="http://www.mydomain.com/dir/" name="return">
<input id="cancel_return" type="hidden" value="http://www.mydomain.com/dir/" name="cancel_return">
<input type="hidden" value="1" name="amount">
<input type="hidden" value="Order from mysite" name="item_name">
<input type="hidden" value="1" name="invoice">
</form>
It is impossible to understand what is wrong or missing. Does anyone have an idea?
Thanks Bye
source
share