Snap Affiliates for Zen Cart 1.5.0 through 1.5.4

Version 3.0.0 by lat9

Copyright © 2013-2015 Vinos de Frutas Tropicales

Current support thread at Zen Cart Forums: www.zen-cart.com/showthread.php?206579-Snap-Affiliates-v2-0-for-Zen-Cart-v1-5-0-and-later. This software is provided for your use under the GNU General Public License v2.0.

Usage Notes

  1. In the United States (and probably other countries), there are tax implications associated with creating an affiliate program for your website. I am neither a lawyer nor an accountant, but you should perform your own due diligence by performing a web-search for affiliate marketing 1099.
  2. There have been issues reported using this plugin with some (or all) of the SEO plugins. If you are using one of those plugins, please be prepared for the affiliate-related links generated by this plugin to generate page-not-found (i.e. 404) errors. Some of these issues might be mitigated starting with the 2.1.1 version of this plugin.
  3. This plugin includes v1.1.0 of Orders Status History — updated_by, available here: http://www.zen-cart.com/downloads.php?do=file&id=1839. Please make sure that you've subscribed to the current support forum for Snap Affiliates; I'll post there if there's an interface update required.

What it does

This plugin enables your store to have an "Affiliate Program" where an authorized affiliate can receive a commission for any sales that they "drive" to your store. To become an authorized affiliate, the affiliate must create an account with your store and then submit to you (via the link to the referrer_signup page at either My Account->Sign Me Up Today or the link provided by the Information Sidebox) the website from which they intend to promote your store. You'll receive an email informing you of the signup and you can authorize the affiliate using an admin-level tool.

Once authorized, the affiliate can access your site's referrer_tools and referrer_main pages via links from their account page — My Account->Affiliate Marketing Tools and My Account->Orders and Payments, respectively — to view a snapshot of their current commission history and access the information necessary to include their affiliate key in links from their store to yours. The affiliate links include a variable named referrer that identifies the affiliate's affiliate key which is created once you approve the affiliate's sign-up.

When one of your store's affiliates' customers clicks on an affiliate link, your store's customization detects the referrer variable and creates a cookie named referrer_key that contains the affiliate's key value. The cookie's lifetime is 1 year (31536000 seconds); you can change this value via an admin configuration. Each time a customer comes to your store with the referrer variable in the link, the referrer_key cookie is overwritten. So long as the cookie's lifetime has not expired, the customer has not cleared their browser cache and/or cookies and the affiliate is still in "good standing" (i.e. has not been banned), any purchase that the customer makes on your website results in an earned commission for that affiliate. Starting with v2.3.0, you can limit the number of customer purchases for which an affiliate receives a commission; see Purchases Per Cookie for more information.

Starting with v3.0.0, your affiliates can choose their method of commission-payment, either Check/Money Order or (optionally) via PayPal® to their PayPal account email address. Refer to Commission Payment Types for more information.

Customer Interfaces

An Affiliate Program link is added to the Information sidebox to point people to the referrer_signup page, if enabled by the plugin's configuration settings.

Note: If your store doesn't use the information sidebox, you can add PHP code to your alternate menu structure to create the "Referrer Signup" link. Here's the code used in the sidebox to add the link; you'll need to change the $information[] variable to match your menu's structure:

  if (SNAP_INFORMATION_SIDEBOX === 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_REFERRER_SIGNUP, '', 'SSL'). '">' . BOX_INFORMATION_REFERRER_TERMS . '</a>';
  }

My Account Information Page: account

A new group (Referral Program) is added with the following links:

  1. Sign Me Up Today. This link is displayed only if the customer has not yet enrolled in your affiliate program and provides a link to the referrer_signup page.
  2. Orders and Payments. This link is displayed only if the customer has enrolled in, been approved for and is not currently banned from your affiliate program, providing a link to the referrer_main page.
  3. Affiliate Marketing Tools. This link is displayed only if the customer has enrolled in, been approved for and is not currently banned from your affiliate program, providing a link to the referrer_tools page.

Affiliate Signup Page: referrer_signup

