Type
magento2-module
Magento 2 module to make your store GDPR compatible
magento2-module
GPL-3.0-or-later
None
None
None
None
None
Extension allows customers to delete, anonymize, or export their personal data.
Magento 2 Open Source or Commerce edition.
From Magento 2 root folder run the commands:
composer require flurrybox/enhanced-privacy
php bin/magento module:enable Flurrybox_EnhancedPrivacy
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile
app/code/Flurrybox/EnhancedPrivacy
directoryphp bin/magento module:enable Flurrybox_EnhancedPrivacy
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile
Besides default export entites its possible to implement custom data export such as - customer data saved in custom database tables by 3rd party integrations. When customers will make a request for their personal data export, your class instance will be executed by data export processor and will add new file to data archive.
Flurrybox\EnhancedPrivacy\Api\DataExportInterface
interface.
php
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
...
<type name="Flurrybox\EnhancedPrivacy\Controller\Export\Export">
<arguments>
<argument name="processors" xsi:type="array">
...
<item name="entity_export" xsi:type="object">Vendor\Module\Model\Privacy\EntityExport</item>
...
</argument>
</arguments>
</type>
...
</config>
To delete data thats gathered by 3rd party integrations you can implement your own data processor.
Flurrybox\EnhancedPrivacy\Api\DataDeleteInterface
interface.
php
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
...
<type name="Flurrybox\EnhancedPrivacy\Cron\Schedule">
<arguments>
<argument name="processors" xsi:type="array">
...
<item name="entity_delete" xsi:type="object">Vendor\Module\Model\Privacy\EntityDelete</item>
...
</argument>
</arguments>
</type>
...
</config>
Copyright (c) 2018 Flurrybox, Ltd. under GNU General Public License ("GPL") v3.0