Identifying your IPN listener to PayPal

API

Last updated: Aug 15th, 7:36am

After you implement and test your IPN listener, you make your listener known to PayPal by specifying the listener's URL in your account's profile. Optionally, you can override the URL to specify another listener for specific payments.

Setting Up IPN Notifications on PayPal

The following procedure describes how to specify and activate the URL for your IPN listener in your PayPal profile.

Your listener must be located at the URL that you specify in the profile. Before you activate your listener on PayPal, you should test the listener using the IPN simulator in the sandbox.

The steps to set up your listener for Sandbox testing and to set up your listener for live operation on PayPal are the same. The only difference is that you log into the sandbox to set up your listener for Sandbox testing and you log into PayPal to set up your listener for live operation.

After you log in, follow these instructions to set up your listener:

  1. Log in to your PayPal business account at www.paypal.com.
  2. Hover over your name and then click Account Settings from the dropdown menu.

  3. On the Notifications page, click the Update link for the Instant payment notifications item.
  4. Click Choose IPN Settings to specify your listener's URL and activate the listener.
  5. Specify the URL for your listener in the Notification URL field.
  6. Click Receive IPN messages (Enabled) to enable your listener.
  7. Click Save.

You can return to the Instant Payment Notification page to modify your notification URL, disable your listener, or turn off IPN.

Dynamically Setting the Notification URL

You can specify an IPN listener for a specific payment; this is the only way to receive IPNs associated with Adaptive Payments. In this case, PayPal sends the IPN message to the listener specified in the notification URL for a specific button or API operation instead of the listener specified in your Profile.

To specify a notification URL:

For a/an ... specify your IPN Listener's URL in the ...
PayPal Payments Standard button notify_url HTML form variable
NVP API operation NOTIFYURL field of the DoDirectPayment, DoExpressCheckoutPayment, or DoReferenceTransaction request
SOAP API operation NotifyURL field of the DoDirectPayment, DoExpressCheckoutPayment, or DoReferenceTransaction request
Adaptive Payments API operation ipnNotificationUrl field of the Pay or Preapproval request

We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies