Version 2.5.1
This release contains bug fixes and modest changes.
However, there are some potentially breaking changes to checkout pages and payment methods, please see Important Notes below:
New Payment Methods:
- This release supports the new Paypal Checkout payment method
- The Stripe Elements payment method has also been reworked, to use the ‘Payment’ element, rather than just one that supports card payments alone. Stripe elements now effectively supports the same payment methods that are offered by Stripe Checkout.
Updates
- PHP8 and Bootstrap 5 fixes
- Fixes to utility links (thansk mdius)
- Fix to Option List saving when no values selected (thanks danklassen)
- Include order attributes in the CSV export (thanks danklassen)
- Tidy of way registered assets linked (thanks danklassen)
- Link and typo fixes, multiple fixes and code improvements (thanks mlocati)
- Localization optimizations and fixes (thanks mlocati)
- Fix to not being able to remove product options
- Typo fixes (thanks SB1955)
- Fix to Product Type Filter on filter block
- Dashboard option to enable send purchase event (gtag), plus improvements to make more reliable
- Fixes to tooltip on sales report, fix pagination, add order counts to totals
- Fix to display of quantities in dashboard
- Removal of defunct vendor directory from release
Important Notes:
This release includes some minor, but important changes to the checkout page to better support modern payment methods
If you are upgrading a site and have overridden either:
- single_paages/checkout.php
- js/communityStore.js
you may need to compare your overridden files with the most recent versions, and implement some changes.
In particular, the payment methods are no longer loaded directly into the template, so you will need to remove this section:
63a16f2#diff-18368191207ad97de9e7651891a33e5b3f085f485e92b1f40cc22c2d9d61c7c8L457
And then include a placeholder div:
63a16f2#diff-18368191207ad97de9e7651891a33e5b3f085f485e92b1f40cc22c2d9d61c7c8R457
communityStore.js has a new function, plus a few other changes:
63a16f2#diff-5a727ba5e557301a04eb87a87dbbfa3d936fbdf818d2e791c23b998884f1cb9a
Additionally, it is advised to upgrade to the latest version available for any payment gateway that you are using:
- Stripe Elements - Version 1.1
- Stripe Checkout - Version 1.2
- SumUp - 1.1
- Authorize.Net - 1.1
- Paypal Checkout - 0.9.5
- Paypal Standard 1.2.3
If you are using Paypal Standard, it is recommend (but not essential) to swap to the newer Paypal Checkout payment method, which integrates directly into the checkout.
Other/older payment gateways should continue to work as before, but please test your integrations before deploying live.