Version 1.9.4 of Paid Memberships Pro is being pushed out shortly. This update includes fixes that could impact sales, and we recommend everyone upgrade as soon as possible. There are two updates in particular to look out for related to our Stripe integration as well as new frontend layouts for improved display across devices.
The included Stripe PHP Library has been updated to the latest version.
While not necessary, after upgrading it is a good idea to log into Stripe to change your API settings to use the latest version of the Stripe API. To do this log into Stripe, click on API in the left sidebar, then click on “Upgrade Available” and follow the directions.
If you don’t see the “Upgrade Available” link, then you are already running on the latest version of the Stripe API. Be sure to test checkouts on your site after making this change. For 72 hours, you’ll be able to roll back to the previous version of the Stripe API if needed.
“Table-free” Frontend Pages for Improved Display on All Devices
In an effort to improve the display and responsive layout of default plugin pages, v1.9.4 of Paid Memberships Pro has migrated to a “table-free” layout for selected frontend pages. Affected pages include those pages using the following shortcodes:
[pmpro_billing]. These pages have been updated to use a div-based HTML layout where possible instead of a table-based layout.
We’ve done our best to make sure this update has minimal impact on all of our users, but if you notice UI issues after performing the update (in particular users with custom checkout templates or CSS styling might be affected), you can use the Table Layout Add On to revert to the table-based layout on your site. Note that if you roll back PMPro entirely, you will lose the benefit of the 30+ other fixes and enhancements included in this update. So using the table pages add on the preferred way to fix any UI issues that come up.
It is also important to note that this add on is meant as a temporary solution while you update your site to make use of the new div-based layout. We will support the plugin for about a year. During that time, be sure to reach out to use with any issues caused by our add ons and code and take time to update your own customizations to work with the new layout.
Add Ons Updated to be “Table-free” and for 1.9.4 Compatibility
Many of our Add Ons have also been updated to use the new div-based layout or other bug fixes included in this update. Those add ons will have updates available as well, so be sure to update all of your PMPro Add Ons with update notices before you update the core Paid Memberships Pro plugin.
Affected Add Ons Include
- Add PayPal Express Option at Checkout
- Auto-Renewal Checkbox on Membership Checkout
- Capture Name and Address for Free Levels or Offsite Gateways
- Donations Add On
- Register Helper: Add Checkout and Profile Fields
- Shipping Address on Membership Checkout
- Sponsored/Group Members
- Vat Tax
How to Update
In terms of number of fixes and enhancements, this is one of our largest updates ever. The full list of updates is below.
pmpro_getMembershipLevelsForUser()would sometimes return duplicate levels in the array if the user had multiple active entries in the
pmpro_getAllLevels()instead of relying on the
$membership_levelsglobal which is problematic.
getfile.phpto support file names with urlencoded characters (e.g. spaces) in them. (Thanks, florent from PMPro blog)
getfile.phpscript due to using add_filter instead of apply_filters in the mimetype class.
up the lines of text.
jsapi.jsfile for use in the reports.
pmpro_discount_codes_per_pagefilter to change the per page limit from 15.
pmpro_report_levelsfilter to let users change levels and order of levels for the