Black Friday: 30% OFF en todos los planes, aplicado automáticamente en el carrito Ver planes

Paid Memberships Pro PDF Invoices Changelog

Todas las versiones registradas, de la más nueva a la más antigua, con lo que cambió en cada una.

Última 1.23 · 6 nov 202415 versionesDesde ene 2022

2024 · 1 versión

  1. 1.23

    Última
    1 mejora2 correcciones1 de seguridad
    Mejora
    • Added more template variables, see documentation - (Thanks @GCalToolkit)
    Corregido
    • Fixed warning where $content was undefined in cases. (Thanks @toby-pondr)
    • Fixed warnings for PHP 8.0+ (Thanks @mircobabini)
    Seguridad
    • Improved security on escaping output within the shortcode output.

2023 · 4 versiones

  1. 1.22.1

    1 corrección
    Corregido
    • Fixed an issue where the "Download Sample PDF" would cause a fatal error.
  2. 1.22

    1 mejora3 correcciones
    Mejora
    • Added support for Pay By Check Add On email reminders.
    Corregido
    • 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.
  3. 1.21

    2 mejoras
    Mejora
    • 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.
  4. 1.20

    6 mejoras1 corrección
    Mejora
    • 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.
    Corregido
    • Fixed an issue when regenerating PDF invoices would give you the current date and not the date of the order.

2022 · 2 versiones

  1. 1.11

    1 mejora1 corrección
    Mejora
    • 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.
    Corregido
    • Fixed an issue where {{invoice_date}} would be set to the current date when regenerating PDF's.
  2. 1.10

    3 mejoras
    Mejora
    • 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.

Sin fecha · 8 versiones

  1. 1.9.1

    2 mejoras1 corrección
    Mejora
    • 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
    Corregido
    • Bug Fix/Enhancement: Make sure an order exists when generating PDF invoice. Thanks @mircobabini
  2. 1.9

    6 mejoras4 correcciones
    Mejora
    • 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
    Corregido
    • 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
  3. 1.8

    4 mejoras1 corrección
    Mejora
    • 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
    Corregido
    • Bug Fix/Enhancement: Get order level when generating templates instead of user's current level. @mircobabini
  4. 1.7

    6 mejoras1 corrección
    Mejora
    • 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
    Corregido
    • Fixed an issue where clicking 'Save Template' would sometimes result in 'unsaved changes' confirm dialog to show
  5. 1.6

    2 mejoras1 corrección
    Mejora
    • General UI/UX improvements.
    • Support localization/internationalization. Thanks @mircobabini
    Corregido
    • Fixed issue with PDF table. Thakns @mircobabini
  6. 1.5

    2 nuevos2 mejoras1 corrección2 cambios
    Nuevo
    • 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`
    Mejora
    • Improvements to the download shortcode table. Thanks @mircobabini
    • Enhancement to show the order name as the download link. Thanks @mircobabini
    Corregido
    • Fixed issue where recurring invoice emails weren't attaching PDF.
    Cambios
    • Generates a PDF whenever an order is added.
    • Show 15 latest orders for PDF downloads, filterable via `pmpropdf_invoice_table_limit`
  7. 1.4

    1 corrección
    Corregido
    • Resolved bug where custom templates did not store custom CSS changes
  8. 1.3

    3 nuevos1 corrección
    Nuevo
    • 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
    Corregido
    • Resolved a bug in DomPDF handler which would cause it to fail when a row does not have a cell present within it

Changelog publicado por el desarrollador, en su idioma original.