Delete Account - Magento 2 module documentation

Author: Marek Milewski

Delete Account Module

Module overview

Let your customers have a full control over their account. Delete Account module lets them delete account (sensitive data will be anonymised) without any supervision from your worker.

Module compatibility

This module is compatibile with Magento Community versions: 2.2 and 2.3.

How it works

Once installed, you immediately gain access to module features. There are not any settings to be made in an admin panel. To delete account, user should log in and head to the account settings.

Image 2

Account Delete will be located in the navigation tab. Clicking on a button redirects user to the delete account page.

Image 9

Delete My Account button will not delete account immediately, user will be prompt with a confirmation message. Afterwards customer will be alerted, whether the confirmation email was sent.

Image 10

Image 4

To finalise deleting, user should go to their email inbox. Delete confirmation email looks like presented below. After clicking on delete My Account, account will be deleted - all of user sensitive data will be anonymised.

Image 8

Demo

Installation

Composer

  1. Add repo to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:aurora-modules/Deleteaccount.git"
    }
    ...
],
  1. Add package to composer.json:
"require": {
    ...
    "aurora/deleteaccount": "*"
    ...
},
  1. In Magento root folder run commands:
composer update aurora/deleteaccount
php bin/magento module:enable Aurora_Deleteaccount
php bin/magento setup:upgrade

Manual

  1. Unzip archive.
  2. Upload extension files on your server to:
{Magento root}
└── app/
    └── code
  1. In Magento root folder run commands:
php bin/magento module:enable Aurora_Deleteaccount
php bin/magento setup:upgrade

Changelog

v1.2.10

- Update unit tests.

v1.2.9

- Code refactoring - coding standards, type hints.

v1.2.8

- Update composer.json.

v1.2.7

- Deleted user's data anonymization.

v1.2.5

- Getting rid of deprecated methods and classes.
- Code refactoring.

v1.2.4

- Update README.

v1.2.3

- Fix the token sent in the email.

v1.2.2

- Update README.

v1.2.1

- Gitlab CI/CD fixes.
- Update dependencies in composer.json.

No tags

- Module init.

Thank you for your interest in our products!