Version 3.6.1 — October 3, 2024
- Admin: Editing a commission could save the date incorrectly.
- Database: Fixed a possible fatal error when retrieving commissions.
- Reports: A commissions report could ignore a set date range and export all commissions.
Version 3.6.0 — July 9, 2024
- Important: The minimum version requirements for Commissions are now PHP 7.4, WordPress 5.8, and Easy Digital Downloads 3.2.12.
- Checkout: Commissions are now generated (and relevant emails sent) shortly after an order is placed, to speed up the user checkout experience (deferred actions).
- Emails: Updated to integrate with EDD email handling.
- Emails: A new email has been registered to allow stores to send one email per order to all users receiving commissions, rather than one email per commission. Requires EDD 3.3.0.
- Emails: Email tags have been added to show users their total lifetime commissions and current pending/unpaid commissions.
- Multi Currency: Commissions now support multiple currencies when recording and in reports.
- Admin: Commissions are now displayed on the order details screen.
- Admin: The commissions screens have been updated.
- Admin: When manually creating a commission, store owners can choose to not send commission email notifications.
- Admin: When creating a manual order, store owners can choose to not record commissions.
- Admin: The EDD flyout menu links directly to the Commissions docs from Commissions screens.
- Admin: The commissions list table has been updated for consistency with other EDD tables.
- Exports: Generating a payouts file could trigger an error in the AJAX response.
- Exports: Improved performance, management, and protection of export files generated by Commissions.
- Exports: Generating a payouts export has been updated to be more efficient.
- Orders: Notes are no longer recorded when a new commission is recorded (and instead all commissions are available in the Order Details).
- Reports: The Export Commissions report was missing in EDD 3.x.
- Shortcodes: The commissions graph shortcode has been updated to not conflict with default WordPress queries.
- Dev: The custom database table registrations have been updated.
- Dev: The commissions custom post type is no longer registered.
- Dev: The “Instant Pay Commissions” setting has been removed and is no longer available for new PayPal Adaptive Payments users.
- Dev: The
eddc_add_commission
function has been registered to allow users to add a single commission.
Version 3.5.3.1 — December 26, 2022
- Fix: Corrects an issue where commissions were incorrectly calculated when discounts pro was being used.
Version 3.5.3 — November 23, 2022
- New – EDD 3.0+: Reports have been updated to support new EDD 3.0 report views and tiles.
- New – EDD 3.0+: Commission reports can now be filtered by commission status.
- Improvement: Payout file generation performance has been improved.
- Fix: Generating payout files in two different tabs/windows could result in incorrect file generation and amounts.
- Fix: Generating a payout file did not communicate if progress was being made.
- Fix: Deleting a commission from the list table was not properly deleting the commission record.
- Fix – EDD 3.0+: Refunding an order with a commission was not always marking the commission as revoked.
- Dev: The commissions database class now supports querying by the price_id column.
- Dev: The final deliverable package now excludes development packages.
Version 3.5.2 — January 12, 2022
- Fix:
[edd_commissions]
CSV export not respecting selected month and year parameters. - Fix: Frontend Submissions – PayPal Email field no longer visible.
Version 3.5.1 — December 27, 2021
- Fix: constants were not being defined early enough to be used in integrations.
- Fix: Refunded payment notes included broken HTML.
Version 3.5 — December 21, 2021
- New: Introduced a new
[edd_commission_breakdown_table]
shortcode that displays a breakdown of commission and earnings by month within a given year. - New: Added a filter called
eddc_send_commission_email_alert
to theeddc_email_alert()
function to allow conditional disabling. - New: Added action hooks to the
eddc_user_commissions()
function. - Refactor: The admin commissions table has had some UI/UX improvements to be more consistent with WP core layouts.
- Fix: HTML entities not decoded during exports.
- Fix: Deprecation notices in PHP 8.
- Fix: Commissions data in admin area possibly not showing correct currency if a site uses multi currency.
- Dev: Refactor how we check for database upgrades for performance improvements.
- Dev: Document properties in EDD_Commission class for IDE autocomplete.
- Dev: Undefined variable
$from_name
ineddc_email_alert()
. (No actual reported issues, as the code was never triggering.) - Dev: Removed unused
scheduled-payouts.php
andmasspay.php files
. - Dev: Refactor how plugin is loaded & checks for system requirements.
Version 3.4.13 — November 22, 2021
- Fix: Commissions not recorded for subscription renewal payments when they should be.
- Dev: Refactor how
EDD_License
is instantiated.
Version 3.4.12 — July 21, 2021
- Fix: Incorrect commission amount recorded for zero decimal currencies, which could result in confusing totals.
- Fix: Deprecation notices in PHP 8.
- Fix: Remove number formatting on CSV exports. (This caused problems when importing into PayPal Masspay.)
- EDD 3.0: Update hook used for refund logic.
Version 3.4.11 — February 8, 2021
- Fix: Ensure admin setting screens contain a level-one heading.
- Fix: Commissions fields incorrectly appearing in bbPress user edit screen.
- Fix: CSV Commissions Export on
[edd_commissions]
not working with server configurations that enforce a trailing slash. - Tweak: Improve UX when updating a commission (not all changes were triggering the “Update” button appearing).
- Tweak: Update plugin author and URI.
- Tweak: Display an mdash on the admin Commissions table if the associated product name cannot be retrieved.
- Dev: EDD 3.0 compatibility.
- Dev:
EDD_Commission::__set()
not passing correct variables viacall_user_func()
. This could result in the incorrect status being set when trying to change a commission status.
Version 3.4.10 — June 30, 2020
- Fix: When using store commissions API endpoint (as with the iOS app), a fatal error was produced.
Version 3.4.9 — January 20, 2020
- Fix:
update_meta()
method does not save meta. - Fix: Incorrect commission calculation when Discounts Pro is used.
Version 3.4.8 — March 20, 2019
- Fix: Moved Commissions extension to load later on plugins_loaded in preparation for EDD 3.0.
- Fix: No date was being added to manually created commissions when a date was not provided.
- Fix: Manually created commissions had a blank “Payment” column. Added a dash character to bring consistency with WordPress core.
- Fix: The Dashboard widget was not compatible with custom commission statuses.
- Fix: Corrected some issues with PHP 7.2 that caused notices and warnings to be logged.
- New: The commission email settings are now filterable.
- Dev: Add an action hook within class-admin-notices update function.
- Dev: Added more hooks to the user commissions overview templates.
- Dev: Added commission ids to
edd_commissions_process_bulk_action
action hook. - Dev: Added hooks to the Dashboard widget.
Version 3.4.7 — March 4, 2018
- Fix: Migrating commission records from old table to new fails if the payment record has an invalid currency code assigned to it.
Version 3.4.6 — January 12, 2018
- New: Filter added to rates data in Download metabox
- New: Filter added to enable skipping commission creation for a Download
- New: Action hook added to Customer tab
- New: Added
{sitename}
email tag - Fix: Typo and incorrect text domain
Version 3.4.5 — January 1, 2018
- New: Added new action hooks to the user profile fields.
- New: Added new action hooks to the fields in the Download meta box.
- New: Added new filters and actions to the Commissions list table.
Version 3.4.4 — November 30, 2017
- Fix:
{item_price}
email tag shows wrong price when cart contains multiple items. - Fix:
cart_index
not stored properly with new commission records. - New: Added
eddc_calc_commission_amount_args
filter.
Version 3.4.3 — November 16, 2017
- Fix: When exporting commission reports or generating payout files, commissions recorded during the last day of the report would be excluded.
Version 3.4.2 — October 2, 2017
- Fix: Decimal places not supported in commission rates.
- Fix: Email function users improper variable name for user ID.
Version 3.4.1 — September 11, 2017
- Fix: Manually updating could cause custom tables to not be created.