How to Setup PayPal IPN

PayPal IPN (Instant Payment Notifications) works by sending messages directly between PayPal and your website. Using this channel of communication, your site can automatically be updated when transactions are completed.

Without IPN, your website has no way to know that payment has been made, and you’ll need to manually log in to PayPal and check before approving transactions on your website.

Note: A PayPal business account is required in order to enable IPN support (see instructions below). Any of our themes that utilize recurring payments also depend on IPN.

The following instructions are based on the PayPal Classic layout. If you’ve enabled the newer layout, the steps may be slightly different.

How to Enable IPN

  1. Log into your PayPal account
  2. Under My Account, click Profile > My Selling Tools
  3. Under the “Getting paid and managing my risk” section, you’ll see “Instant payment notifications”. Click the “Update” link to the right
  4. Click the “Choose IPN Settings” orange button
  5. Enter your website URL into “Instant Payment Notification Preferences” and select the “Receive IPN messages” radio button.
  6. Click “Save”. PayPal IPN is now enabled.

PayPal also has some screenshots on their install page which may help you as well.

How to Test Your IPN

PayPal provides an IPN simulator so you can test transactions to troubleshoot or even before opening you website for business.

  1. Visit the IPN simulator page
  2. Enter your IPN url in the “IPN handler URL” field
  3. Select “Web Accept” in the Transaction type drop-down
  4. A bunch of fields will automatically appear below. You can leave the default values
  5. Scroll down and click the “Send IPN” button
  6. This will send a transaction message to your website’s IPN listener

If all goes well, you’ll see the transaction in your wp-admin “Payments” log section. If not, there could be several reasons why. PayPal has assembled a list of common reasons.

Multiple IPN Listeners

Some customers are running several different AppThemes websites and need to setup multiple listeners. This may seem like a problem since PayPal only supports one IPN listener URL (as setup in the steps above), however it’s not.

PayPal allows us to dynamically set the IPN listener URL by passing a hidden field with each outbound transaction. Essentially, our themes (and most, if not all) Marketplace plugins have this already built-in so there’s no change required by you.

You can keep the IPN listener URL set the way it is in PayPal as the dynamic IPN listener URL takes priority. Basically the URL you set in PayPal is a fallback.

Upgrade to a Business Account

In order to use IPN, you need to upgrade to a free business account.

  1. Log in to your PayPal account
  2. On your Account overview page, click the “Upgrade” link next to “Account Type”
  3. On the next page, click “Upgrade now”

Like this tutorial? Subscribe and get the latest tutorials delivered straight to your inbox or feed reader.

Your rating: none
Rating: 3.3 - 9 votes

Popular Add-ons

Bazar

A Stunning Child Theme for Classipress 4


(11)
$49

Motivate Mails

Motivate users to purchase featured ads on your ClassiPress website


(1)
$19

Critic

A professional review and rating system for WordPress.


(13)
$29