WithinWeb PHP-KeyCodes

plugin banner

Sell licence key codes or pin numbers automatically using PayPal.

Author:Paul Gibbs (profile at wordpress.org)
WordPress version required:4.7.0
WordPress version tested:5.8.9
Plugin version:2.1.6
Added to WordPress repository:12-07-2014
Last updated:08-09-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:http://www.withinweb.com/wordpresskeycodes/
Total downloads:2 033
Active installs:10+
plugin download
Click to start download

This Plugin enables you to sell software license key codes, pin numbers, mobile phone key codes or similar codes, automatically when someone makes a PayPal purchase.

The pin numbers are listed in the database one entry per line and when a purchase is made, PayPal sends an IPN notification to the plugin which then extracts the first pin number, sends it to the purchaser and then removes that pin number from the list.

The email sent to the purchaser contains the pin number, and you should receive a copy of the email.

The sales history listing also identifies which pin number has been sold to the purchaser.

A local test system is included which allows you to test without connecting to PayPal.

Setting a value in the Lower Limit entry box causes an email to be sent to the administrator when the minimum number of key codes has been reached.

Testing

The best way to test the application is to use a second live PayPal account as that tests the complete system. You have to do this if you want to test live because PayPal does not allow you to purchase from your own account.

To open a second PayPal account you need a second bank account which some people may find difficult but you will find it worth doing in the long run.

You can also use the PayPal Sandbox for testing which requires you work in the developer enviromment http://developer.paypal.com. Login into this using your normal PayPal account.

In the developer environment, you can create as many test acoounts as you want, and then set the PHP-KeyCodes to the sandbox environment. You also need to enter the sandbox email address into the “Settings” dsplay of PHP-KeyCodes.

Local Test

PHP-KeyCodes has a local test facility which will test all the set up and email details, but does not go through PayPal.

Local test has to be enabled before it can be used by going to the “Settings” display and setting the “Do Local Test” check box. Once you have finished your local tests, you should un-tick this box.

The local test is useful if you don\’t want to sepend time going in and out of PayPal.

Logging

Enable the debug log in the “Setting” section of PHP-KeyCodes. This will create a file which details the IPN results and other messages to show the path through the application.

Trouble Shooting

If you have multiple email addresses in your PayPal account, make sure that the one you use in this application is your PRIMARY PayPal email address.

If your emails are not getting to the customer, use SMTP. There are a number of WordPress Plugins for this.

Conflicts between Plugins can sometimes occur. To test this, deactive suspect Plugins.


ChangeLog