https://github.com/flurrybox/enhanced-privacy
Magento 2 Enhanced Privacy extension for easier compliance with GDPR. Allows customers to delete, anonymize, or export their personal data.
https://github.com/flurrybox/enhanced-privacy
gdpr magento2 magento2-extension magento2-module privacy
Last synced: 5 months ago
JSON representation
Magento 2 Enhanced Privacy extension for easier compliance with GDPR. Allows customers to delete, anonymize, or export their personal data.
- Host: GitHub
- URL: https://github.com/flurrybox/enhanced-privacy
- Owner: flurrybox
- License: gpl-3.0
- Created: 2018-04-09T09:44:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T09:51:09.000Z (almost 7 years ago)
- Last Synced: 2025-09-12T03:21:50.755Z (9 months ago)
- Topics: gdpr, magento2, magento2-extension, magento2-module, privacy
- Language: PHP
- Homepage: https://flurrybox.com
- Size: 94.7 KB
- Stars: 43
- Watchers: 7
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Enhanced Privacy extension for Magento 2
Extension provides easier compliance with GDPR. Allows customers to delete, anonymize, or export their personal data.
View detailed information on [store page](https://flurrybox.com/enhanced-privacy.html).
## Getting Started
### Prerequisites
Magento 2 Open Source (CE) or Commerce edition (EE).
Supported versions: Magento 2.1.6+, 2.2.x
### Installation
#### Composer (recommended)
Commands should be run at the root of your Magento 2 installation.
```
composer require flurrybox/enhanced-privacy
php bin/magento module:enable Flurrybox_EnhancedPrivacy
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
```
#### Copy package files
- Download repository files as ZIP archive
- Extract files to the `app/code/Flurrybox/EnhancedPrivacy` directory
- Run the following commands in Magento 2 root folder:
```
php bin/magento module:enable Flurrybox_EnhancedPrivacy
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
```
### Usage and Features
* Configuration for this module is located in 'Stores > Configuration > Customers > Customer Configuration > Privacy (GDPR)'.
* Account deletion, anonymization, and export can be done in 'My Account > Privacy Settings'.
* Customers can export their data in .zip archive containing .csv files with personal, wishlist, quote, and address data.
* Customer can delete or anonymize their account. Current password and reason is required. Account will be deleted within 1 hour (or as specified in configuration), in this time span its possible for customers to undo deletion.
* If customer has made at least one order, they are ineligible to delete their account, instead it will be anonymized.
* When a customer visits your store for the first time, a popup notification about cookie policy will be shown.
### Export data
Besides default export entites its possible to implement your own custom data export.
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.
1. Create a new class implementing `Flurrybox\EnhancedPrivacy\Api\DataExportInterface` interface.
```php
...
...
...
Vendor\Module\Privacy\Export\Entity
...
...
...
```
### Delete and anonymize data
To delete or anonymize data that's gathered by 3rd party integrations you can implement your own data processor.
1. Create a new class implementing `Flurrybox\EnhancedPrivacy\Api\DataDeleteInterface` interface.
```php
...
...
Vendor\Module\Privacy\Delete\Entity
...
...
```
## Copyrights and License
Copyright (c) 2018 Flurrybox, Ltd. under GNU General Public License ("GPL") v3.0