This page operates differently based on whether or not the customer has previously signed up for your program. If the customer has not signed up, a form is presented allowing the customer to enter the website address from which they intend to link to your site with their affiliate key followed by your affiliate program's terms and conditions. Otherwise, if the page is invoked with the terms variable (e.g. www.mysite.com/index.php?main_page=referrer_signup&terms) your affiliate program's terms and conditions will be displayed; otherwise, the page redirects to referrer_main page.

Affiliate Main Page: referrer_main

This page operates differently based on whether the customer has previously signed up for your program and, if so, their current approval/banned status. If the customer has not signed up, this page redirects to the referrer_signup page. Otherwise, if either the customer is not yet approved or has been banned from the program, this page displays a message indicating that their submission is in the approval process. Finally, if the customer has signed up, is approved and is not banned, this page displays three sections:

  1. My Referrer Information. Displays the customer's affiliate key, last payment date and current commission rate.
  2. Sales Summary. Displays the current sales and unpaid commission and their year-to-date sales and commission.
  3. Commission-Payment Activity. Displays a form that the customer can use to search a specific time period for commission payments; details are displayed for commission payments that occurred within the selected timeframe.

Note: Affiliate sales and associated commissions are not shown for orders with an "Orders Status" value that falls in the list of Orders Status Exclusions specified by your admin.

Affiliate Marketing Tools: referrer_tools

This page only displays if a customer is signed in (redirecting to the login page otherwise), has applied (redirects to referrer_signup if not) and been approved for an affiliate account and is not currently banned, redirecting to referrer_main for either of these conditions. If the page displays, it shows either two or three sections:

  1. Site Link. Displays a text-area box that includes an HTML anchor link to your home page that includes the affiliate's key value. The affiliate can copy this HTML to include on their page that links back to you.
  2. Deep Link Generator. Displays an input field where the affiliate can enter (or paste) a link to a specific page on your site (e.g. a specific product) and then click the Transform button to add their affiliate key value to the link.
  3. Banners. If you have created and configured some Affiliate Program Images, this section displays each of those images along with a textarea box that includes a home-page link to your store using that image and the affiliate's key.

Zen Cart Admin Interfaces

The first time you start your Zen Cart admin after copying this plugins files to your installation, the plugin's initialization file runs. That file creates the database tables named commission and referrers, including your DB_PREFIX value, creates the settings for the plugin's configuration and creates the database settings to allow the display of Configuration->Affiliate Program and Customers->Referrers.

Configuration->Affiliate Program

As installed, the configuration screen for your affiliate program looks like the following.

Configuration screenshot

The following configuration values allow you to customize your affiliate program:

Module Version
Displays the currently-installed configuration version of the plugin, one of:
Default Commission
Contains the default commission rate for your affiliates. The value is specified as a floating-point value in the range 0.0 to 1.0 and represents the percentage that an affiliate will receive if a customer makes a purchase from your store using their referral code. (Default: 0.1 — 10%)
Order Total Exclusions
Contains a comma-separated, packed list (i.e. no intervening blanks) of "Order Total" classes to which the default commission does not apply. The default value ot_shipping,ot_tax results in no commission being given for shipping- and tax-related items.
Affiliate Key Prefix
Identifies the character prefix used to create affiliate key values, identifying a specific affiliate. Once you've started your affiliate program, don't change this value or existing affiliates will no longer be recognized! (Default: CNWR_).
Send Affiliate Emails To
Identify the admin-level email address to which all affiliate-related emails are sent. Emails are generated during affiliate signup (the referrer_signup page) and within your admin when an affiliate is either authorized, banned or paid.
Affiliate Program Images
Images that you use for your affiliate program reside in your store's /images/referrers directory (created as part of the install). Each file's name matches the template ref*.ww.hh.ext where ww is the pixel-width, hh is the pixel-height and ext is the file extension (usually gif or jpg) of the image.

