=== Circular Wealth Partners Postback === Contributors: juremjdd Tags: affiliate, woocommerce, postback, conversion tracking Requires at least: 5.0 Tested up to: 6.8 Version: 1.0.6 Stable tag: 1.0.6 Requires PHP: 7.4 Author: Jure Zadravec, MJ Digital Design Author URI: https://mjdigitaldesign.com License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tracks affiliate conversions by storing transaction IDs from the URL and firing postback URLs on WooCommerce order completion. == Description == This plugin stores affiliate transaction IDs from query parameters and fires a configurable postback URL when WooCommerce orders reach the processing status. It supports triggering by stored transaction ID or by specific coupon codes. == Features == * Stores `transaction_id` for 60 days via IP and browser fingerprint fallbacks * Logs activity to `wp-content/plugins/circular-wealth-partners-postback/debug_log.txt` * Sends postback with order amount, discount percent, and promo code * Admin settings for Advertiser ID and Offer ID == Installation == 1. Upload the plugin folder to `/wp-content/plugins/` 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Go to Settings → Circular Wealth to configure Advertiser ID and Offer ID == Frequently Asked Questions == = Where is the log file? = In the plugin directory: `wp-content/plugins/circular-wealth-partners-postback/debug_log.txt`. = Which order status triggers the postback? = Orders transitioning to Processing. = Which coupon codes trigger the postback if no transaction ID is present? = Currently `cw10` and `circle10` (case-insensitive). == Changelog == = 1.0.2 = * Moved logging to uploads directory * Prefixed all functions, options and transients with `circwepa_` * Sanitized/validated server input usage * Renamed main plugin file to match slug = 1.0 = * Initial release