How do I specify the URL for my IPN script?

These steps are for Business account holders.

Instant Payment Notification (IPN) is PayPal's Payment API for handling real-time purchase confirmation. You can use IPN to manage software downloads, user logins, and other PayPal-enabled web services and communication. Through IPN, you can automate certain aspects of your business by sending transaction details to your server whenever you receive a PayPal payment or whenever a transaction's status changes.

How do I specify the URL for my IPN script?

You can specify the URL for your IPN script in three ways:

  • Add the URL in your PayPal Profile for Instant Payment Notification:
  1. Click Settings.
  2. Click Notifications under "Profile" on the left of the page.  
  3. Click Update beside "Instant payment notifications."
  4. Click Choose IPN Settings to specify your listener's URL and activate the listener.
  5. Under Notification URL, enter the URL for your listener.
  6. Click Receive IPN messages (Enabled) to enable your listener.
  7. Click Save.
  • Add the notify_url variable in your PayPal Standard HTML code. Set this variable to the URL of your IPN script.
  • Add the NotifyURL variable in your PayPal Pro script, and set it to the URL of your IPN script. For more information on this feature.