Smarter Coupons, Better Analytics & More Control
This update expands coupon management with advanced email campaigns for expired upgrades, more flexible discounts, and detailed analytics. It also improves checkout calculations, subscription renewals, coupon limits, and payment handling.

This is a major update. Please take a full backup before installing it on a production site.
New Features
- Added Coupon Analytics in the ACP with usage statistics, financial reporting, upgrade performance, customer behavior, and engagement insights
- Added Expired Upgrade Coupon Email Campaigns with recipient targeting, assignment strategies, scheduling, and capacity protection
- Added separate Valid and Invalid coupon tabs with additional filtering options
- Added support for coupons on upgrades with customer-defined payment amounts
- Added an option to reserve limited coupon uses while payments are pending (disabled by default)
- Added an option to show a customer page for reviewing and cancelling pending coupon purchases
Bug Fixes
- Fixed discount calculations, currency rounding, decimal amounts, and zero-value coupon handling
- Fixed flat discounts being applied across different currencies by introducing currency-specific flat discount amounts
- Fixed concurrent coupon redemptions exceeding usage limits and coupons being accepted after checkout conditions changed
- Fixed payment processing, free purchases, purchase references, restored payments, and coupon redemption validation
- Fixed 2Checkout payments not granting upgrades when coupon details changed or pending purchases were cancelled
- Fixed subscription renewals, coupon usage statistics, payment tracking, and historical renewal records
- Fixed coupon expiration dates, time zone handling, search filters, pagination, and reporting inconsistencies
- Fixed coupon restrictions being lost when editing coupons linked to disabled payment profiles or deleted upgrades
- Fixed coupon code case sensitivity in ACP searches and checkout, including duplicate codes differing only by letter case
- Fixed expired upgrade coupon campaigns stopping after individual email delivery failures
- Fixed coupon email recipient selection to exclude members who renewed, were refunded or downgraded, or whose upgrades are no longer available
- Fixed coupon emails being sent to banned members, members with unconfirmed email addresses, or members who opted out of staff emails
- Fixed coupon email retries, unsubscribe links, recipient filtering, and batch processing
- Fixed coupon handling and required-coupon settings for custom-priced upgrades
- Fixed various ACP interface, statistics display, and XenForo 2.2 compatibility issues