Horje
Sell software license key codes or pin numbers automatically using PayPal. Wordpress Tutorial

Noted That:

  • To install correctly this withinweb-php-keycodes.zip .
  • Fisrt Download the withinweb-php-keycodes.zip to your computer
  • Extract/Open withinweb-php-keycodes.zip to Your Computer.
  • Then, Find readme.txt file inside withinweb-php-keycodes.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " withinweb-php-keycodes.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " withinweb-php-keycodes.zip "  Downloaded plugin from your computer, Where you downloaded withinweb-php-keycodes.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Sell License Key Codes with WordPress PHP-KeyCodes " folder is added on left sidemenu. Now, Click on " Sell License Key Codes with WordPress PHP-KeyCodes " folder.

   Noted that: If you do not see " Sell License Key Codes with WordPress PHP-KeyCodes " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Sell License Key Codes with WordPress PHP-KeyCodes Configurtions and Settings or How to work " Sell License Key Codes with WordPress PHP-KeyCodes " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Sell License Key Codes with WordPress PHP-KeyCodes " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Sell License Key Codes with WordPress PHP-KeyCodes
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

The installation into WordPress is the same as for any plugin as is the procedure for upgrades.

If you have the free version of the plugin, Deactivate and Delete it before you install the Premium version. Having both the Premium and Free version active should not be an issue but may may cause confusion.

In the admin area of your WordPress site, click on “New Plugin” and then click on “Upload Plugin”. Browse for “withinweb-wwkc-keycodes.zip” on your computer and click on “Install now”.

Activate the plugin once it has been uploaded and un-zipped.

In the “Settings” of the KeyCodes menu, you must enter in your PRIMARY PayPal email address for payments.

Create an item and enter in the key codes in the key codes field one line at a time.

You may test the system using a local test without connecting to PayPal.

In “Settings” make sure you have selected the PayPal enviromment that you want to use, as either PayPal live or PayPal sandbox.

To display the PayPal button on your WordPress page, use the short code [keycodesbutton recid=”x”] where x is the record id of the product item. Or you can use the HTML code displayed from the “Item List” Page. You can get the record id of the product by going to “Item List”.

PHP-KeyCodes Settings

Before you create your product items, first go to the “Settings” page.

The PayPal environment can be either Live or Sandbox. If you are going to use the PayPal Sandbox testing environment, you also need to enter the PayPal Sandbox email address which you will have to set up through the PayPal developer environment.

Note that the PayPal email address you enter into PHP-KeyCodes must be your Primary PayPal email address. You can set up multiple email addresses in PayPal but only the Primary PayPal address will work with the IPN system.

Also note that if you receive a purchase which has a currency that is not the same as your PayPal default currency, then you have to accept the currency code before the transaction is completed. To overcome this, you can set your PayPal account to accept a range of different currencies.

PayPal activation

Make sure that you have enabled IPN in your PayPal account. You may also have to enter in the IPN Call Back URL which you can get from the “Settings” menu of the plugin.

The call back url is acutally sent to PayPal from PHP-KeyCodes as part of the button submission, which means that the url entered in PayPal setup can be different to the url needed for this plugin.

Hence it is possible to have multiple PayPal IPN systems without any conflicts.

The IPN system (Instant Payment Notification) is the way in which PayPal sends messages to and from PHP-KeyCodes. PayPal will send out a verified message only when the purchase is complete so you can be sure that no one can make a purchase without correct payment.

Creating your items

The create item page should be self-explanatory. The codes that you are going to sell go in the “keycodes” text box each one entered a line at a time. The top key code will be removed when sold so that the next key code is avaiable for the next purchase.

Short codes

The PayPal buttons are created using short codes as follows:

[keycodesbutton recid=”x” ]

where x is the record id of the product item.

Place the short code onto any of your WordPress pages.

The short code options are:

recid
a required entry

custom (optional)
default of blank which can be used for the IPN custom field which you can use to return any information back.

quantity (optional)
default 1

buttontext (optional)
default of “Buy with PayPal”

buttonclass (otpional)
default of “button-primary”

tax (optional) – this is a percentage
default of 0

So a full example would be:

[keycodesbutton recid=”3? buttontext=”Buy this at quantity 2? quantity=”2? custom=”Custom string” tax=”20?]

You can get the record id of the product by listing the items in “Item List” page. This page also has the short code displayed. If you want to use more conventional buttons which can be placed on non WordPress web pages, then use the html code which can also be displayed from the “Item List” page.


sell , software , license , codes , numbers , automatically , using , paypal , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference