Every recorded version, newest first, with what changed in each one.
Latest 1.23· Nov 6, 202415 versionsSince Jan 2022
2024 · 1 version
1.23
Latest
1 improvement2 fixes1 security
Improved
Added more template variables, see documentation - (Thanks @GCalToolkit)
Fixed
Fixed warning where $content was undefined in cases. (Thanks @toby-pondr)
Fixed warnings for PHP 8.0+ (Thanks @mircobabini)
Security
Improved security on escaping output within the shortcode output.
2023 · 4 versions
1.22.1
1 fix
Fixed
Fixed an issue where the "Download Sample PDF" would cause a fatal error.
1.22
1 improvement3 fixes
Improved
Added support for Pay By Check Add On email reminders.
Fixed
Fixed an issue where {{billing_address}} wasn't displaying correctly.
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.
1.21
2 improvements
Improved
Reverted the 'pmpropdf_download_all_zip' shortcode that went missing from previous update and neatened it up slightly.
Added a small loading icon when generating the PDF from the Member Orders admin page.
1.20
6 improvements1 fix
Improved
Added new templates: green, blank and split.
Adjusted logic for [pmpropdf_download_list], this now allows logged-in non-members to access past PDF invoices.
Added logic to generate single PDF Invoices from the Paid Memberships Pro Orders admin table.
Added more PDF variables: {{admin_email}}, {{membership_description}} and {{membership_level_confirmation_message}}.
Only show the NGINX nudge message on PMPro dashboard pages.
Added a filter to adjust the DOMPDF object before it's used to generate the PDF: pmpropdf_dompdf_before_render.
Fixed
Fixed an issue when regenerating PDF invoices would give you the current date and not the date of the order.
2022 · 2 versions
1.11
1 improvement1 fix
Improved
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.
Fixed
Fixed an issue where {{invoice_date}} would be set to the current date when regenerating PDF's.
1.10
3 improvements
Improved
Added feature to download a preview of the PDF invoice template created. This uses a dummy order that Paid Memberships Pro provides.
Improved localization for strings that were excluded.
Improved handling of the payment_method label. Automatically detect the frontend label used.
Undated · 8 versions
1.9.1
2 improvements1 fix
Improved
Filter added 'pmpro_should_generate_pdf'. Allows developers to stop generating PDFs for certain cases.
Filter added 'pmpropdf_invoice_table_requires_active_membership'. Restricts PDF invoices table/shortcode to members only. Thanks @mircobabini
Fixed
Bug Fix/Enhancement: Make sure an order exists when generating PDF invoice. Thanks @mircobabini
1.9
6 improvements4 fixes
Improved
Changed custom template storage path to make use of the uploads directory instead (Directory: pmpro-invoice-templates/order.html)
Added automated migration for custom templates from child theme directory to the uploads directory, automatically deletes original
Improved tempalte content retrieval functionality and path generation
Added auto-regeneration when order is updated. Can be controlled by filter
Added option to enabled admin checkout email attachments
Added tool to allow administrators to download a ZIP file of all stored invoices
Fixed
Bug Fix/Enhancement: Auto delete ZIP files once downloaded by end user
Improved date processing for order data, is some cases DateTime constructor would fail, causing invoice generation to fail. Fallbacks in place for this now
Improved error handling in general to improve how gracefully errors are handled during creation of PDF documents
Added Exception/Error catches to the bulk regeneration ajax loop, to be used with graceful error output
1.8
4 improvements1 fix
Improved
Added in a filter to allow changing of the gateway name 'pmpro_pdf_gateway_string'
Localize and escape strings that were missing. @mircobabini
Added new filters 'pmpropdf_can_attach_pdf_email', 'pmpropdf_can_generate_pdf_on_added_order' and 'pmpro_pdf_invoice_name'. @mircobabini
Adjusted the formatting of the {{billing_details}} template. @mircobabini
Fixed
Bug Fix/Enhancement: Get order level when generating templates instead of user's current level. @mircobabini
1.7
6 improvements1 fix
Improved
Added fullscreen template editor
Added custom 'unsaved changes' prompt, removed browser dialog (Still used if custom prompt cannot be shown for any reason)
General improvements to the editor
Added logic to attach invoice PDF's to billable invoice emails (previously: invoice and checkout emails only)
Notice clarity added to the 'generate missing invoice logs'
Added hint text to draw attention to built in templates
Fixed
Fixed an issue where clicking 'Save Template' would sometimes result in 'unsaved changes' confirm dialog to show
1.6
2 improvements1 fix
Improved
General UI/UX improvements.
Support localization/internationalization. Thanks @mircobabini
Fixed
Fixed issue with PDF table. Thakns @mircobabini
1.5
2 new2 improvements1 fix2 changes
New
Added ability to add custom variables to PDF template with a filter `pmpro_pdf_invoice_custom_variables`.
Added filter to adjust prefix of "INV" `pmpro_pdf_invoice_prefix`
Improved
Improvements to the download shortcode table. Thanks @mircobabini
Enhancement to show the order name as the download link. Thanks @mircobabini
Fixed
Fixed issue where recurring invoice emails weren't attaching PDF.
Changes
Generates a PDF whenever an order is added.
Show 15 latest orders for PDF downloads, filterable via `pmpropdf_invoice_table_limit`
1.4
1 fix
Fixed
Resolved bug where custom templates did not store custom CSS changes
1.3
3 new1 fix
New
Added check to remove empty tables rows from custom templates as this causes tables to be misplaced within the DomPDF handler
Added additional placement styles to prevent any divs from being placed where they do not belong
Added a formatter to the save call to improve the readability of the custom template HTML once it has been saved
Fixed
Resolved a bug in DomPDF handler which would cause it to fail when a row does not have a cell present within it
Changelog published by the developer, in their original language.