Releases: Yoohoo-Plugins/pmpro-pdf-invoices
Releases · Yoohoo-Plugins/pmpro-pdf-invoices
1.23 - 2024-11-06
- ENHANCEMENT: Added more template variables, see documentation - https://yoohooplugins.com/documentation/getting-started-with-paid-memberships-pro-pdf-invoices/ (Thanks @GCalToolkit)
- ENHANCEMENT: Added better compatibility for Paid Memberships Pro 3.0+
- BUG FIX: Fixed warning where $content was undefined in cases. (Thanks @toby-pondr)
- BUG FIX: Fixed warnings for PHP 8.0+ (Thanks @mircobabini)
- SECURITY: Improved security on escaping output within the shortcode output.
V1.22.1 - 2023-08-15
- BUG FIX: Fixed an issue where the "Download Sample PDF" was causing a fatal error.
v1.22
- ENHANCEMENT: Added support for Pay By Check Add On email reminders.
- ENHANCEMENT: Improved license checking functionality more often and regularly.
- BUG FIX: Fixed an issue where {{billing_address}} wasn't displaying correctly.
- BUG FIX: Fixed an issue in some cases when saving an order in the admin, would cause the PDF date to show the current date and not the order date.
- BUG FIX/REFACTOR: Fixed an issue where the "Generate PDF" option was not working due to sanitization updates to Paid Memberships Pro orders table.
V1.21 - 2023-03-13
- REFACTOR: Reverted the 'pmpropdf_download_all_zip' shortcode that went missing from previous update and neatened it up slightly.
- ENHANCEMENT: Added a small loading icon when generating the PDF from the Member Orders admin page.
V1.20
- ENHANCEMENT: Added new templates: green, blank and split.
- ENHANCEMENT: Adjusted logic for [pmpropdf_download_list], this now allows logged-in non-members to access past PDF invoices.
- ENHANCEMENT: Added logic to generate single PDF Invoices from the Paid Memberships Pro Orders admin table.
- ENHANCEMENT: Added more PDF variables: {{admin_email}}, {{membership_description}} and {{membership_level_confirmation_message}}.
- ENHANCEMENT: Only show the NGINX nudge message on PMPro dashboard pages.
- ENHANCEMENT: Added a filter to adjust the DOMPDF object before it's used to generate the PDF: pmpropdf_dompdf_before_render.
- BUG FIX: Fixed an issue when regenerating PDF invoices would give you the current date and not the date of the order.
v1.11 - 2022-09-14
- ENHANCEMENT: Added dynamic logic to try and get user_meta from any non-predefined variables. For example, if you have a custom field of "company" you may now pass {{company}} into the PDF to automatically generate the data from this variable.
- BUG FIX: Fixed an issue where {{invoice_date}} would be set to the current date when regenerating PDF's.
V1.10
- ENHANCEMENT: Added feature to download a preview of the PDF invoice template created. This uses a dummy order that Paid Memberships Pro provides.
- ENHANCEMENT: Improved localization for strings that were excluded.
- ENHANCEMENT: Improved handling of the payment_method label. Automatically detect the frontend label used.
V1.9.1
- Enhancement: Filter added 'pmpro_should_generate_pdf'. Allows developers to stop generating PDFs for certain cases.
- Enhancement: Filter added 'pmpropdf_invoice_table_requires_active_membership'. Restricts PDF invoices table/shortcode to members only. Thanks @mircobabini
- Bug Fix/Enhancement: Make sure an order exists when generating PDF invoice. Thanks @mircobabini
V1.9
- Enhancement: Changed custom template storage path to make use of the uploads directory instead (Directory: pmpro-invoice-templates/order.html)
- Enhancement: Added automated migration for custom templates from child theme directory to the uploads directory, automatically deletes original
- Enhancement: Improved template content retrieval functionality and path generation
- Enhancement: Added auto-regeneration when order is updated. Can be controlled by filter
- Enhancement: Added option to enabled admin checkout email attachments
- Enhancement: Added tool to allow administrators to download a ZIP file of all stored invoices
- Bug Fix/Enhancement: Auto delete ZIP files once downloaded by end user
- Bug Fix: Improved date processing for order data, is some cases DateTime constructor would fail, causing invoice generation to fail. Fallbacks in place for this now
- Bug Fix: Improved error handling in general to improve how gracefully errors are handled during creation of PDF documents
- Bug Fix: Added Exception/Error catches to the bulk regeneration ajax loop, to be used with graceful error output
V1.8
- Enhancement: Added in a filter to allow changing of the gateway name 'pmpro_pdf_gateway_string'
- Enhancement: Localize and escape strings that were missing. @mircobabini
- Enhancement: Added new filters 'pmpropdf_can_attach_pdf_email', 'pmpropdf_can_generate_pdf_on_added_order' and 'pmpro_pdf_invoice_name'. @mircobabini
- Enhancement: Adjusted the formatting of the {{billing_details}} template. @mircobabini
- Bug Fix/Enhancement: Get order level when generating templates instead of user's current level. @mircobabini
- Bug Fix: Fixed an issue with license key expiration date output not showing correctly.
- Bug Fix: Fixed issue where Yoohoo Plugins license key wasn't activating correctly.