=== Paid Memberships Pro - WP Affiliate Platform Add On ===
Contributors: strangerstudios
Tags: paid memberships pro, pmpro, membership, affiliates, wp-affiliate-platform
Requires at least: 5.0
Tested up to: 7.1
Stable tag: 1.7.4

Process an affiliate via WP Affiliate Platform after a PMPro checkout.

== Description ==
This plugin requires that both WP Affiliate Platform and Paid Memberships Pro are installed, activated, and configured.

== Installation ==

1. Make sure that WP-Affiliate-Platform is activated and setup correctly.
1. Upload the `pmpro-wp-affiliate-platform` directory to the `/wp-content/plugins/` directory of your site.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. That's it! All orders from affiliates will have their affiliate id tracked in the PMPro order and will kick off conversions in WPAP.

== Frequently Asked Questions ==

= I found a bug in the plugin. =

Please post it in the issues section of GitHub and we'll fix it as soon as we can. Thanks for helping. https://github.com/strangerstudios/pmpro-wp-affiliate-platform/issues

== Changelog ==
= 1.7.4 - 2026-10-01 =
* SECURITY: Improved sanitization and escaping throughout the plugin to resolve Plugin Check security findings. #14 (@dparker1005)
* ENHANCEMENT: The plugin can now be translated. Added translation files and now loading the `pmpro-wp-affiliate-platform` text domain. #15 (@dparker1005)
* BUG FIX: Fixed PHP notices when the affiliate cookie was not set. #14 (@dparker1005)
* BUG FIX: Fixed the Docs link on the Plugins page, which pointed to a page that no longer exists. #15 (@dparker1005)
* REFACTOR: Removed unused cookie fallback code when updating orders. #16 (@dparker1005)

= 1.7.3 - 2023-01-05 =
* ENHANCEMENT: Improved sanitization and escaping.
* BUG FIX: Fixed an issue where emails would not send when Paid Memberships Pro - WP Affiliate Platform Add On installed but WP Affiliate Platform was not/incorrectly configured. (@sc0ttkclark, @jjj)

= 1.7.2 - 2020-04-30 =
* Bug Fix: Check if WP Affiliate Platform is installed and active to avoid fatal errors.

= 1.7.1 =
* BUG: Checking ->subtotal if ->total is not set for an order to make sure the order has a value.

= 1.7 =
* Merged in updates from the WP Affiliate Platform version of this addon v1.6
* Now has support for PayPal Standard and 2Checkout.
* Better handling of recurring orders.

= .3.1.1 =
* Added readme.
* Removed debug code in admin email when non-affiliate checkouts occur.