Paypal IPN: notify_url not called

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

+7
source share
6 answers

, paypal LOCALHOST. , , -, localhost, SERVER, .

, PayPal - PayPal PHP MySQL

+4

?

, .

+3

(IPN) - PayPal Sandbox.

  • - Sandbox.
  • .
  • URL- IPN.

- URL- PayPal IPN/Notify Sandbox

+2

. paypal , -

0

, , , paypal notify_url. notify_url , . Paypal localhost .

, IPN PayPal

http://www.micahcarrick.com/php-paypal-ipn-integration-class.html

0

All Articles