You identify your images to the plugin by entering this information into a fixed template: /ww,hh,ext/[ww,hh,ext/…]. If, for example, you have two banner image files (ref.60.80.gif and ref.120.60.jpg), you will enter /60,80,gif/120,60,jpg/ into this field. If you have multiple images of the same size and filetype, their filenames must start with ref, with any suffix you like appended — e.g. ref_1.60.80.gif and ref_2.60.80.gif.
Include in Information Sidebox?
This true/false switch identifies whether or not an Our Affiliate Program link appears in your store's "Information" sidebox. (Default: false)
Affiliate Display Count
Specifies the maximum number of affiliates to display on each page of your admin's Customers->Referrers. (Default: 50)
Allow Self-Commissions
Identifies whether ('true') or not ('false') an affiliate receives a commission on purchases made from their store account using their affiliate key. (Default: 'false')
Orders Status Exclusions
Contains a comma-separated, packed list (i.e. no intervening blanks) of "Orders Status" ID values that should not receive a commission. For example, the order status value of "Pending" is associated with an Orders Status ID of 1; if you want to exclude Pending orders from receiving a commission, you would enter 1 in this field. (Default: blank)
Cookie Lifetime
Specifies the lifetime, in seconds, of the cookie that is set when a customer enters your store via an affiliate's link. As long as this cookie is set in the customer's browser cache, the affiliate (if approved and not banned) will receive a commission for all purchases made by the customer. (Default: 31536000 — 60*60*24*365 seconds)
Purchases Per Cookie
Allows you to choose the number of purchases that a customer can make on a single affiliate cookie, either All or One. If you choose All, then all purchases by the customer within the "Cookie Lifetime" will result in a commission to the associated affiliate. If you choose One, the customer's affiliate cookie is deleted upon completion of their first purchase within the affiliate cookie's lifetime. (Default: All)
Combine Exclusions on Referrers Page?
If your store has a number of Order Status Exclusions, the display on a Customers->Referrers details page can get overwhelming. To combine the "Order Total" and "Commission Total" values associated with all the Order Status Exclusions into a single column, choose Yes. Choose No to display every "Order Status" value in a separate column. (Default: No)
Enable PayPal® Commission Payment Method?
Starting with v3.0.0, you can allow your affiliate customers to choose their method of payment. Since not all Zen Cart shops use PayPal (and might not have a PayPal account), this commission payment-method must be enabled to show to your customers. Refer to Commission Payment Methods for more details. (Default: No)

Customers->Referrers

This tool allows you to administer your affiliate program participants.

Customers / Referrers Main Screen

The first screen (see above) shows a summary of participants (the number per page is controlled by a configuration switch) and, clicking on the "Details" button, will show (within the "Order History" group) a list of orders in your store that are associated with the selected affiliate.

Customers / Referrers Details Screen

Within the "Status" group, you can:

Starting with v2.3.0, each item in the "Order History" group includes the ID value associated with a commissioned order, with a link to the associated order's details. Similarly, each commissioned order within the admin's Customers->Orders is identified by an icon with a link-back to the referrer's details page.

Beginning with v2.7.0, the following screen is shown when you click the Pay button from the affiliate's details screen. You can select, from the currently unpaid but commissionable orders, which commissions to pay and, if needed by your business practices, modify the commission amount paid from the calculated default.

Customers / Referrers Pay

Commission Payment Types

Starting with v3.0.0 of the plugin, your referrers can choose their method of payment type. The Check/Money-order type is enabled automatically and, if your store has a PayPal® account, you can enable your customers to choose to be paid via PayPal, too!

You can change a customer's commission payment-type within their "details" page from the Customers->Referrers tool and the customer can also change their payment-type via link from their referrer_main page. Each commission payment made now includes an indication of the commission payment-type.

Note: The PayPal payment type is not an automatic method of payment! You'll need to sign into your PayPal account and "Send Money" to each of your referrers who have chosen to be paid via PayPal.

Installation

