Compatibility
This version of the plugin is compatible with Shopware 6.7.0.1 - 6.7.11.1
This version of the plugin is compatible with MySQL 8.0 - 8.4
This version of the plugin is compatible with PHP 8.2 - 8.5
Overview
This release adds compatibility with CrefoPay's PayPal Express Checkout, so Endereco's address validation can run alongside it without breaking the express payment. It also improves PayPal Express address handling, restores compatibility with Shopware's B2B Suite, and ships several smaller fixes.
Improvements
Added Compatibility with CrefoPay PayPal Express Checkout
- Issue: Endereco and CrefoPay's PayPal Express Checkout could not be used together. CrefoPay locks the address during express checkout and ties the payment to it, while Endereco needs to validate and, if necessary, correct that address. As a result, validating or correcting an address could cancel the express payment and prevent the order from completing, and CrefoPay's PayPal addresses were not always recognised as such by Endereco.
- Solution: Endereco now detects CrefoPay's PayPal Express addresses, validates them without disrupting the express payment, and only interrupts the express checkout when a real address change is actually required.
- Impact: Endereco and CrefoPay's PayPal Express Checkout can now be used together on the same shop. Please note the unavoidable limitation, which is now also explained in the plugin configuration: only minor corrections can be applied during express checkout. If a real address change is needed, the customer has to complete the order via the regular PayPal checkout, which requires them to log in to PayPal again.
- Reference: DEV-568, DEV-569, DEV-570, DEV-604, DEV-613, DEV-633, DEV-634
Improved PayPal Express Address Handling
- Issue: PayPal Express Checkout places some address data in Shopware's additional address field. If a customer entered their house number there while that field was hidden in the shop configuration, the address check failed for a missing house number and the customer had to correct the address manually.
- Solution: Endereco now also considers the additional address field when determining the house number, so these addresses validate correctly.
- Impact: Affected PayPal Express addresses no longer require manual correction by the customer.
- Reference: DEV-605
Extended PHP and Shopware Compatibility
The plugin now officially supports PHP 8.4 and 8.5 in addition to 8.2 and 8.3, and the QA pipeline was extended to cover the latest Shopware 6.7 patch releases up to 6.7.11.1.
Rebuilt Bundled Frontend Assets
The bundled JavaScript assets were rebuilt with the current build toolchain. No JavaScript or CSS source files were changed.
Bug Fixes
Restored Compatibility with Shopware B2B Suite
With Shopware's B2B Suite active and debug mode enabled, saving an address could raise an error in the storefront. Address updates now carry the information the B2B Suite expects, while remaining backwards compatible. (DEV-582)
Fixed a Template Inheritance Issue
A template path used by the plugin contained a typo. While it caused no visible errors so far, it could lead to a storefront exception in certain template-customisation scenarios. The path has been corrected so template blocks are inherited reliably. (DEV-586)
Migration Notes
For standard installations, this update requires no manual migration steps.
Shops using CrefoPay's PayPal Express Checkout should be aware of the limitation described above: when an address requires a real correction during express checkout, the express session ends and the customer completes the order via the regular PayPal checkout (logging in to PayPal again). If you maintain a custom integration with CrefoPay, please re-verify it after any CrefoPay update.
Update Notes
If you had previously installed the store version of the plugin (installed either through Shopware store, through composer or via upload of EndrecoShopware6ClientStore.zip), then make sure you download and install EndrecoShopware6ClientStore.zip again.
After the upload of plugin zip you must click on "update" in the plugin list for the plugin to execute migrations, especially if the plugin update is a major or feature release (but even patches might contain migrations to clean up something).
Despite very thorough testing, we can hardly predict what other dependencies in form of plugins and custom modifications you have in your shop, so we advise to update in a test environment first to see if the plugin still works as expected before applying the update to production system.