PayPal Instant Payment Notification for WordPress
To enable IPN in your PayPal account:
- Go to the plugin settings and select the IPN tab.
- Copy the Listener URL
- Log into your PayPal account
- Go to Profile > Profile and Settings > My Selling Preferences
- Look for an Instant Payment Notification option.
- Click on the update link (on the right).
- Click Choose IPN Settings
- Enter the Notification URL and make sure you have selected to receive IPN messages.
- Save the settings.
But IPN can be blocked or restricted by your server settings, theme or other plugins. The good news is you can simulate the notifications to check if all is working.
To carry out a simulation:
- Download, install and activate the plugin.
- Enable IPN on the IPN settings page.
- Enable the PayPal Sandbox on the plugin setup page
- Fill in and send your payment form (you do not need to make an actual payment)
- Go to the dashboard Payments History and copy the long number in the last column from the payment you have just made
- Go to the IPN simulation page: https://developer.paypal.com/developer/ipnSimulator
- Login and enter the IPN listener URL
- Select ‘Express Checkout’ from the drop down
- Scroll to the bottom of the page and enter the long number you copied at step 5 into the ‘Custom’ field
- Click ‘Send IPN’. Scroll up the page and you should see an ‘IPN Verified’ message.
- Go back to your Payments Report and refresh, you should now see the payment completed message
That’s all there is to is. If the simulation worked you will now be getting payment confirmations on the Payment history report.