Starting with v2.3.0, there are core-file overwrites in this plugin; you should always backup your cart’s database and files prior to making any changes. The files identified using this color are part of the "Common Orders-Status Update" interface and are subject to separate change!

  1. Backup both your Zen Cart installation and database — this plugin will will modify both.
  2. Double-check the backup you just created. Better safe than sorry!
  3. Unzip the plugin's distribution zip-file into a temporary directory. Rename the "YOUR_TEMPLATE" directories (5 of them) to match your custom template’s name:
    1. /includes/languages/english/extra_definitions/YOUR_TEMPLATE
    2. /includes/languages/english/html_includes/YOUR_TEMPLATE
    3. /includes/languages/english/YOUR_TEMPLATE
    4. /includes/modules/sideboxes/YOUR_TEMPLATE
    5. /includes/templates/YOUR_TEMPLATE
    and the "YOUR_ADMIN" directory to match your renamed admin folder.
  4. Your best approach for installing any new software is to use a local copy for your testing before deploying the changes to your live store. If you must install this directly on your live store, put your store into Maintenance Mode using your admin's Configuration->Maintenance Mode->Down for Maintenance setting, first. You'll then either copy the files to your local installation or use your FTP/SFTP program to copy the files to your hosted store.
  5. Check to see if your installation has made previous changes to each of these core-files. If not, copy the file; otherwise, use file-merging software (like WinMerge or Beyond Compare) to merge this plugin's changes into the file prior to copying:
    1. /YOUR_ADMIN/orders.php — changed/added lines are marked with comments that include the phrase snap_affiliates.
    2. /YOUR_ADMIN/includes/languages/english/orders.php — added lines are marked with comments that include the phrase snap_affiliates.
  6. Check to see if your installation already has the following template-override files. If a file is not present, copy the file; otherwise, use file-merging software to merge this plugin's changes into the file prior to copying:
    1. /includes/languages/english/YOUR_TEMPLATE/account.php
    2. /includes/modules/sideboxes/YOUR_TEMPLATE/information.php
    3. /includes/templates/YOUR_TEMPLATE/templates/tpl_account_default.php
  7. All the remaining files are specific to this plugin and can simply be copied:
    1. /images/referrers
    2. /includes/auto_loaders/config.snap.php
    3. /includes/classes/observers/class.snap_order_observer.php
    4. /includes/extra_datafiles/snap_file_database_names.php
    5. /includes/functions/extra_functions/osh_updated_by_functions.php
    6. /includes/init_includes/init_snap.php
    7. /includes/languages/english/extra_definitions/YOUR_TEMPLATE/snap_affiliates.php
    8. /includes/languages/english/html_includes/define_referral_terms.php
    9. /includes/languages/english/html_includes/define_referral_tools.php
    10. /includes/languages/english/html_includes/YOUR_TEMPLATE/define_referral_terms.php
    11. /includes/languages/english/html_includes/YOUR_TEMPLATE/define_referral_tools.php
    12. /includes/languages/english/YOUR_TEMPLATE/referral_edit.php
    13. /includes/languages/english/YOUR_TEMPLATE/referral_main.php
    14. /includes/languages/english/YOUR_TEMPLATE/referral_signup.php
    15. /includes/languages/english/YOUR_TEMPLATE/referral_tools.php
    16. /includes/modules/pages/account/header_php_referrals.php
    17. /includes/modules/pages/referrer_edit/header_php.php
    18. /includes/modules/pages/referrer_edit/jscript_show_hide.php
    19. /includes/modules/pages/referrer_edit/on_load_main.js
    20. /includes/modules/pages/referral_main/header_php.php
    21. /includes/modules/pages/referral_signup/header_php.php
    22. /includes/modules/pages/referral_tools/header_php.php
    23. /includes/modules/pages/referral_tools/jscript_tools.php
    24. /includes/templates/YOUR_TEMPLATE/css/referral_main.css
    25. /includes/templates/YOUR_TEMPLATE/css/referral_tools.css
    26. /includes/templates/YOUR_TEMPLATE/css/stylesheet_referrers.css
    27. /includes/templates/YOUR_TEMPLATE/templates/tp;_referrer_edit_default.php
    28. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_main_default.php
    29. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_signup_default.php
    30. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_tools_default.php
    31. /YOUR_ADMIN/referrers.php
    32. /YOUR_ADMIN/images/icons/cash.jpg
    33. /YOUR_ADMIN/includes/auto_loaders/config.zc154_compatibility.php
    34. /YOUR_ADMIN/includes/extra_datafiles/referrers_filenames.php
    35. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
    36. /YOUR_ADMIN/includes/functions/extra_functions/osh_updated_by_admin_functions.php
    37. /YOUR_ADMIN/includes/functions/extra_functions/referrers_functions.php
    38. /YOUR_ADMIN/includes/init_includes/init_zc154_compatibility.php
    39. /YOUR_ADMIN/includes/languages/english/referrers.php
    40. /YOUR_ADMIN/includes/languages/english/osh_updated_by.php
    41. /YOUR_ADMIN/includes/languages/english/extra_definitions/referrers_info.php
    42. /YOUR_ADMIN/includes/languages/english/extra_definitions/referrers_name.php
  8. Sign onto your Zen Cart admin to cause the automatic database updates to be performed for the plugin. Use your admin's Configuration->Affiliate Program to set the values for your store.
  9. Take your store out of "Maintenance Mode".

