Notas da versão 2.0.4: 6 novidades 1 melhoria 3 correções
Novidade
- Licenses block and [getpaid_licenses]: items and per_page arguments (per_page -1 shows all), and the getpaid_license_manager_widget_query_args filter; pagination follows the page size and the item filter
- Search on GetPaid > Licenses: part of a license key, a license, invoice, user or customer id, or the customer's email, username or name
- Filter the licenses list by user, customer, item or invoice from the URL, with a notice and a link back to all licenses; the status tabs count within the filter
- Renew a license: a Renew button on licenses that have expired or expire within 7 days (and no subscription is renewing them) opens the item's checkout; paying extends the same license (same key, sites kept) instead of creating a new one
- Links to a customer's licenses: a row action on each license, a Licenses column on GetPaid > Customers, a link in Users and on the user's profile
- Indexes on the licenses table's customer_id and user_id
Melhoria
- A completed subscription only makes its license lifetime when every planned payment was made; a subscription marked completed any other way (e.g. PayPal's end of term for a cancelled or failing subscription) expires its license at the paid-up date. Licenses already made lifetime this way are not changed by the update; review completed subscriptions that were not fully paid - FIXED/SECURITY
Correção
- Changing an invoice's customer left its licenses with the previous user; they now move to the new user (user and customer record, with an invoice note), including licenses on renewal invoices that move with their subscription. Licenses that belonged to someone other than the previous user are left alone
- Filtering licenses by last activation date was ignored, or used the expiry date values instead
- Passing the order as a list to the licenses query caused a fatal error on PHP 8