This has been working for years then about 6 weeks ago or so the notify_url is no longer called, my form/post code looks like this:
<form id="payme" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="return" value="http://www.houdinistop.co.uk/Thanks.aspx" />
<input type="hidden" name="notify_url" value="http://www.houdinistop.co.uk/Payment/Receive_PayPal.ashx" />
I have a bit of code on the ashx page which will send me an email if the page is hit, and if i go to the ashx page in my browser i get the email, but following a paypal transaction it never calls the handler.
It used to work and I made no changes and now it doesnt work so I'm guessing paypal changes something but all my Googling efforts cant find any info
Do notify_url setting in bussiness a/c of paypal
In addition to email notification, PayPal can send you the transaction data (also called Instant Payment Notification) to a specific url. With Instant Payment Notification, PayPal sends payment notification messages with encrypted code to the specified URL for each payment you receive. Follow the instructions below to setup Instant Payment Notification.
- Go to the PayPal website and log in to your account.
- Click "Profile" at the top of the page.
- Click "Instant Payment Notification Preferences" in the Selling Preferences column.
- Click "Edit IPN Settings."
Enter the notification URL and select "Receive IPN messages."
example: http://www.houdinistop.co.uk/Payment/Receive_PayPal.ashx
Click "Save."
来源:https://stackoverflow.com/questions/9905100/notify-url-no-longer-working