Version History:

This plugin is based on v1.0.2.1 of the Snap Affiliates add-on developed for the 1.3.x versions of Zen Cart®, but this version (v2.0.0 and later) has been modified for v1.5.0 and later only.

Upgrading from a Previous Version

Following are my suggestions if you are upgrading to this version from a previous version of this plugin:

File/Database Changes by Version

Legend for the File Changes: Changed — AddedRemoved

Version Files Changes Database Changes
v2.1.0
  1. /includes/classes/observers/class.snap_order_observer.php
  2. /includes/modules/pages/referral_main/header_php.php
  3. /YOUR_ADMIN/referrers.php
  4. /YOUR_ADMIN/includes/extra_datafiles/referrers_filenames.php
  5. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  6. /YOUR_ADMIN/includes/languages/english/referrers.php
  1. Added Affiliate Display Count, Allow Self-Commissions and Orders Status Exclusions settings.
v2.1.1
  1. /includes/modules/pages/referrer_tools/jscript_tools.php
  2. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_tools_default.php

None

v2.1.2a
  1. /includes/init_includes/init_snap.php
  2. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  1. Corrected processing for the admin auto-config. This version provides the "cleanup" required for the coding error in the previous version. No new database values were introduced.
v2.2.0
  1. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  1. Added Cookie Lifetime configuration setting.
v2.3.0
  1. /includes/classes/observers/class.snap_order_observer.php
  2. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_tools_default.php
  3. /YOUR_ADMIN/orders.php (added)
  4. /YOUR_ADMIN/referrers.php
  5. /YOUR_ADMIN/images/icons/cash.jpg
  6. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  7. /YOUR_ADMIN/includes/functions/extra_functions/referrers_functions.php
  8. /YOUR_ADMIN/includes/languages/english/referrers.php
  9. /YOUR_ADMIN/includes/languages/english/extra_definitions/referrers_info.php
  10. /YOUR_ADMIN/includes/languages/english/extra_definitions/referrers_name.php
  1. Module Version updated to v2.3.0.
  2. Added Purchases Per Cookie configuration setting.
v2.4.0
  1. /includes/classes/observers/class.snap_order_observer.php
  2. /includes/languages/english/YOUR_TEMPLATE/referrer_edit.php
  3. /includes/modules/pages/referrer_edit/header_php.php
  4. /includes/templates/YOUR_TEMPLATE/tpl_referrer_edit_default.php
  5. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_main_default.php

None

v2.4.1
  1. /YOUR_ADMIN/referrers.php
  2. /YOUR_ADMIN/includes/functions/extra_functions/referrers_functions.php
  3. /YOUR_ADMIN/includes/languages/english/referrers.php

None

v2.5.0
  1. /includes/functions/extra_functions/osh_updated_by_functions.php
  2. /includes/modules/pages/referrer_main/header_php.php
  3. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_main_default.php
  4. /YOUR_ADMIN/orders.php
  5. /YOUR_ADMIN/referrers.php
  6. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  7. /includes/functions/extra_functions/osh_updated_by_admin_functions.php
  8. /YOUR_ADMIN/includes/functions/extra_functions/referrers_functions.php
  9. /YOUR_ADMIN/includes/languages/english/orders.php (added)
  10. /YOUR_ADMIN/includes/languages/english/referrers.php
  11. /YOUR_ADMIN/includes/languages/english/extra_definitions/osh_updated_by.php
  1. Module Version updated to v2.5.0.
  2. Added Combine Exclusions on Referrers Page? configuration setting.
  3. Column updated_by added to the orders_status_history table.
