BCOE&M 2.1.11: Implement PayPal Instant Payment Notifications

With the release of version 2.1.10, BCOE&M offers the ability to process and receive PayPal payment data instantly.

PayPal's Instant Payment Notification (IPN) service is a way for your BCOE&M installation to update entry status to "paid" instantly after a user successfully completes their payment on PayPal.

No more fielding questions from entrants about whether their entries have been marked as paid, or why their entries haven't been.

Set Up PayPal

Implementing PayPal IPN involves a number of factors and a bit of setup on your PayPal account.

First, it is suggested that you have a dedicated PayPal account for your competition.

Second, to implement PayPal IPN, your PayPal account must be a business account.

Instructions for setting up IPN Notifications on PayPal can be found here. You will need to enter a Notification URL that points to the ppv.php file, commonly called a “listener,” in your site root for the function to work:

[your installation base URL]/ppv.php
e.g., http://www.brewcompetition.com/ppv.php

After setting up IPN notifications, you should also set up Auto Return on your account. Set the return value to:

[your installation base URL]/index.php?section=pay&msg=10
e.g., http://www.brewcompetition.com/index.php?section=pay&msg=10

Test, Test, Test

Once you have set up your PayPal account, since environments vary, it is suggested that you perform a test using your own BCOE&M account by adding an entry and paying for it via PayPal.

Or, use the IPN Simulator on the PayPal Developer Site - be sure to place your BCOE&M installation in TEST mode by changing the TESTING variable to TRUE in the [root]/paths.php file.

Transaction details will be saved to your BCOE&M database and will be available via your PayPal dashboard as well.

Start Using BCOE&M Today!

BCOE&M is an open source program covered under the General Public License (GPL) from the Open Source Initiative.

Download and Issue Tracking

The full source code is available for free. See the issues list on GitHub.

Latest Version: 2.1.11

Version 2.1.11 on GitHub

Be sure to read the installation instructions.

Upgrade instructions are available for current users who want to update to the lastest version.

Latest Commit Package

For advanced users... NOT Production Ready!

Latest Commits on GitHub

Click the “Download Zip” or “Open in Desktop” button from the Clone or download drop-down menu.