eCommerce Connector for Mautic 7.0.0 [Free Download]

Wanted to flag a fatal error we hit after updating from Mautic 7.2 RC → 7.2 stable (this plugin, v1.2.0, was already installed and working fine on 7.1.3 and on the 7.2 RC — it only broke going from RC to the final 7.2 release):

The service "mautic.integration.ecommerceconnector" has a dependency on a non-existent service "mautic.helper.encryption".

Root cause was on the Mautic core side, not the plugin: in app/bundles/CoreBundle/Config/services.php, EncryptionHelper is registered by class (Mautic\CoreBundle\Helper\EncryptionHelper::class), but the legacy string alias mautic.helper.encryption — still referenced by this plugin’s Config/config.php, and still documented in Mautic’s own plugin-dev tutorials/examples — is missing in 7.2 stable. Other helpers registered the same way, like CookieHelper, keep both the class registration and the alias, so this looks like something that got dropped specifically between the RC and the final 7.2 tag.

Workaround (fixed it without touching the plugin): added the missing alias back manually, right after the EncryptionHelper service definition:

php

$services->alias('mautic.helper.encryption', Mautic\CoreBundle\Helper\EncryptionHelper::class);

Has anyone else seen this appear specifically going from 7.2 RC to 7.2 final? Might be worth a core issue too, since any plugin/integration still using the documented mautic.helper.encryption alias would hit the same thing.