v2.5.1
  1. /includes/modules/pages/referrer_main/header_php.php
  2. /includes/languages/english/YOUR_TEMPLATE/referrer_main.php
  3. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_tools_default.php

None

v2.6.0
  1. /includes/functions/extra_functions/osh_updated_by_functions.php
  2. /includes/modules/sideboxes/YOUR_TEMPLATE/information.php
  3. /YOUR_ADMIN/orders.php

None

v2.6.1
  1. /includes/functions/extra_functions/osh_updated_by_functions.php
  2. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  3. /YOUR_ADMIN/includes/languages/extra_definitions/osh_updated_by.php
  1. Module Version updated to v2.6.1.
  2. Default value for Include in Information Sidebox? changed from true to false.
v2.7.0
  1. /YOUR_ADMIN/referrers.php
  2. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  3. /YOUR_ADMIN/includes/languages/english/referrers.php
  1. Module Version updated to v2.7.0.
  2. Columns commission_id, commission_payment_amount and commission_manual added to the commissions table.
  3. The primary key for this table was changed from commission_orders_id to commission_id.
  4. The commission_manual value is set to 1 if the calculated value of the commission_payment_amount was manually changed during the commission-payment process.
v2.7.1
  1. /includes/templates/YOUR_TEMPLATE/templates/tpl_account_default.php
  2. /YOUR_ADMIN/referrers.php
  3. /YOUR_ADMIN/includes/languages/english/referrers.php

None

v2.7.2
  1. /images/referrers/index.html
  2. /includes/languages/english/YOUR_TEMPLATE/referrer_main.php
  3. /includes/modules/pages/referrer_main/header_php.php
  4. /includes/templates/YOUR_TEMPLATE/tpl_referrer_main_default.php

None

v2.7.3
  1. /YOUR_ADMIN/referrers.php
  2. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  3. /YOUR_ADMIN/includes/languages/english/referrers.php

None

v2.8.0
  1. /YOUR_ADMIN/orders.php
  2. /YOUR_ADMIN/includes/auto_loaders/config.zc154_compatibility.php
  3. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  4. /YOUR_ADMIN/includes/init_includes/init_zc154_compatibility.php

None

v2.8.1
  1. /includes/pages/referrer_tools/header_php.php

None

v2.8.2
  1. /YOUR_ADMIN/referrers.php
  2. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php

None

v3.0.0
  1. /includes/classes/observers/class.snap_order_observer.php
  2. /includes/languages/english/extra_definitions/YOUR_TEMPLATE/snap_affiliates.php
  3. /includes/languages/english/YOUR_TEMPLATE/referrer_edit.php
  4. /includes/languages/english/YOUR_TEMPLATE/referrer_main.php
  5. /includes/modules/pages/referrer_edit/header_php.php
  6. /includes/modules/pages/referrer_edit/jscript_show_hide.php
  7. /includes/modules/pages/referrer_edit/on_load_main.js
  8. /includes/modules/pages/referrer_main/header_php.php
  9. /includes/modules/pages/referrer_tools/header_php.php
  10. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_edit_default.php
  11. /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_main_default.php
  12. /YOUR_ADMIN/referrers.php
  13. /YOUR_ADMIN/includes/functions/extra_functions/init_referrers.php
  14. /YOUR_ADMIN/includes/languages/english/referrers.php
  1. Module Version updated to v3.0.0.
  2. Added configuration setting Enable PayPal® Commission Payment Method?.
  3. Columns commission_payment_type and commission_payment_type_detail added to the commissions table.
  4. Columns referrer_payment_type and referrer_payment_type_detail added to the referrers table.

Un-install

Delete the new catalog and admin files that were previously copied and then run the uninstall_snap.sql file that comes with this plugin.