Search code examples
paypalpaypal-ipn

Paypal recurring payment IPN usage


I successfully create a listener and it is working well if I am using the IPN simulator. However, when I am doing the payment request in the process of payment, I set the same listener url for the notify_url, nothing happens even the process working properly. How can I know if someone cancel his recurring payment directly from the Paypal or how do I setup up the listener whenever a recurring payment is made? Is it something wrong with my notify_url? This is what my notify_url look like:

http://example.com/paypal_notification/ipn_callback

No extra parameters. Is it correct? Thank you in advance.


Solution

  • You should be getting an IPN when the profile is created, each time the recurring profile bills, and when the profile is cancelled. Check your IPN history in your account to make sure the IPN's are being sent out, and check to see if there is any type of error being returned to PayPal. Check your server access logs to see PayPal is calling your script and check your error logs to see if anything is being triggered. Try adding www. to your URL, and the ext to the end of your URL for the type of file it is. Also, there are some IPN troubleshooting tips I posted for IPN on this forum POST.